Gnome Find Drive Serial Number

last updated in Categories , , , , , , , ,

How do I find out serial number information for my hard disk under Ubuntu Linux Gnome desktop environment?

You need to use the device manager. It is an application for examining the details of your hardware. You can view or start the device manager by clicking on :

System Menu > Administration > Device Manager 
Fig.01: Ubuntu Linux Device Manager
Fig.01: Ubuntu Linux Device Manager

Select hard disk > Click on Advanced tab to view the details.

Install gnome-device-manager

If you cannot locate Device manger, type the following commands to install the same. Open a terminal and type the following command:
sudo apt-get update
sudo apt-get install gnome-device-manage

hardinfo program

The hardinfo program generate HTML reports on your system’s hardware. It can also benchmark and compare your system. By default the program ‘hardinfo’ is not installed. You can install it by typing the following command at the shell prompt:
sudo apt-get install hardinfo
Type the following command to start hardinfo:

Fig.02: HardInfo in action
Fig.02: HardInfo in action

Command Line Options

Use the hdparm and/or sdparm commands to get serial number information:
sudo sdparm --vendor sea /dev/sda
sudo hdparm -i /dev/hda
sudo hdparm -I /dev/hda

ls /dev/disk/by-id

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

4 comment

  1. also….
    apt-get install lsscsi
    rootlocalhost:~# lsscsi
    [0:0:0:0] disk ATA ST3250310AS 3.AA /dev/sda
    [1:0:0:0] disk ATA ST3250310AS 3.AA /dev/sdb

    Still, have a question? Get help on our forum!