FIXED.
I was pointing at the wrong partition!

On 3 November 2014 02:21, William Harrington <[email protected]> wrote:

>
> > On Nov 2, 2014, at 13:52, Anthony Price <[email protected]> wrote:
> >
> > # Begin /boot/grub/grub.cfg
> > set default=0
> > set timeout=5
> >
> > insmod ext2
> > set root=(hd0,2)
> >
> > menuentry "GNU/Linux, Linux 3.16.2-lfs-7.6" {
> >         linux   /boot/vmlinuz-3.16.2-lfs-7.6 root=/dev/sda2 ro
> > }
> >
> > As seen from the host system, LFS  is on /dev/sda8 which is the second
> partition inside the extended partition sda2
> >
> > Selecting this  form the grub boot menu causes the system to start to
> boot before failing with the message that I  have noted.
> >
> > The first compile of the kernel used default values and I have added a
> couple of things that don't appear to have made any difference.
> >
> > I really am stuck with this now!
> >
> > Anthony.
>
> Hello Anthony,
>
> If indeed your LFS build is in the filesystem at /dev/sda8, then the root=
> parameter for the linux line should be root=/dev/sda8.
>
> set root=(hd0,2) is going to set the root for grub to find its files at
> the first hard drive and second partition filesystem. So if the files you
> need are also at /dev/sda8 for grub to find, then you’d also need “set
> root=(hd0,8)”.
>
> I suspect you may be using the host OS used to build LFS install location
> for the grub files and if that’s at hd0,2 then just deal with root=/dev/sd8
> at the grub’s linux line.
>
> Sincerely,
>
> William Harrington
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to