Change the grub boot sequence:
2010-04-11 14:01
225 查看
1. Edit grub (/etc/default/grub)
ruilin@ruilin:~$ gksudo gedit /etc/default/grub
Change: GRUB_DEFAULT=0
To: GRUB_DEFAULT="Windows 7 (loader) (on /dev/sda2)"
2. Update grub.cfg (/boot/grub/grub.cfg)
ruilin@ruilin:~$ sudo update-grub
3. Note: check the grub version:
ruilin@ruilin:~$ sudo grub-install -v
grub-install (GNU GRUB 1.97~beta4)
Reference:
GRand Unified Bootloader, version 2
(Grub 2)
https://wiki.ubuntu.com/Grub2
ruilin@ruilin:~$ gksudo gedit /etc/default/grub
Change: GRUB_DEFAULT=0
To: GRUB_DEFAULT="Windows 7 (loader) (on /dev/sda2)"
2. Update grub.cfg (/boot/grub/grub.cfg)
ruilin@ruilin:~$ sudo update-grub
3. Note: check the grub version:
ruilin@ruilin:~$ sudo grub-install -v
grub-install (GNU GRUB 1.97~beta4)
Reference:
GRand Unified Bootloader, version 2
(Grub 2)
https://wiki.ubuntu.com/Grub2
相关文章推荐
- Change Ubuntu grub boot order
- HOWTO: Boot & Install Ubuntu from the Grub Rescue Prompt
- how to edit the grub to change the sequance of system
- How to Change the Default Boot Device by Using the Boot PROM
- (2)x210:change the physical meme addr to 30000000 in uboot
- 嵌入式 hi3518c下ramdisk文件系统与文件系统烧写以及uboot中change-the-env
- Configuring GRUB to boot the right kernel after an upgrade
- cannot boot the linux, because of grub,how to do!
- How to Change Default Grub Theme or Splash Image in Ubuntu 10.10
- How to Change Default Grub Theme or Splash Image in Ubuntu 10.10
- 嵌入式 hi3518c下ramdisk文件系统与文件系统烧写以及uboot中change-the-env
- HOWTO_Change Default Boot Order for Grub in Ubuntu
- Clean Up Ubuntu Grub Boot Menu After Upgrades
- Data migration to generate the maximum value of the sequence between beta scheme and appbeta scheme
- View or change the Office or Outlook Product Key
- FW:Could not change the bindings for orchestration---One or more instances of the orchestration still exist
- mysql oom之后的page 447 log sequence number 292344272 is in the future
- MIT 6.828 JOS学习笔记4. Lab 1 Part 2.1: The Boot Loader
- How to change the highlight color in autocomplete box in Eclipse
- hdu 1121 Complete the Sequence(DP多项式差分)