Translating /dev/xxx to Grub hdxxx, yyy

Thomas Zehetbauer thomasz at hostmaster.org
Fri Jul 22 19:28:44 UTC 2005


grub is a boot loader which means that it is running in processor's real
mode before the linux kernel and it's device drivers assign the /dev/*
entries to the hardware devices.

grub's naming therefore corresponds to the interrupt calls provided by
the systems BIOS but unfortunately there is no reliable way to detect
the device order at boot time once the system has started nor the device
names assigned by linux at boot time.

Even worse they may both change depending on the boot device priority
settings in BIOS and the order in which device drivers are loaded in
linux. So everything boils down to black magic which works surprisingly
good.

Tom

-- 
  T h o m a s   Z e h e t b a u e r   ( TZ251 )
  PGP encrypted mail preferred - KeyID 96FFCB89
      finger thomasz at hostmaster.org for key

The three Rs of Microsoft support: Retry, Reboot, Reinstall.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20050722/9c83f6b5/attachment.bin 


More information about the test mailing list