After Ubuntu is upgraded, kernelpanic-notsyncing cannot be started.

Source: Internet
Author: User
Ubuntu, failed to start error message: kernelpanic-notsyncing: VFS: Unabletomountrootfsonunknown-block (8, 6) Repair Process: grub & gt; lsgrub & gt; ls (hd0, x)/& n

Ubuntu cannot be started
Error message:
Kernel panic-not syncing: VFS: Unable to mount root fs on unknown-block (8, 6)

Repair Process:
Grub> ls
Grub> ls (hd0, x)/# Find the WUBI-installed disk, which contains the ubuntu/directory.
Grub> insmod ntfs # load the ntfs module, because WUBI installed ubuntu on my ntfs Disk
Grub> set root = (hd0, 5) # Here (hd0, 5) is the partition installed on ubuntu.
Grub> ls $ Boot # Find the UUID of the BOOT partition, which will be used in the next step. Here I show: 2250018e50016a3d
Grub> search -- no-floppy -- fs-uuid -- set 2250018e50016a3d # the UUID here is the one that must be found
Grub> loopback loop0/ubuntu/disks/root. disk # Set loop0, and WUBI installs ubuntu into a root. disk File.
Grub> set root = (loop0) # reset root
Grub> linux/boot/vmlinuzxxxxxxxxx (you can complete the tab) root =/dev/sdax loop =/ubuntu/disks/root. disk ro quiet splash # Here x is 5, you can see it for yourself. Load the kernel
Grub> initrd/boot/initrd. imgxxxxxxxxxxxx (you can complete the tab) # Not to mention everyone knows
Gurb> boot


In this case, uninstall grub2 and then reinstall grub2.
That is
Sudo apt-get purge grub-common grub-pc // uninstall grub2
Sudo apt-get install grub-common grub-pc // reinstall grub2
Restart sudo reboot.

Note:
If you follow the steps below to reinstall grub2
Sudo update-grub2
Sudo reboot

After restarting, another error occurs:
On-screen display:
Gnu grub version 1.97 ~ Bea4
[Minimal BASH-like lin editing is supported For the first word, TAB licts possible command completions Anywhere elso TAB lists possible device/file completions]
Sh: grub> (the cursor lets you enter something)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.