Dan D. wrote: > > On Sun Apr 22 16:55 , 'Tijnema !' <[EMAIL PROTECTED]> sent: > >> On 4/22/07, Dan D. [EMAIL PROTECTED]> wrote: >>> Hello! >>> >>> setup (hd0) >>> Checking if "/boot/grup/stage1" exists... no >>> Checking if "/grup/stage1" exists... yes >>> ... >>> >>> is this ok? I don't know, I think it isn't, because the > LFS-Book >>> sais "If all went well, GRUB will have reported finding its > files >>> in /boot/grub." >>> >>> I've mounted >>> /dev/hda1 in $LFS/boot and >>> /dev/hda3 in $LFS >>> >>> There are 3 files in /boot/grup/ >>> e2fs_stage1_5 >>> stage1 >>> stage2 >>> >> It is normal because you have a serperate boot partition, they > path is >> relative to the boot partition. And i guess you mean it found the >> files in /grub? Else i don't know what you did :P > > but there isn't a /grub directory. > > I did: > > root (hd0,0) > setup (hd0) > > /boot/grub/menu.lst contains: > ... > title LFS 6.2 > root (hd0,0) > kernel /boot/lfskernel-2.6.16.38 root=/dev/hda1 > > from hostsystems point of view is there a > /mnt/lfs/etc/grub/menu.lst broken symbolic link > to '/boot/grub/menu.lst' > > in /boot/grub are 4 files now, the new one is menu.lst ;) > > If I try to boot I can choose 'LFS 6.2' but then > ... > kernel /boot/lfskernel-2.6.16.38 root=/dev/hda1 > > Error 15: File not found > > but /boot/lfskernel-2.6.16.38 exists!! > > what's wrong? > > -- > PS: My posts are breaking the threading. :( Can I avoid that? > > > Im www.uni.de Apple Store findet ihr die Palette der Apple Produkte zum > Studentenpreis -- powered by uni.de --
Grub isn't looking in $LFS/boot, it is looking directly at /dev/hda1. Since you have mounted /dev/hda1 on $LFS/boot, you see your files at $LFS/boot/*, but grub sees them at (/dev/hda1)/*. So your menu.lst should have kernel /lfskernel-2.6.26.38 root=/dev/hda3 I hope that makes sense. Joel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
