How to Use the UbuntuU disk to boot the disk to fix the problem that the system cannot be started after the update

Source: Internet
Author: User
Tags wubi
Recently, I believe that many users who use wubi to install Ubuntu on Windows will not be able to access the system after the system is updated. This is a tough issue and many users have to reinstall the system. The reason for this problem is that grub components are updated when Ubuntu is updated, so that grub in the boot zone is damaged. This is also a major bug, right ??? The following describes how to fix Ubuntu through a USB flash drive. Of course, you have to have a USB flash drive larger than 1 GB. Then, your motherboard MUST support USB flash drive boot! First, of course, prepare a 1g

Recently, I believe that many users who use wubi to install Ubuntu on Windows will not be able to access the system after the system is updated. This is a tough issue and many users have to reinstall the system.

The reason for this problem is that grub components are updated when Ubuntu is updated, so that grub in the boot zone is damaged. This is also a major bug, right ???

The following describes how to fix Ubuntu through a USB flash drive. Of course, you have to have a USB flash drive larger than 1 GB. Then, your motherboard MUST support USB flash drive boot!

First of all, of course, it is to prepare a 1g or above capacity USB flash drive for making a boot USB flash drive;

Next, download the Ubuntu desktop image file from the official website. The Ubuntu Desktop image is generally more than 700 mb, so that it can be written to a 1g u disk, you can download the 10.4 image file from the Ubuntu official website.

Use UltraISO to write it into a USB flash drive and create a boot USB flash drive. Restart the computer after the task is completed, and choose to start from the USB flash disk.

Because you write a USB flash drive to an Ubuntu installation disk, you can try Ubuntu without installing it. This is the key to this method, with LiveCD, We can temporarily access the system to repair the original system!

After entering the Ubuntu system, start the command terminal and enter the following command to install lilo and mbr online:
 
Ubuntu @ ubuntu :~ $ Sudo apt-get install lilo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
Mbr
Suggested packages:
Lilo-doc
The following NEW packages will be installed:
Lilo mbr
0 upgraded, 2 newly installed, 0 to remove and 408 not upgraded.
Need to get 413kB of archives.
After this operation, 1, 315kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get: 1 http://mirror.bjtu.edu.cn/ubuntu/ lucid/main mbr 1.1.10-2 [23.0kB]
Get: 2 http://mirror.bjtu.edu.cn/ubuntu/ lucid/main lilo. 8-8ubuntu1 [390kB]
Fetched 413kB in 3 s (124kB/s)
Precycling packages...
Selecting previusly deselected package mbr.
(Reading database... 129801 files and directories currently installed .)
Unpacking mbr (from.../archives/mbr_1.1.10-2_i386.deb )...
Selecting previusly deselected package lilo.
Unpacking lilo (from.../lilo_1% 3a22. 8-8ubuntupolici386.deb )...
Processing triggers for man-db...
Setting up mbr (1.1.10-2 )...
Setting up lilo (. 8-8ubuntu1 )...

WARNING: kernel & initrd not found in the root directory (/vmlinuz &/initrd. img)
WARNING: Do NOT reboot or LILO may fail to boot if your kernel + initrd is large.
WARNING: Please read/usr/share/doc/lilo/README. Debian

Ubuntu @ ubuntu :~ $
 

During the installation process, the following lilo configuration prompt will be displayed, just press OK:

Package configuration
┌ ── ─

│ LILO configuration │

│ It seems to be your first LILO installation. It is absolutely necessary │
│ To run liloconfig (8) when you complete this process and execute │
│/Sbin/lilo after this. │

│ LILO won't work if you don't do this. │

│ │

└ ── ─

Then use lilo to repair the system:

Ubuntu @ ubuntu :~ $ Sudo lilo-M/dev/sda mbr
Backup copy of/dev/sda in/boot/boot1_800
The Master Boot Record of/dev/sda has been updated.
Ubuntu @ ubuntu :~ $
 

After the repair is completed, restart the system:

Ubuntu @ ubuntu :~ $ Sudo-s-H
Root @ ubuntu:/home/ubuntu # reboot

OK. I believe the system will be displayed after the restart. Is it very easy?

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.