Linux Boot Repair

Source: Internet
Author: User

Some days ago, my Ubuntu old hint "Filesystem root" lack of space, so, I idiot with win PE to expand space, the result, space expansion is not, but lost the guide ....

So on the Internet to check information, see How to repair the boot, and finally saw a relatively simple way, is to use the boot repair repair, but, the tutorial is relatively simple, no details, in order to avoid letting others or I later make the same mistake, decided to write down, hoping to help others.

First of all, you need a USB flash drive, and a Linux ISO made live cd,u disk can not give you, but, ISO is still some ubuntu-14.10-desktop-amd64.iso

Specifically how to do, dot too bright is not good, you can be prompted to use UltraISO soft disc to do

The second step, enter your live CD, specific how to enter, I also really bad to say, Baidu absolutely has!

Third, use the command to view your disk, depending on the size of the partition, find the directory/boot disk

sudo fdisk-l

Fourth, use the command to mount the/boot directory on the disk, if it is/dev/sda6 (many tutorials did not write this step, resulting in the following to boot repair installation failure)

sudo Mount /dev/sda6/mnt

The fifth step, to this is similar to other tutorials, use the following to the command to install and use the boot repair

sudo sudo apt-get updatesudoinstall -y boot-repair && Boot-repair

The last step, just click on a button to repair it, hit the "Recommended Repair" button, after the repair is complete, reboot over!

Linux Boot Repair

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.