Original URL: http://blog.sina.com.cn/s/blog_b381a98e0102v1gy.html
First, the Ubuntu14.04 adopt the default installation mode situation
with the default installation, after Ubuntu 14.04 is installed under Win7, in Grub, Win7 start thinking is the last one, in order to set Win7 as the default startup item, you need to change the grub settings. Google for a half day, found that the change/etc/default/grub is invalid , open/boot/grub/grub.cfg, which says "Do not EDIT this FILE", and I found that even if the change set_ Once the default is executed Update-grub, the boot sequence remains the same, and then the search continues, and two methods are found to be effective.
Method One changes the file name under the/ETC/GRUB.D directory is feasible (experimental success)
By default, Win7 corresponds to the file name is 30_os-prober, the first Linux system corresponds to 10-linux,00 is header,05 is debian-theme, visible 10 is the first startup item, only need to change the Win7 file name ( 06-09 can change the boot order, after I test, successfully modified the boot sequence. Specific practices:
$CD/ETC/GRUB.D
$ls –l
$sudo MV 30_os-prober 07_os-prober
sudo update-grub (this command will regenerate/boot/grub/grub.cfg)
Restart the computer and change the boot order to Windows7 as the first item.
Method two using the Boot manager (not experimental)
1. Install the Boot Manager
sudo apt-get install Startupmanager
2. Open the system--system management--boot manager, select Win7 in the default operating system drop-down menu and close.
Second, the Ubuntu14.04 adopts the custom installation method situation
with a Custom installation , select "Other options" to manually create an adjustment partition,
For example, add on an idle disk. Click on the "+" below. Add boot partition, mount point select "/boot", add 2G size swap space, add the partition of Mount point "/", select EXT4 log file system, size more than 7 g on the line; finally add a "/home" partition.
mount point |
appliance |
|
| /boot |
/dev/hda1 |
500mb |
swap |
/dev/hda2 |
10GB |
/ |
/dev/hda3 |
40GB |
/home |
/dev/hda4 |
largest remaining space |
When you are finished adding, modify the device that installs the auto-bootloader, and select the device number for the boot partition just now.
After completing this, there is a critical step in order to complete the Ubuntu14.04 installation. Open the original Windows system installed on your computer and use EASYBCD software to boot the Ubuntu system.
Open software such as:
Click "Add new Entry", modify the name, drive Select the front boot device, you can see the size of the difference, click "Add Entry" to close the software, and then restart the computer can see the Ubuntu14.04 startup item.
This allows Windows and Ubuntu 14.04 to be used after installation, and the default window will start first.
"Go" Win7 with Ubuntu 14.04 Dual system Modify the start item order