Michael Havens wrote:

okay.... I got the GUI computer going again. So I type in:

    pico /boot/grub/grub.cfg

and the very first lines say:

    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

Ignore that. This is LFS. It's your distro, not Debian's. It is true that if you reload another version of Debian, it will overwrite grub.cfg (instead of asking), so make a backup if you are going to do that.

I inspected the two files it mentions to see if there was an obvious way to
add:

      menuentry "GNU/Linux, Linux 3.13.3-lfs-7.5" {
         linux   /boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
      }

but I didn't see one. (I am thinking I need to change the '/dev/sda2' to
'.../sda6' because that is the partition I put lfs on)

Yes, that's what the book says.

Maybe I should do a boot partition.

Useful, but not necessary. You just need to know which partition grub checks to find grub.cfg.

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