ubuntu无法启动,出现attempt to read or write outside of disk hd0错误

linux无法启动,出现error :attempt toread or write outside of disk hd0错误时,

boot出现问题,解决方法如下:

Step 1 - Boot on a liveCD or liveUSB  //进入你的系统,

Boot your computer either on:

- aUbuntu live-CD or live-USB, then choose "Try Ubuntu", then go to Step 2 below.

- or a Ubuntu-Secure-Remix liveCDor liveUSB (which will lead you automatically to Step 3 below)

- or a Boot-Repair-Disk (thisis the most convenient as it will lead you automatically to Step 4 below)

Remark:if your boot is not broken, you can also boot into your installed Ubuntu, thengo to Step 2 below.

Step2 - Install Boot-Repair

Once in the Ubuntu session, install Boot-Repair this way:

1.       Connect internet                //连接网络

2.       Open a terminal (Ctrl+Alt+T) and type :  //打开终端

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Step 3 - RunBoot-Repair  //运行boot-repair

Launch Boot-Repair from either :

- theDash (Ubuntu 11.04 and next): click the Ubuntu logo in the top-left corner ofthe screen, then type boot and click on the Boot-Repair icon that will appear.

- orSystem->Administration->Boot-Repair menu (Ubuntu 10.04)

- orby typing boot-repair in a terminal

Step4 - Click the right button

Click on the Create a Boot Info summary button:

Step 5 - Note the Boot-Info URL on a paper

When the information gathering is finished, note on apaper the URL (paste.ubuntu.com/XXXXXX/) thatappears, then indicate this URL to people who help you by email or forum.

 

你可能感兴趣的:(linux)