Paul Rogers wrote:

It's not clear what you are doing.  Do you mean:


menuentry "Linux 4.11.0-lfs-20170507-nvidia /dev/sda16" {
    linux /vmlinuz-4.11.0-lfs-20170507-nvidia root=/dev/sda16 ro
}

and edit the linux line?  If so, what is the before and after?

You need to be more specific so we can help you.

Apologies.  Yes, very much like that.  This 7.7 host appends
"video=640x480-16 nomodeset" to the line.  I was trying to stay
close to the pattern that worked.  As I was trying to debug my
X/startx failure (see blfs-support list), it was suggested I
remove the nomodeset bit.  When I backspace-deleted it I got
reliable kernel panics using two different GRUB hosts on this
box.  If I didn't delete that last parameter I didn't.  It
booted without error--other than X still failed.  ;-)  With the
"nomodeset" it does work fine on this 7.7 system on the same
  box, and did from the start.

Doing the same backspace-delete on this 7.7 host doesn't kernel
panic.  I've since rebuilt the offending kernel with as much
careful attention as I know to getting the options as they should
be--using a diff with this 7.7/3.19.8 host as a guide to the
Graphics options--and it hasn't panicked yet.  I'm uneasy "letting
it go", but for now I am and going back to the X problem.  I have
a post to make on the blfs mailing list.

IIRC I think that nomodeset will not allow xorg to start.

I can't address the kernel panic explicitly, but as a debugging technique, try building a vanilla kernel with 'make defconfig' and see if that works. Trying a different kernel is relatively quick and you only need a short entry in grub.cfg. Alternatively, you can skip modifying grub.cfg completely and just hit e at the appropriate entry at boot and edit the name of the kernel to use.

I generally differentiate my kernel names with an entry in

General setup -> Local version
              -> Automatically append version info to the version string

That allows a different set of modules when you run 'make modules_install'

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