Currently I am dual-booting Windows along side Ubuntu, but whenever I try to boot Ubuntu it displays the message “Unable to mount root fs on unknown block”. So, I checked the forms, and everyone said to boot to an older version by going through “advanced booting options”, but when I try that I get this message “error: you need to load the kernel first.” How do I fix these issues without the ability to boot into my OS?
Asked
Active
Viewed 5,018 times
1 Answers
0
Hence your problem is less clarified I will continue on my assumptions.You are missing the initramfs for your usual kernel. If you cannot get to advanced options also, try this.
- In the GRUB menu select and go into 'Advanced Options'(or something like that).
- Next select another kernel other than the usual kernel and press
eto edit.
Then check whether these things are available, if not enter these there.
insmod linux
linux /vmlinuz root=/dev/sda2
initrd /initrd.img
boot
and then press F10.
You refer to these links also.
https://unix.stackexchange.com/questions/418401/grub-error-you-need-to-load-kernel-first
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Cliffniff
- 133
- 6
-
Is this the portion that I need to check for those values? https://imgur.com/a/7NEAOVP – Ts-878 Apr 19 '20 at 22:52
-
yes. `insmod linux` is missing put that in and try rebooting. – Cliffniff Apr 19 '20 at 23:51
-
At the end of the text? – Ts-878 Apr 20 '20 at 00:46
-
try at the end first if it doesn't work try before `linux /vmlinuz ...`. Not that commands after `initrd` and `linux` in my answer can be different from yours. – Cliffniff Apr 20 '20 at 01:04