LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-11-2010, 08:22 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
dd cannot read hdd track 0?


Hi:
Can dd read cylinder 0, head 0 of the hard disk? It seems as if he can't. When I do
Code:
 dd if=/dev/sda bs=1 | hexdump -C | more
I think it begins with track 1 and not track 0. Thanks.
 
Old 12-11-2010, 08:36 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by stf92 View Post
I think it begins with track 1 and not track 0. Thanks.
What makes you think that?

What you think of heads, cylinders and sectors has little to do with the way the data is stored on a modern (the last 10 years) hard disk drive.
 
Old 12-11-2010, 09:21 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
"What makes you think that?"

I was wrong. When if=/hda, dd reads the LILO boot record, located at track 0, sector 0.

If you read lilo's man page, you'll be able to see sectors can still be addressed by CHS (as well as by LBA, of course). About the actual physical construction I do not know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
secondary hdd read only??? grey_fox Linux - Hardware 11 08-13-2010 06:43 PM
FC3 can't read this Hdd tanm Fedora 2 06-26-2005 09:30 PM
k3b cd copy, can't read multiple track datas, if it's normal ailinzhe Linux - Software 2 12-01-2004 03:51 PM
my dvd is read as hdd and my ide cd-rw is read as scsi??? spyghost Linux - Hardware 11 07-16-2003 04:03 PM
Read only hdd problem! justin9 Linux - Newbie 4 07-11-2003 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:26 AM.

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