Mailinglist Archive: opensuse (4570 mails)

< Previous Next >
Re: [SLE] LILO vs GRUB
  • From: "Carlos E. R." <robin1.listas@xxxxxxxxxx>
  • Date: Thu, 3 Nov 2005 17:54:18 +0000 (UTC)
  • Message-id: <Pine.LNX.4.61.0511031615240.19875@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Thursday 2005-11-03 at 08:06 -0500, Ken Schneider wrote:

> Hence your forth disk would be hdd "d" being the forth letter of the
> alphabet, and it would not be hd0/hda as there is no hd0, there is hda0
> meaning the first partition on the first drive.
> :-)

Don't confuse how humans count things, how the system counts partitions,
and how grub count things. Grub is confusing, because contrary to other
designers, they chose to start to count things from number 0 onwards -
perhaps because in C programming arrays are 0 based and this way the
program saves one step complexity, making it smaller and compact, versus
human readable.

I don't even think they made this choice, but rather the bios designers
made it several years ago. Grub simply uses it. I'd have to check this
out to make sure, though.


So... for grub, (hd0,0) is, normally, hda1. Or more properly said, first
disk, first partition, be it ide, be it scsi.

- --
Cheers,
Carlos Robinson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFDaivCtTMYHG2NR9URAoIHAKCKy/90qy0SG5fbnRMBSx/tOtrcGgCeIWrG
KPBLIqZXovNpdvotrS22/Mw=
=Vio9
-----END PGP SIGNATURE-----


< Previous Next >
Follow Ups