On Wed, Sep 10, 2014 at 11:15:07AM -0700, Michael Havens wrote:
> On Wed, Sep 10, 2014 at 8:36 AM, Ken Moffat <[email protected]> wrote:
> 
> >
> >  The error is in grub.cfg - I suspect you have not copied the lfs
> > kernel to the debian /boot partition.  So, if the lfs kernel is on
> > sda6 along with the lfs system, try
> >
> >         set root='hd0,6'
> >
> > but ONLY do that in the lfs entry.
> >
> >
> 
> error: invalid filename `set'
> I think I did that wrong: this is the menu entry I tried:
> 
>    menuentry "GNU/Linux, Linux 3.13.3-lfs-7.5" {
>         linux set root='hd0,6'  /boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda6
> ro
>    }
> 
> I think I put the set root.... in the wrong place. I tried moving it to
> another location (after menuentry) but that wasn't right. What to do now?
> 
> 
> :-)~MIKE~(-:

 This is what I am using for the system I have just booted:
menuentry "LFS-7.6-minimal i686 3.16.2 (sda9)" {
        insmod ext2
        set root='hd0,msdos15'
        linux   /vmlinuz-3.16.2-sda9 root=/dev/sda9 ro
}

Again, my insmod is because that is what grub generated, and you
might not need it.  Set goes on a separate line before the linux
command.

FWIW, 'minimal' means no-acl, and possibly omits some other things -
I've already done one by-the-book 7.6 build on x86_64.

ĸen
-- 
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
-- 
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