Speaking of the start-up will have to say Grub,linux under the famous Boot management tool (once Lilo is no longer), of course, now is the GRUB2, GRUB2 and grub The most important difference is that Grub storage System boot information file for the/boot/grub/ Menu.lst, while GRUB2 is/boot/grub/grub.cfg. Because the ubuntu10.10 uses the GRUB2, so here is mainly GRUB2. Terminal input gedit/boot/grub/grub.cfg, open this file, the beginning of a few lines of comments are as follows: # # do not EDIT this file## It's automatically generated by grub-mkconfig us ing templates# from/etc/grub.d and Settings from/etc/default/grub# here is very clear: do not edit this file, this file is based on the/ETC/GRUB.D template and/etc/ The Default/grub settings are automatically generated, so it is not correct to edit this file on the Web to achieve a change in the boot order, at least unreasonable, because once the kernel is updated, the file is automatically generated, and the previous update is invalidated. Since you can't modify this file, then look at/ETC/GRUB.D and/etc/default/grub, the former is a folder, temporarily regardless, the latter is a file,
$ sudo gedit/etc/default/grub
The contents are as follows (delete some comments that are not very helpful): # If You change this file, the run ' Update-grub ' afterwards to update#/boot/grub/grub.cfg.grub_default=0Grub_hidden_timeout_quiet=truegrub_timeout=10grub_distributor= ' lsb_release-i-s 2>/dev/null | | echo Debian ' grub_cmdline_linux_default= ' quiet Splash "grub_cmdline_linux=" "Grub_default represents the order of the startup items, starting with the number 0, The following startup items are represented in turn (this is on my computer, different Ubuntu versions and Windows systems may have some differences): Ubuntu, with Linux 2.6.35-28-genericubuntu, with Linux 2.6.35-28- Generic (Recovery Mode) memory test (memtest86+) memory test (memtest86+, serial console 115200) Windows 7 (loader) (on/dev/ SDA1) Windows Fourth bit (note that the order is from 0), so, change the Grub_default value to 4, and then don't forget to run the command:
$ sudo update-grub
OK, restart the computer, the default boot system will switch to Windows. In addition, there is a more advanced method can also modify Windows as the default boot system, run: sudo mv/etc/grub.d/30_os-prober/etc/grub.d/06_os-probersudo After the Update-grub executes, restarting the computer will also start Windows by default.
[CrunchBang] Modify the boot sequence of the Win+ubuntu dual system menu