Gnome Find Drive Serial Number

Posted on in Categories , , , , , , , , last updated October 3, 2009

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

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

Leave a Comment