Thank you for the help

GRUB 2 does not find the kernel. More generally, the /mnt/lfs/boot directory
is not seen by GRUB 2.

Also, /dev/sda3 was not mounted on /mnt/lfs when I tried that. /mnt/lfs
a folder on /dev/sda1? The problem is that if I mount /dev/sda3 on /mnt/lfs,
then for some reason I can not see any of the directories in /mnt/lfs from
Kubuntu.

What I just tried was to copy vmlinux-2.6.35.9-lfs-6.7 from /mnt/boot to
/boot and then run update-grub on Kubuntu. This time the kernel was found
and it tried to boot it, proceeded a bit and eventually failed as I was
expecting to happen. The problem has to do with mounting /dev/sda3 on
/mnt/lfs probably. More generally, I do not know whether I should touch
/etc/fstab or /mnt/lfs/etc/fstab or both...

On 9 January 2011 13:42, Andrew Benton <[email protected]> wrote:

> On Sun, 9 Jan 2011 13:34:07 +0000
> Theodore Papamarkou <[email protected]> wrote:
>
> > Hello everyone
> >
> > I have followed the LFS book and installed LFS on my laptop. However, I
> have
> > been trying several days now to boot it and I keep failing.
>
> At what point does booting fail? Does grub find and boot the kernel or
> not? If the kernel boots, what does it say?
>
> >
> > Kubuntu 10.10 is installed on /dev/sda1 and LFS on /dev/sda3.
> >
> > I used GRUB 2 that is installed on /dev/sda1 (the one that ships with
> > Kubuntu 10.10) to boot LFS. However, it did not work. So then, I rebooted
> > and while in grub>, I gave the command
> >
> > "
> > ls (hd0,msdos3)/
> > "
> >
> > which printed out the following:
> >
> > "
> > lost+found sources sys
> > "
> >
> > This apparently means that /boot, as well as the rest of directories in
> > /mnt/lfs, are not mounted. If I boot to Kubuntu and give
> >
> > "
> > ls /mnt/lfs
> > "
> >
> > I get
> >
> > "
> > bin  boot  dev  device.map  etc  home  lib  media  mnt  opt  proc  root
> >  sbin  sources  srv  sys  tmp  usr  var
> > "
>
> Was /dev/sda3 mounted on /mnt/lfs when you tried that or is /mnt/lfs a
> folder on /dev/sda1?
>
> Andy
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
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