Ubuntu 10.04 修改开机boot
来源:互联网 发布:网络传送带使用教程 编辑:程序博客网 时间:2024/05/17 13:40
http://linux.net527.cn/Ubuntu/Ubuntuanzhuangyuyingyong/2213.html
方法一:
打开终端输入:sudo apt-get install startupmanager
安装启动管理器
系统——系统管理——启动管理器,选中默认开机操作系统即可。
方法二:
文件系统/boot/grub/grub.cfg文件可以修改这个启动顺序的:
终端中输 入:sudo gedit /boot/grub/grub.cfg
修改后保存,重启就可以看到效果。
终端中输 入:sudo gedit /boot/grub/grub.cfg
修改后保存,重启就可以看到效果。
其实把
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod fat
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2a1d-0905
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
------------------------------------------------------------------------------------------------------------------------------------
【注意:uuid为sad1的uuid,个人依照个人分区情况 不同进行修改,将2a1d-0905改 为自己sad1的uuid即可。
如何查看uuid,打开端 输入:ls -al /dev/disk/by-uuid/,即可查看sad1的UUID】
-----------------------------------------------------------------------------------------------------------------------------------
放 在下面这段的前面就实现了启动时启动XP:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,5)'
search --no-floppy --fs-uuid --set 6071bbad-402c-42e1-b891-5df2ea76a263
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=6071bbad-402c-42e1-b891-5df2ea76a263 ro quiet splash nomodeset
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,5)'
search --no-floppy --fs-uuid --set 6071bbad-402c-42e1-b891-5df2ea76a263
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=6071bbad-402c-42e1-b891-5df2ea76a263 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###
-----------------------------------------------------------
两种方法相比较来来说,第一种比较简单
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod fat
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2a1d-0905
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
------------------------------------------------------------------------------------------------------------------------------------
【注意:uuid为sad1的uuid,个人依照个人分区情况 不同进行修改,将2a1d-0905改 为自己sad1的uuid即可。
如何查看uuid,打开端 输入:ls -al /dev/disk/by-uuid/,即可查看sad1的UUID】
-----------------------------------------------------------------------------------------------------------------------------------
放 在下面这段的前面就实现了启动时启动XP:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,5)'
search --no-floppy --fs-uuid --set 6071bbad-402c-42e1-b891-5df2ea76a263
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=6071bbad-402c-42e1-b891-5df2ea76a263 ro quiet splash nomodeset
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,5)'
search --no-floppy --fs-uuid --set 6071bbad-402c-42e1-b891-5df2ea76a263
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=6071bbad-402c-42e1-b891-5df2ea76a263 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###
-----------------------------------------------------------
两种方法相比较来来说,第一种比较简单
- Ubuntu 10.04 修改开机boot
- ubuntu修改开机密码
- 修改Ubuntu开机启动菜单
- ubuntu 11.04 修改开机分辨率
- ubuntu开机画面的修改
- 修改ubuntu开机背景颜色
- Ubuntu 修改开机启动项
- UBUNTU开机画面的修改
- 修改ubuntu默认开机亮度
- ubuntu开机画面的修改
- Ubuntu之修改开机启动模式
- ubuntu 10.10修改开机画面 plymouth
- Ubuntu 10.10 修改开机启动顺序
- ubuntu如何修改开机启动项
- Ubuntu下修改win7默认开机启动
- ubuntu 修改MySQL开机自启动
- Ubuntu 14.04 修改开机启动顺序
- 【Linux】Ubuntu 开机默认亮度修改方法
- gzip,bzip2,tar,zip命令使用方法详解
- Python3.3 安装 MySQLdb(Ubuntu13.04)
- 为什么有些文件不能从svn服务器上更新下来
- 一个挺有用的获取tomcat项目路径的工具类
- Setting the Qt Application Icon
- Ubuntu 10.04 修改开机boot
- 从零开始学WCF(6)数据协定
- Flash&Flex大全
- [jbpm]一个完整的spring+jbpm+mysql整合例子
- Linux下安装Python-3.3.2
- C常见问题之字符串的数组形式与指针形式的区别
- SAE 搭建 Discuz
- java实现栈(链表方式)
- maven 配置文件说明