On 4/22/07, Dan D. <[EMAIL PROTECTED]> 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

change that line to:
kernel /lfskernel-2.6.16.38 root=/dev/hda3

As the path to the kernel is relative to the boot partition. So if you
imagine that $LFS/boot is your root ( / ) partition, then you're grub
files would be at /grub ( = $LFS/boot/grub)


>
> 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?

That is because when the kernel is looking, only the boot partition is
virtually mounted as /, and so your $LFS/boot is / here.

Tijnema
>
> --
> PS: My posts are breaking the threading. :( Can I avoid that?

I don't see any problem ;)
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to