On Wed, 2013-12-18 at 14:31 -0600, William Harrington wrote:
> Don't optimize the bootloader. Grub doesn't need optimizations. No > bootloader needs optimization from gcc. You are dealing, also, with > assmebly that the authors write for the target platform. Segfaults > commonly come from grub when using optimizations. Also, may as well > install strace and gdb and debug. > > I write this because grub, in the past has, segfaulted when using -O3 > or -march set, even from before Grub 1. > > Even when using -O3 you can get a "loading grub..." message that > hangs. Rebuild grub without optimizations and return with results. > > SIncerely, > > William Harrington Yup. Don't use optimizations with GRUB :) Turned them off and grub now works from chroot. Still have the init problem from initramfs but that's another story. Thanks...
<<attachment: face-smile.png>>
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page