• Kernel panic - not syncing: VFS: Unable to mount root fs


    Hello! I’m trying to install two kernels, one being linux-ck and the linux-lts kernel (there’s a bug in the current one for my graphics card)
    My procedure to install these kernels was to install them with pacman and run

    grub-mkconfig -o /boot/grub/grub.cfg
    

    After restarting (loading either kernel) I’d be presented with a kernel panic with the error:
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    My grub.cfg is:

      
      
    \#  
    \# DO NOT EDIT THIS FILE  
    \#  
    \# It is automatically generated by grub-mkconfig using templates  
    \# from /etc/grub.d and settings from /etc/default/grub  
    \#  
      
    \#\#\# BEGIN /etc/grub.d/00\_header \#\#\#  
    insmod part\_gpt  
    insmod part\_msdos  
    if [ -s $prefix/grubenv ]; then  
    load\_env  
    fi  
    if [ "${next\_entry}" ] ; then  
    set default="${next\_entry}"  
    set next\_entry=  
    save\_env next\_entry  
    set boot\_once=true  
    else  
    set default="0"  
    fi  
      
    if [ x"${feature\_menuentry\_id}" = xy ]; then  
    menuentry\_id\_option="--id"  
    else  
    menuentry\_id\_option=""  
    fi  
      
    export menuentry\_id\_option  
      
    if [ "${prev\_saved\_entry}" ]; then  
    set saved\_entry="${prev\_saved\_entry}"  
    save\_env saved\_entry  
    set prev\_saved\_entry=  
    save\_env prev\_saved\_entry  
    set boot\_once=true  
    fi  
      
    function savedefault {  
    if [ -z "${boot\_once}" ]; then  
    saved\_entry="${chosen}"  
    save\_env saved\_entry  
    fi  
    }  
      
    function load\_video {  
    if [ x$feature\_all\_video\_module = xy ]; then  
    insmod all\_video  
    else  
    insmod efi\_gop  
    insmod efi\_uga  
    insmod ieee1275\_fb  
    insmod vbe  
    insmod vga  
    insmod video\_bochs  
    insmod video\_cirrus  
    fi  
    }  
      
    if [ x$feature\_default\_font\_path = xy ] ; then  
    font=unicode  
    else  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    font="/usr/share/grub/unicode.pf2"  
    fi  
      
    if loadfont $font ; then  
    set gfxmode=auto  
    load\_video  
    insmod gfxterm  
    set locale\_dir=$prefix/locale  
    set lang=en\_CA  
    insmod gettext  
    fi  
    terminal\_input console  
    terminal\_output gfxterm  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    insmod gfxmenu  
    loadfont ($root)/boot/grub/themes/Antergos-Default/ascii.pf2  
    loadfont ($root)/boot/grub/themes/Antergos-Default/rlwy14.pf2  
    loadfont ($root)/boot/grub/themes/Antergos-Default/rlwy16.pf2  
    insmod png  
    set theme=($root)/boot/grub/themes/Antergos-Default/theme.txt  
    export theme  
    if [ x$feature\_timeout\_style = xy ] ; then  
    set timeout\_style=menu  
    set timeout=5  
    \# Fallback normal timeout code in case the timeout\_style feature is  
    \# unavailable.  
    else  
    set timeout=5  
    fi  
    \#\#\# END /etc/grub.d/00\_header \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/10\_antergos \#\#\#  
    menuentry 'Antergos Linux, with lts Kernel' --class antergos --class gnu-linux --class gnu --class os $menuentry\_id\_option 'gnulinux-simple-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    load\_video  
    set gfxpayload=keep  
    insmod gzio  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    echo 'Loading lts kernel ...'  
    linux /boot/vmlinuz-linux-lts root=/dev/sda3 rw quiet  
    }  
    submenu 'Advanced options for Antergos Linux' $menuentry\_id\_option 'gnulinux-advanced-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    menuentry 'Antergos Linux, with lts Kernel - Fallback' --class antergos --class gnu-linux --class gnu --class os $menuentry\_id\_option 'gnulinux-simple-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    load\_video  
    set gfxpayload=keep  
    insmod gzio  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    echo 'Loading lts kernel ...'  
    linux /boot/vmlinuz-linux-lts root=/dev/sda3 rw quiet  
    }  
    menuentry 'Antergos Linux, with ck Kernel' --class antergos --class gnu-linux --class gnu --class os $menuentry\_id\_option 'gnulinux-simple-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    load\_video  
    set gfxpayload=keep  
    insmod gzio  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    echo 'Loading ck kernel ...'  
    linux /boot/vmlinuz-linux-ck root=/dev/sda3 rw quiet  
    }  
    menuentry 'Antergos Linux - Fallback' --class antergos --class gnu-linux --class gnu --class os $menuentry\_id\_option 'gnulinux-simple-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    load\_video  
    set gfxpayload=keep  
    insmod gzio  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    echo 'Loading linux kernel ...'  
    linux /boot/vmlinuz-linux root=UUID=7ccc907c-5dea-4f4f-b3b9-e8919289c842 rw quiet  
    echo 'Loading initial ramdisk ...'  
    initrd /boot/initramfs-linux.img  
    }  
    }  
      
    \#\#\# END /etc/grub.d/10\_antergos \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/20\_linux\_xen \#\#\#  
    \#\#\# END /etc/grub.d/20\_linux\_xen \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/30\_os-prober \#\#\#  
    menuentry 'Manjaro Linux (0.8.10) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-simple-8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-315-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-315-x86\_64.img  
    }  
    submenu 'Advanced options for Manjaro Linux (0.8.10) (on /dev/sda1)' $menuentry\_id\_option 'osprober-gnulinux-advanced-8463f600-0919-47c1-84ab-056df7c51c71' {  
    menuentry 'Manjaro Linux (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-315-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-315-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-315-x86\_64.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.15.8-1-MANJARO x64) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-315-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-315-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-315-x86\_64.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.15.8-1-MANJARO x64 - fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-315-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-315-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-315-x86\_64-fallback.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.14.15-1-MANJARO x64) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-314-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-314-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-314-x86\_64.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.14.15-1-MANJARO x64 - fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-314-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-314-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-314-x86\_64-fallback.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.12.26-1-MANJARO x64) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-312-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-312-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-312-x86\_64.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.12.26-1-MANJARO x64 - fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-312-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-312-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-312-x86\_64-fallback.img  
    }  
    }  
      
    \#\#\# END /etc/grub.d/30\_os-prober \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/40\_custom \#\#\#  
    \# This file provides an easy way to add custom menu entries. Simply type the  
    \# menu entries you want to add after this comment. Be careful not to change  
    \# the 'exec tail' line above.  
    \#\#\# END /etc/grub.d/40\_custom \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/41\_custom \#\#\#  
    if [ -f ${config\_directory}/custom.cfg ]; then  
    source ${config\_directory}/custom.cfg  
    elif [ -z "${config\_directory}" -a -f $prefix/custom.cfg ]; then  
    source $prefix/custom.cfg;  
    fi  
    \#\#\# END /etc/grub.d/41\_custom \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/60\_memtest86+ \#\#\#  
    \#\#\# END /etc/grub.d/60\_memtest86+ \#\#\#  
      
    
    

    My lsblk:

      
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT  
    sda 8:0 0 232.9G 0 disk   
    ├─sda1 8:1 0 180.9G 0 part   
    ├─sda2 8:2 0 2.8G 0 part [SWAP]  
    └─sda3 8:3 0 49.2G 0 part /  
    sr0 11:0 1 1024M 0 rom   
    
    

    Manjaro on sda1, swap on sda2, and antergos on sda3
    Thank you!

  • Hello! I’m trying to install two kernels, one being linux-ck and the linux-lts kernel (there’s a bug in the current one for my graphics card)
    My procedure to install these kernels was to install them with pacman and run

    grub-mkconfig -o /boot/grub/grub.cfg
    

    After restarting (loading either kernel) I’d be presented with a kernel panic with the error:
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    My grub.cfg is:

      
      
    \#  
    \# DO NOT EDIT THIS FILE  
    \#  
    \# It is automatically generated by grub-mkconfig using templates  
    \# from /etc/grub.d and settings from /etc/default/grub  
    \#  
      
    \#\#\# BEGIN /etc/grub.d/00\_header \#\#\#  
    insmod part\_gpt  
    insmod part\_msdos  
    if [ -s $prefix/grubenv ]; then  
    load\_env  
    fi  
    if [ "${next\_entry}" ] ; then  
    set default="${next\_entry}"  
    set next\_entry=  
    save\_env next\_entry  
    set boot\_once=true  
    else  
    set default="0"  
    fi  
      
    if [ x"${feature\_menuentry\_id}" = xy ]; then  
    menuentry\_id\_option="--id"  
    else  
    menuentry\_id\_option=""  
    fi  
      
    export menuentry\_id\_option  
      
    if [ "${prev\_saved\_entry}" ]; then  
    set saved\_entry="${prev\_saved\_entry}"  
    save\_env saved\_entry  
    set prev\_saved\_entry=  
    save\_env prev\_saved\_entry  
    set boot\_once=true  
    fi  
      
    function savedefault {  
    if [ -z "${boot\_once}" ]; then  
    saved\_entry="${chosen}"  
    save\_env saved\_entry  
    fi  
    }  
      
    function load\_video {  
    if [ x$feature\_all\_video\_module = xy ]; then  
    insmod all\_video  
    else  
    insmod efi\_gop  
    insmod efi\_uga  
    insmod ieee1275\_fb  
    insmod vbe  
    insmod vga  
    insmod video\_bochs  
    insmod video\_cirrus  
    fi  
    }  
      
    if [ x$feature\_default\_font\_path = xy ] ; then  
    font=unicode  
    else  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    font="/usr/share/grub/unicode.pf2"  
    fi  
      
    if loadfont $font ; then  
    set gfxmode=auto  
    load\_video  
    insmod gfxterm  
    set locale\_dir=$prefix/locale  
    set lang=en\_CA  
    insmod gettext  
    fi  
    terminal\_input console  
    terminal\_output gfxterm  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    insmod gfxmenu  
    loadfont ($root)/boot/grub/themes/Antergos-Default/ascii.pf2  
    loadfont ($root)/boot/grub/themes/Antergos-Default/rlwy14.pf2  
    loadfont ($root)/boot/grub/themes/Antergos-Default/rlwy16.pf2  
    insmod png  
    set theme=($root)/boot/grub/themes/Antergos-Default/theme.txt  
    export theme  
    if [ x$feature\_timeout\_style = xy ] ; then  
    set timeout\_style=menu  
    set timeout=5  
    \# Fallback normal timeout code in case the timeout\_style feature is  
    \# unavailable.  
    else  
    set timeout=5  
    fi  
    \#\#\# END /etc/grub.d/00\_header \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/10\_antergos \#\#\#  
    menuentry 'Antergos Linux, with lts Kernel' --class antergos --class gnu-linux --class gnu --class os $menuentry\_id\_option 'gnulinux-simple-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    load\_video  
    set gfxpayload=keep  
    insmod gzio  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    echo 'Loading lts kernel ...'  
    linux /boot/vmlinuz-linux-lts root=/dev/sda3 rw quiet  
    }  
    submenu 'Advanced options for Antergos Linux' $menuentry\_id\_option 'gnulinux-advanced-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    menuentry 'Antergos Linux, with lts Kernel - Fallback' --class antergos --class gnu-linux --class gnu --class os $menuentry\_id\_option 'gnulinux-simple-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    load\_video  
    set gfxpayload=keep  
    insmod gzio  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    echo 'Loading lts kernel ...'  
    linux /boot/vmlinuz-linux-lts root=/dev/sda3 rw quiet  
    }  
    menuentry 'Antergos Linux, with ck Kernel' --class antergos --class gnu-linux --class gnu --class os $menuentry\_id\_option 'gnulinux-simple-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    load\_video  
    set gfxpayload=keep  
    insmod gzio  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    echo 'Loading ck kernel ...'  
    linux /boot/vmlinuz-linux-ck root=/dev/sda3 rw quiet  
    }  
    menuentry 'Antergos Linux - Fallback' --class antergos --class gnu-linux --class gnu --class os $menuentry\_id\_option 'gnulinux-simple-7ccc907c-5dea-4f4f-b3b9-e8919289c842' {  
    load\_video  
    set gfxpayload=keep  
    insmod gzio  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos3'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    else  
    search --no-floppy --fs-uuid --set=root 7ccc907c-5dea-4f4f-b3b9-e8919289c842  
    fi  
    echo 'Loading linux kernel ...'  
    linux /boot/vmlinuz-linux root=UUID=7ccc907c-5dea-4f4f-b3b9-e8919289c842 rw quiet  
    echo 'Loading initial ramdisk ...'  
    initrd /boot/initramfs-linux.img  
    }  
    }  
      
    \#\#\# END /etc/grub.d/10\_antergos \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/20\_linux\_xen \#\#\#  
    \#\#\# END /etc/grub.d/20\_linux\_xen \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/30\_os-prober \#\#\#  
    menuentry 'Manjaro Linux (0.8.10) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-simple-8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-315-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-315-x86\_64.img  
    }  
    submenu 'Advanced options for Manjaro Linux (0.8.10) (on /dev/sda1)' $menuentry\_id\_option 'osprober-gnulinux-advanced-8463f600-0919-47c1-84ab-056df7c51c71' {  
    menuentry 'Manjaro Linux (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-315-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-315-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-315-x86\_64.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.15.8-1-MANJARO x64) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-315-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-315-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-315-x86\_64.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.15.8-1-MANJARO x64 - fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-315-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-315-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-315-x86\_64-fallback.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.14.15-1-MANJARO x64) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-314-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-314-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-314-x86\_64.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.14.15-1-MANJARO x64 - fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-314-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-314-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-314-x86\_64-fallback.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.12.26-1-MANJARO x64) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-312-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-312-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-312-x86\_64.img  
    }  
    menuentry 'Manjaro Linux (Kernel 3.12.26-1-MANJARO x64 - fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry\_id\_option 'osprober-gnulinux-/boot/vmlinuz-312-x86\_64--8463f600-0919-47c1-84ab-056df7c51c71' {  
    insmod part\_msdos  
    insmod ext2  
    set root='hd0,msdos1'  
    if [ x$feature\_platform\_search\_hint = xy ]; then  
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8463f600-0919-47c1-84ab-056df7c51c71  
    else  
    search --no-floppy --fs-uuid --set=root 8463f600-0919-47c1-84ab-056df7c51c71  
    fi  
    linux /boot/vmlinuz-312-x86\_64 root=UUID=8463f600-0919-47c1-84ab-056df7c51c71 rw resume=UUID=6e2b6017-73ec-421d-8d54-c832484965de  
    initrd /boot/initramfs-312-x86\_64-fallback.img  
    }  
    }  
      
    \#\#\# END /etc/grub.d/30\_os-prober \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/40\_custom \#\#\#  
    \# This file provides an easy way to add custom menu entries. Simply type the  
    \# menu entries you want to add after this comment. Be careful not to change  
    \# the 'exec tail' line above.  
    \#\#\# END /etc/grub.d/40\_custom \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/41\_custom \#\#\#  
    if [ -f ${config\_directory}/custom.cfg ]; then  
    source ${config\_directory}/custom.cfg  
    elif [ -z "${config\_directory}" -a -f $prefix/custom.cfg ]; then  
    source $prefix/custom.cfg;  
    fi  
    \#\#\# END /etc/grub.d/41\_custom \#\#\#  
      
    \#\#\# BEGIN /etc/grub.d/60\_memtest86+ \#\#\#  
    \#\#\# END /etc/grub.d/60\_memtest86+ \#\#\#  
      
    
    

    My lsblk:

      
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT  
    sda 8:0 0 232.9G 0 disk   
    ├─sda1 8:1 0 180.9G 0 part   
    ├─sda2 8:2 0 2.8G 0 part [SWAP]  
    └─sda3 8:3 0 49.2G 0 part /  
    sr0 11:0 1 1024M 0 rom   
    
    

    Manjaro on sda1, swap on sda2, and antergos on sda3
    Thank you!

  • Hi,

    Our grub config script is only a basic implementation so it probably will not deal with multiple kernels correctly. Try doing this:

    sudo chmod -x /etc/grub.d/10\_antergos  
    sudo chmod +x /etc/grub.d/10\_linux  
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    

    Hope it helps

    Cheers!

  • I solved it!

    In the lines in the grub.cfg (line 154):

      
    echo 'Loading ck kernel ...'  
    linux /boot/vmlinuz-linux-ck root=/dev/sda3 rw quiet  
    
    

    needs two more lines added:
    (look in /boot/ for .img files)

      
    echo 'Loading initial ramdisk ...'  
    initrd /boot/initramfs-linux-ck.img  
    
    

    to make:

      
    echo 'Loading ck kernel ...'  
    linux /boot/vmlinuz-linux-ck root=/dev/sda3 rw quiet  
    echo 'Loading initial ramdisk ...'  
    initrd /boot/initramfs-linux-ck.img  
    
    

    Repeat with the lts-kernel and It’ll boot! I’m on the ck kernel right now.

Posts 4Views 3307
Log in to reply