Sunday, April 29, 2012

Gnome Find Drive Serial Number

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:
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

OR
ls /dev/disk/by-id

No comments:

Post a Comment