Ubuntu stuck on boot in after upgrade to 19.10 from 19.04 in VMware [end kernel panic not syncing: VFS: unable to mount root fs on block (0,0)]
https://askubuntu.com/questions/1185370/ubuntu-stuck-on-boot-in-after-upgrade-to-19-10-from-19-04-in-vmware-end-kernel
I had Ubuntu 19.04 64-bit virtual machine. I upgraded it to 19.10.
After the upgrade finished, the virtual machine got stuck on boot in VMware Workstation 15. I had used a vmdk image for 19.04 available here: www.osboxes.org/Ubuntu
While I was upgrading the virtual machine I followed the instructions here.
What could be the problem here? Why is a fresh upgrade not able to boot? What should I check in here or do to fix this?
This is a fresh upgrade and whatever kept happening I let it happen.
I logged in to tty6 and I got the following screen.
Ubuntu 19.10 osboxes tty6
osboxes login: osboxes
Password:
Last login: Sun Sep 8 00:22:09 IST 2019 on tty5
Welcome to Ubuntu 19.10 (GNU/Linux 5.0.0-27-generic x86_64)
* Documentation: [https://help.ubuntu.com](https://help.ubuntu.com)
* Management: [https://landscape.canonical.com](https://landscape.canonical.com)
* Support: [https://ubuntu.com/advantage](https://ubuntu.com/advantage)
927 updates can be installed immediately.
0 of these updates are security updates.
*** System restart required ***
osboxes@osboxes:~$ sudo restart
[sudo] password for osboxes:
sudo: restart: command not found
osboxes@osboxes:~$ _
I have not restarted the system since the upgrade from 19.04 to 19.10 kept happening.
Then while I posted this question here I some how was able to restart the system and now I get:
end kernel panic not syncing :VFS: Unable to mount root fs on unknown
block (0,0)
Kernel panic unable to mount root on unknown block 0,0:
[ 14.074557] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 14.075002] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.3.0-19-generic #20-Ubuntu
[ 14.075227] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop
Reference Platform, BIOS 6.00 04/13/2018
[ 14.075492] Call Trace:
[ 14.075628] dump_stack+0x63/0x8a
[ 14.075762] panic+0x101/0x2d7
[ 14.075881] mount_block_root+0x23f/0x2e8
[ 14.076023] mount_root+0x38/0x3a
[ 14.076148] prepare_namespace+0x13f/0x194
[ 14.076295] kernel_init_freeable+0x231/0x255
[ 14.076458] ? rest_init+0xb0/0xb0
[ 14.076629] kernel_init+0xe/0x100
[ 14.076770] ret_from_fork+0x35/0x40
[ 14.076984] Kernel Offset: 0x7a00000 from 0xffffffff81000000 (relocation range:
0xffffffff80000000-0xffffffffbfffffff)
[ 14.077291] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(0,0) ]---
Now I don't know what should I do. Why this problem came. How to debug this and fix this. Rather than creating a new VM by downloading a new ISO I am more interested to learn and fix the problem which has caused this.
I seem to have figured out something which might be applicable as mentioned at Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0). The thing is before upgrading I did not note down on a paper and pencil which kernel version was running or to what version the upgrade took place. I have been running defaults only, so it should not be a problem.
Someone in comments mentioned:
"On my Ubuntu 19.10 I've had to run apt install initramfs-tools in
order to get update-initramfs command –"
I do not know how to work with the Advanced boot menu. Please see the screenshots I uploaded to understand my situation.
Advanced boot options:

Which kernel to boot in Advanced boot options:

Even after booting into one of the kernels in advanced options, I get kernel panic messages.
There is some knowledge gap in my situation. I probably have figured out something which I should try, but I am not able to understand how to proceed from here.