I installed Manjaro on a spare partition with three other Linux distros and Windows 7. After installation, all of them worked except Manjaro, which went into kernel panic.
Error message said: “Kernel panic - not syncing VFS: Unable to mount root fs on unknown block (0,0)”
BUT it successfully booted on the “fallback” option under Advanced Manjaro options.
Online digging found some mention of this being a known Manjaro issue, which was described as Manjaro developers wanting users to use their own GRUB. They described a fix thus:
Change the GRUB entry from “initrd /intel-ucode.img” to “initrd /initramfs-4.6-x86_64.img” (or whatever else your kernel version is).
I tried that fix and it did not work, but I may have done it wrong.
Here is the original GRUB entry
insmod part_gpt
insmod ext2
set root=‘hd0,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 898c3d71-b0f5-493c-98db-989bdd75078f
else
search --no-floppy --fs-uuid --set=root 898c3d71-b0f5-493c-98db-989bdd75078f
fi
linux /boot/vmlinuz-4.19-x86_64 root=UUID=898c3d71-b0f5-493c-98db-989bdd75078f rw quiet rd.udev.log-priority=3
initrd /boot/intel-ucode.img
Here is what I changed it to:
insmod part_gpt
insmod ext2
set root=‘hd0,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 898c3d71-b0f5-493c-98db-989bdd75078f
else
search --no-floppy --fs-uuid --set=root 898c3d71-b0f5-493c-98db-989bdd75078f
fi
linux /boot/vmlinuz-4.19-x86_64 root=UUID=898c3d71-b0f5-493c-98db-989bdd75078f rw quiet rd.udev.log-priority=3
initrd /boot/vmlinuz-4.19-x86_64.img
It couldn’t find the kernel.
Here is the GRUB entry that works:
insmod part_gpt
insmod ext2
set root=‘hd0,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 898c3d71-b0f5-493c-98db-989bdd75078f
else
search --no-floppy --fs-uuid --set=root 898c3d71-b0f5-493c-98db-989bdd75078f
fi
linux /boot/vmlinuz-4.19-x86_64 root=UUID=898c3d71-b0f5-493c-98db-989bdd75078f rw quiet rd.udev.log-priority=3
initrd /boot/initramfs-4.19-x86_64-fallback.img
I am using GRUB Customizer, my main OS is on sdb1, and this is on sda2.