某些状况(例如BIOS限制或此GRUB错误)可能须要在磁盘的开头建立单独的/启动分区,并设置Ubuntu以使用它。 ubuntu
如下是如何轻松完成的方法:session
启动计算机:app
- Linux-Secure-Remix liveCD或liveUSB,而后选择“Try Ubuntu”,而后直接进入下面的步骤3。ide
- 或者是Ubuntu live-CD或live-USB,选择“Try Ubuntu”,而后转到下面的第2步。工具
进入Ubuntu实时会话后,以这种方式安装Boot-Repair:ui
sudo add-apt-repository ppa:yannubuntu / boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair
从如下任一方面启动gParted:this
- Dash(Ubuntu 11.04和下一个):单击屏幕左上角的Ubuntu徽标,而后键入gparted并单击将出现的gParted图标。spa
- 或系统 - >管理 - > gParted菜单(Ubuntu 10.04).net
- 或者在终端中键入gksudo gparted3d
经过gParted:
- 减小磁盘的第一个分区之一,以便在安装Ubuntu 的磁盘的开头建立1GB(= 1000MiB)的可用空间。此可用空间必须位于磁盘的前100GB内(其末端的磁盘起始位置不得超过100GB)。重要提示:要调整Windows Vista / 7/8分区的大小,请不要使用gParted而是使用Windows工具。
- 在此可用空间中,建立一个格式为EXT4的1GB分区。
- 在纸上,记下这个新的1GB分区的名称。这一般相似于/ dev / sdXY(X是一个字母,Y是一个数字)。
从如下任一方面启动Boot-Repair:
- Dash(Ubuntu 11.04和下一个):单击屏幕左上角的Ubuntu徽标,而后键入boot并单击将出现的Boot-Repair图标。
- 或System-> Administration-> Boot-Repair菜单(Ubuntu 10.04)
- 或者在终端中键入boot-repair
在引导修复中:
- 单击“ 高级选项”
- 转到GRUB位置选项卡
- 勾选“Separate / boot partition:sdXY”选项(sdXY必须是你的1GB分区)
- 点击“申请”
- 在纸上注意将出现的URL(paste.ubuntu.com/XXXXXX/)。
- 关闭计算机
- 删除liveCD和/或liveUSB
- 启动电脑。你如今应该能够启动到Ubuntu了。
英文原版
Some situations (eg BIOS limitations, or this GRUB bug) may require to create a separate /boot partition at the start of the disk, and setup Ubuntu to use it.
Here is how to do it very easily:
Boot your computer either on:
- a Linux-Secure-Remix liveCD or liveUSB, then choose "Try Ubuntu", then go directly to Step 3 below.
- or a Ubuntu live-CD or live-USB, choose "Try Ubuntu", then go to Step 2 below.
Once in the Ubuntu live session, install Boot-Repair this way:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair
Launch gParted from either:
- the Dash (Ubuntu 11.04 and next): click the Ubuntu logo in the top-left corner of the screen, then type gparted and click on the gParted icon that will appear.
- or System->Administration->gParted menu (Ubuntu 10.04)
- or by typing gksudo gparted in a terminal
Via gParted:
- Reduce one of the first partitions of the disk in order to create 1GB (=1000MiB) of free space at the start of the disk where Ubuntu is installed. This free space must be located inside the first 100GB of the disk (its end must not be located at more than 100GB from the start of the disk). Important: to resize Windows Vista/7/8 partitions, don't use gParted but Windows tools instead.
- In this free space, create a 1GB partition formatted in EXT4.
- On a paper, note the name of this new 1GB partition. This is generally something like /dev/sdXY (X is a letter, Y is a number).
Launch Boot-Repair from either:
- the Dash (Ubuntu 11.04 and next): click the Ubuntu logo in the top-left corner of the screen, then type boot and click on the Boot-Repair icon that will appear.
- or System->Administration->Boot-Repair menu (Ubuntu 10.04)
- or by typing boot-repair in a terminal
In Boot-Repair:
- Click on Advanced Options
- Go to the GRUB location tab
- Tick the "Separate /boot partition: sdXY" option (sdXY must be your 1GB partition)
- Click "Apply"
- Note on a paper the URL (paste.ubuntu.com/XXXXXX/) that will appear.
- Shutdown the computer
- Remove the liveCD and/or liveUSB
- Start the computer. You should now be able to boot into Ubuntu.