[lfs-support] Error: invalid file name When Booting For theFirstTime

Bruce Dubbs bruce.dubbs at gmail.com
Sun Nov 24 07:19:15 PST 2013

Alan Feuerbacher wrote:

>> I don't think GRUB has
>> any way to tell what drive it boots from relative to the rest of the
>> system, so it assumes that the drive with the boot track is hd0.
> Interesting. I would consider that a bug, though.

Remember that GRUB is designed to work with a lot of systems including 
BSD, Windows, etc.  It doesn't know what youo intend when you boot.

C:\ is not always the first partition or on the first drive.

   -- Bruce

After all, grub finds
> all the drives and assigns them numbers (hd0), (hd1) etc. I would think
> that it could use the same algorithm as does the software that assigns
> sdX designations. I'm not sure what piece of software assigns "sda",
> "sdb" etc, but SOME piece of software does that in a deterministic way.
> Also, I've read a pile of documentation on grub on the GNU website, and
> found nothing about how grub assigns the numbers aside from stuff like
> "/dev/sda -> (hd0). I think I'll contact the GNU folks about this.
> Alan

More information about the lfs-support mailing list