LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-04-2006, 07:19 AM   #1
secret_force
LQ Newbie
 
Registered: Oct 2005
Posts: 28

Rep: Reputation: Disabled
harddisk serial number


I need to know the serial number of my harddisk and I found out that this is the command
hdparm -i /dev/hda
When I type this in the terminal window it says "permission denied".

the Harddisk is Western Digital WD12000BB and I boot Ubuntu by a live CD
What am I doing wrong, or is there maybe an easier way to find the serial.
 
Old 01-04-2006, 07:23 AM   #2
vangelis
Member
 
Registered: Nov 2004
Location: Hellas
Distribution: Zenwalk 6.4
Posts: 337
Blog Entries: 4

Rep: Reputation: 30
maybe you need to run this as root?
 
Old 01-04-2006, 08:03 AM   #3
Kirzzy_Boy
LQ Newbie
 
Registered: Jan 2006
Location: Nürnberg, Germany
Distribution: Ubuntu Breezy 5.10
Posts: 12

Rep: Reputation: 0
What you could do is go to http://support.wdc.com/download/index.asp
Here you will find many tools for the HD. Most of them are available as boot systems for floppy or CD.
Using these tools will give you access to the seriel number and lots more. But pls don't do anything stupid with the drive. It could work out a bit expensive.
 
Old 01-04-2006, 09:14 PM   #4
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
Quote:
Originally Posted by secret_force
I need to know the serial number of my harddisk and I found out that this is the command
hdparm -i /dev/hda
When I type this in the terminal window it says "permission denied".

the Harddisk is Western Digital WD12000BB and I boot Ubuntu by a live CD
What am I doing wrong, or is there maybe an easier way to find the serial.
You must be root.
 
Old 01-05-2006, 04:17 AM   #5
Kirzzy_Boy
LQ Newbie
 
Registered: Jan 2006
Location: Nürnberg, Germany
Distribution: Ubuntu Breezy 5.10
Posts: 12

Rep: Reputation: 0
With ubuntu you need to use the following command

sudo hdparm -i /dev/hda
 
Old 01-05-2006, 09:15 AM   #6
secret_force
LQ Newbie
 
Registered: Oct 2005
Posts: 28

Original Poster
Rep: Reputation: Disabled
sudo hdparm -i /dev/hda

this worked out, thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial number of machine curious+cat AIX 4 12-08-2005 09:39 AM
harddisk case: Serial ATA to USB2.0 bamsesbilledbog Linux - Hardware 1 11-22-2005 05:40 PM
can RHEL- 3 can be installed on the PC having Serial ATA Harddisk Tushar Bhopi Linux - Hardware 2 08-13-2005 07:16 PM
Serial ATA Harddisk ONLY swmok Debian 1 02-08-2004 01:06 AM
Floppy serial number k__ Linux - General 1 06-29-2002 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration