首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > windows >

更动Ubuntu 10.04和Windows 7启动顺序

2012-06-28 
更改Ubuntu 10.04和Windows 7启动顺序刚安装了双系统,分别是windows7(先)和Ubuntu10.04(后)(非wubi安装),.

更改Ubuntu 10.04和Windows 7启动顺序

刚安装了双系统,分别是windows7(先)和Ubuntu10.04(后)(非wubi安装),. 默认是Linux启动,通过下面的操作可把windows7改为默认启动系统

修改启动列表:insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 6e40b6ff40b6ccd9
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu,Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 0ee185d8-a603-4309-97b7-6440643becb7
linux??? /boot/vmlinuz-2.6.32-21-generic root=UUID=0ee185d8-a603-4309-97b7-6440643becb7 ro?? quiet splash
initrd??? /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu,Linux 2.6.32-21-generic (恢复模式)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 0ee185d8-a603-4309-97b7-6440643becb7
echo??? '载入 Linux ...'
linux??? /boot/vmlinuz-2.6.32-21-generic root=UUID=0ee185d8-a603-4309-97b7-6440643becb7 ro single
echo??? '载入引导虚拟磁盘 ...'
initrd??? /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 0ee185d8-a603-4309-97b7-6440643becb7
linux16??? /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 0ee185d8-a603-4309-97b7-6440643becb7
linux16??? /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

热点排行