On Wed, Mar 9, 2016 at 11:34 AM, Roger Koehler
<[email protected]> wrote:
> On Mar 9, 2016 11:22 AM, "Ken Moffat" <[email protected]> wrote:
>>
>> On Wed, Mar 09, 2016 at 08:48:27AM -0700, Roger Koehler wrote:
>> >
>> > This is very disturbing. I built the 3.16.7 kernel as a baseline using
>> > the
>> > LFS-7.9 tool chain, and it doesn't boot. My grub just sits there, but
>> > when
>> > I load the same kernel built with the LFS-7.6 tool chain, it works fine.
>> > I
>> > built LFS-7.9 using jhalfs with the 3.16.7 headers per Pier's
>> > instructions
>> > in the README.CUSTOM file.
>> >
>> > I guess I'll start with 4.2 and work my way backwards.
>>
>> If *grub* just sits there, that is not a kernel problem - those only
>> start once grub transfers control to the kernel.
>
> So why does it work when I just change the name of the kernel?
>
> $ cat /boot/grub/libreboot_grub.cfg
>
> # Begin /boot/grub/libreboot_grub.cfg
> set default=0
> set timeout=1
>
> insmod ext2
> set root=(ahci0,1)
>
> menuentry "GNU/Linux, Linux 3.16.7-lfs-7.6" {
> linux /vmlinuz-3.16.7-lfs-7.6 root=/dev/sda3 ro quiet
> }
>
> menuentry "GNU/Linux, Linux 3.16.7-lfs-7.9" {
> linux /vmlinuz-3.16.7-lfs-7.9 root=/dev/sda2 ro
> }
To clarify, I just change the bottom line to:
"linux /vmlinuz-3.16.7-lfs-7.6 root=/dev/sda2 ro"
and it runs.
>
> $ ls -l /boot
>
> total 27759
> -rw-r--r-- 1 root root 90034 Mar 7 15:23 config-3.16.7
> -rw-r--r-- 1 root root 90034 Mar 9 08:05 config-3.16.7-lfs-7.9
> -rw-r--r-- 1 root root 98720 Mar 7 15:52 config-4.4.4
> drwxr-xr-x 5 root root 1024 Mar 9 08:10 grub
> drwx------ 2 root root 12288 Feb 5 13:17 lost+found
> -rw-r--r-- 1 root root 3145700 Mar 7 15:23 System.map-3.16.7
> -rw-r--r-- 1 root root 3140905 Mar 9 08:04 System.map-3.16.7-lfs-7.9
> -rw-r--r-- 1 root root 3488326 Mar 7 15:51 System.map-4.4.4
> -rw-r--r-- 1 root root 5958416 Mar 7 15:23 vmlinuz-3.16.7-lfs-7.6
> -rw-r--r-- 1 root root 5969792 Mar 9 08:38 vmlinuz-3.16.7-lfs-7.9
> -rw-r--r-- 1 root root 6427440 Mar 7 15:51 vmlinuz-4.4.4-lfs-7.9
>
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page