When setting up grub, it cant find hd0,3
When setting up grub in chapter 8.4 it says to run (inside of grub) root (hd0,3). For me this returns: Error 22: No such partition. According to it, the only partition that exists on hd0 is number 0. In the beginning I set the hdd to what is said in the book, hda1. What i'm wondering is is there any command that you have to do to make the partition table I created a little while ago go into effect?
|
Hi,
hd0,3 is just an example. Assuming you only used one partition (if you only mount $LFS, this is the case. If you also mount for example $LFS/boot, it is not the case) you need to substitute the 3 with the appropriate number. If you used: - sda1 -> hd0,0 - sda2 -> hd0,1 etc The first 0 tells grub it is on the first disk. The second number tells which partition (Mind you: it starts counting from 0, not 1!!). With the info given you probably need to use: root (hd0,0) You also need this in the menu.lst (further on in that chapter). Hope this helps. |
All times are GMT -5. The time now is 05:07 AM. |