Ubuntu partition Mounting Error and Grub boot error repair

Source: Internet
Author: User
It can be started, but the system prompts "fsckdiedwithexitstatus8" error when it is half started. In this case, you can press Ctrl + Alt + Delete to enter the desktop, the reason is that the mounting information of the partition under Ubuntu/etc/ftab is incorrect (the UUID of the partition is changed when the partition is changed). For details, see the startup records under/var/log/fsck, it seems that the partition fails to be mounted, and then use sudovol_id/dev/sdaN to view the sdaN UU

It can be started, but the system prompts "fsck died with exit status 8" when it is half started. At this time, you can press Ctrl + Alt + Delete to enter the desktop, the reason is that the mounting information of the partition under Ubuntu/etc/ftab is incorrect (the UUID of the partition is changed when the partition is changed). For details, see the startup records under/var/log/fsck, check that the partition fails to be mounted, and use sudo vol_id/dev/sdaN to view the uuid of the sdaN (view the UUID of all partitions: ls-al/dev/disk/by-uuid ), if sda1 cannot be mounted, check the UUID of sda1: sudo vol_id/dev/sda1, and check the UUID. Update the UUID under/etc/fstab.

#/Dev/sda6
UUID = 1e0ae40c-6eb0-4ad0-8b74-b3f61e39c694/media/sda6 ext3 defaults 0 2
(Check that the UUID of my sda6 is changed to 1e0ae40c-6eb0-4ad0-8b74-b3f61e39c694, but this is not the current real UUID. The UUID in the menu. lst guided by grub is also incorrect .)


Another problem is that the UUID in the menu. lst of grub is also incorrect. You need to update the UUID, which is much more troublesome. This is not much of a problem. If so, it's really troublesome. It's okay to have a Ubuntu Live CD, or make a boot disk. Nothing. reinstall it?

# This entry automatically added by the Debian installer for an existing
# Linux installation on/dev/sda6.
Title Ubuntu 7.10, kernel 2.6.22-14-generic (on/dev/sda6)
Root (hd0, 5)
Kernel/boot/vmlinuz-2.6.22-14-generic root = UUID = 59ece95a-72b8-4ab1-b0dc-b17c9c2ac20d ro quiet splash initrd/boot/initrd. img-2.6.22-14-generic
Savedefault
Boot
(The UUID of sda6 in menu. lst is still 59ece95a-72b8-4ab1-b0dc-b17c9c2ac20d, so it cannot be started)


I have met both of the above situations. I have Ubuntu Live CD, huh, huh. I have installed two Ubuntu instances, one of which is Ubuntu Server and the other is Ubuntu Desktop. I spent most of my time using the Server and the desktop version to try new software. Or Fluxbuntu or something. This is the case above. After the reinstallation, the UUID of the partition will be changed.

If you encounter any of the above situations, do not reinstall the system.

Related Article

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.