linux无法启动,出现error :attempt toread or write outside of disk hd0错误时,
boot出现问题,解决方法如下:
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.
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
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
Click on the Create a Boot Info summary button:
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.