Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 13075  / 2 Years ago, sun, june 19, 2022, 1:06:17

I am running Ubuntu 11.10 x86-64 in Virtual Box. While shutting down the last time the system ran normally, it seemed to have hung up, so I just killed the system. When I wanted to boot it again, nothing happened. If I go to recovery mode in GRUB I get following information:



VFS: Cannot open root device "UUID=99532d26-eb6b-43bf-8520-916a85d6a69d" in unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
0b00 1048575 sr0 driver: sr
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Pid: 1, comm:swapper Not tainted 3.0.0-19-generic #33-Ubuntu


As I read in several other boards it seems that GRUB can't find '/'. So I booted from the (virtual) Live-CD and did the following:



sudo mount /dev/sda1 /mnt #according to `sudo fdisk -l` sda1 is my booting partition
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo chroot /mnt
cp -r /usr/lib/x86_64-linux-gnu/pango /usr/lib
update-initramfs -u -k 3.0.0-12-generic
update-grub2 #does not seem to work: Cannot find list of partitions! (Try mounting /sys.)


Then I rebooted, chose the non-recover entry and nothing happened again. I did this like 3 times and it was the same always.



Hopefully somebody can help me. Thanks in advance!


More From » boot

 Answers
0

Here is the solution to my own question:
Somehow uname gave me a wrong name (3.0.0-12-generic), but according to GRUB it's 3.0.0-19-generic. Executing update-initramfs -u -k 3.0.0-19-generic and rebooting made it work!


[#37419] Monday, June 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ligenvirt

Total Points: 238
Total Questions: 98
Total Answers: 100

Location: Senegal
Member since Fri, Aug 21, 2020
4 Years ago
ligenvirt questions
Tue, Aug 17, 21, 02:28, 3 Years ago
Thu, Sep 23, 21, 17:55, 3 Years ago
Mon, Oct 18, 21, 03:34, 3 Years ago
;