jbrid2
February 21st, 2021, 09:52 PM
Hi all,
I had Win10 and 16.04 installed on a partitioned SSD in UEFI mode. This was working for many years. I upgraded to 20.04 by re-formatting that Ubuntu partition and doing a fresh install onto that partition (/dev/sdc5). I booted the USB install media in UEFI mode. I verified that Secure Boot and Fast Boot are disabled in my BIOS settings.
Now, when I boot, I get the Grub menu, but 20.04 fails to boot. I get this:
Kernel panic : Unable to mount root fs or unknown
I am able to boot into 20.04 successfully by doing the following:
grub> set root=(hd3,gpt5)
grub> linux /boot/vmlinuz-5.8.0-43-generic root=/dev/sdc5
grub> initrd /boot/initrd.img-5.8.0-43-generic
grub> boot
After booting this way, I tried:
update-grub
grub-install /dev/sdc
That did not help.
I then tried boot-repair. Here is a link to the BootInfo summary. (https://paste.ubuntu.com/p/wXqtFgNpT4/)
That also did not help.
I can see that the Grub entry is referencing the wrong disk. It has root='hd2,gpt5'. I tried editing that through grub-customizer and that also did not work.
I appreciate anyone who reads this, and thank you for any assistance. The only option I have left at this point is to re-install 20.04, but I am not sure what I would even do differently. It seems like this may be an issue of a lingering Grub install from a previous version or something with UEFI. I am not sure. FWIW, I can succesfully boot into Win10.
Thanks!
Edit: Adding a link to the BootInfo Summary prior to using boot-repair (https://paste.ubuntu.com/p/Stwtp2GtFc/).
I had Win10 and 16.04 installed on a partitioned SSD in UEFI mode. This was working for many years. I upgraded to 20.04 by re-formatting that Ubuntu partition and doing a fresh install onto that partition (/dev/sdc5). I booted the USB install media in UEFI mode. I verified that Secure Boot and Fast Boot are disabled in my BIOS settings.
Now, when I boot, I get the Grub menu, but 20.04 fails to boot. I get this:
Kernel panic : Unable to mount root fs or unknown
I am able to boot into 20.04 successfully by doing the following:
grub> set root=(hd3,gpt5)
grub> linux /boot/vmlinuz-5.8.0-43-generic root=/dev/sdc5
grub> initrd /boot/initrd.img-5.8.0-43-generic
grub> boot
After booting this way, I tried:
update-grub
grub-install /dev/sdc
That did not help.
I then tried boot-repair. Here is a link to the BootInfo summary. (https://paste.ubuntu.com/p/wXqtFgNpT4/)
That also did not help.
I can see that the Grub entry is referencing the wrong disk. It has root='hd2,gpt5'. I tried editing that through grub-customizer and that also did not work.
I appreciate anyone who reads this, and thank you for any assistance. The only option I have left at this point is to re-install 20.04, but I am not sure what I would even do differently. It seems like this may be an issue of a lingering Grub install from a previous version or something with UEFI. I am not sure. FWIW, I can succesfully boot into Win10.
Thanks!
Edit: Adding a link to the BootInfo Summary prior to using boot-repair (https://paste.ubuntu.com/p/Stwtp2GtFc/).