l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2005 Feb 14 20:23

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] bad partition table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] bad partition table



On Mon, 2005-02-14 at 16:19 -0800, Nick Schmalenberger wrote:

>  The whole geometry issue just confuses me.

As I understand it, you should be able to ignore all this stuff on a
modern linux system with a modern disk. I'm not sure what's causing your
problem, but I can tell you a bit about the different kinds of output
from hdparm:

hdparm -g is what linux thinks programs like fdisk or lilo, which need
to interoperate with the PC BIOS, should take the disk geometry to be.
It probably bears no relation to the physical geometry of the disk, and
it's munged in various ways (for example, "255 heads 63 sectors" is a
conventional way of saying LBA is in use). Very meaningless numbers.
This value isn't used in normal operation with a modern drive.

hdparm -i gives you a lot of information collected directly from the
disk, including what the physical layout of the disk hardware is
("RawCHS"), and what the layout that should be used for traditional
(i.e. non-LBA) addressing on the IDE bus is ("CurCHS").  Neither of
these are used in normal operation with a modern drive, either.

If the drive supports it, linux will put it into LBA mode, and ignore
whatever geometry (mis)information it was given by the BIOS.  If this is
happening (and it should be) you will see "LBA=yes" as part of the
output of hdparm -i, and "/255/63" as part of the output from hdparm -g

-- 
Josh Parsons
Philosophy Department
1238 Social Sciences and Humanities Bldg.
University of California
Davis, CA 95616-8673
USA
 
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.