ubuntu9.10使用了grub2(不确定是不是2),与以往不同新版本的grub
的引导配置文件不再是menu.lst而是/boot/grub
/grub
.cfg ,这个文件默认是只读的,因此在修改之前需要先将其改为可写。
root@ptubuntu:/home/ptubuntu#
chmod +w /boot/grub
/grub
.cfg
然后就可以修改了。给其中加上如下内容即可
root@ptubuntu:/home/ptubuntu# vi /boot/grub
/grub
.cfg
添加后内容如下:
### BEGIN /etc/grub
.d/00_header ###
set default=0
set timeout=5
set root=(hd0,7)
search –no-floppy –fs-uuid –set 5deb40f9-217d-408d-bc7c-be463cbfea7b
if loadfont /usr/share/grub
/ascii.pf2 ; then
set gfxmode=640×480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don’t
# understand terminal_output
terminal gfxterm
fi
fi
### END /etc/grub
.d/00_header ###
### BEGIN /etc/grub
.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub
.d/05_debian_theme ###
menuentry “Microsoft Windows XP Professional” {
set root=(hd0,1)
search –no-floppy –fs-uuid –set 4a807ca0807c93e3
drivemap -s (hd0) $root
chainloader +1
}
上面这段黄色就是原来自带的。现在要改为下面红色。
menuentry “Microsoft Windows XP Professional” {
set root=(hd0,1)
chainloader +1
}
### BEGIN /etc/grub
.d/10_linux ###
menuentry “Ubuntu
, Linux 2.6.31-3-generic” {set root=(hd0,7)
search –no-floppy –fs-uuid –set 5deb40f9-217d-408d-bc7c-be463cbfea7b
linux /boot/vmlinuz-2.6.31-3-generic root=UUID=5deb40f9-217d-408d-bc7c-be463cbfea7b ro quiet splash
initrd /boot/initrd.img-2.6.31-3-generic
}
menuentry “Ubuntu
, Linux 2.6.31-3-generic (recovery mode)” {
set root=(hd0,7)
search –no-floppy –fs-uuid –set 5deb40f9-217d-408d-bc7c-be463cbfea7b
linux /boot/vmlinuz-2.6.31-3-generic root=UUID=5deb40f9-217d-408d-bc7c-be463cbfea7b ro single
initrd /boot/initrd.img-2.6.31-3-generic
}
### END /etc/grub
.d/10_linux ###
### BEGIN /etc/grub
.d/20_memtest86+ ###
menuentry “Memory test (memtest86+)” {
linux /boot/memtest86+.bin
}
menuentry “Memory test (memtest86+, serial console 115200)” {
linux /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub
.d/20_memtest86+ ###
分享到:
相关推荐
ubuntu9.10的源,用于更新; Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用): deb http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse deb ...
硬盘安装 windows 7 和 ubuntu 9.10 双系统 Windows 7 和 ubuntu 都已经发布了,想体验一下。 Windows 7 已经安装了,本来想用 wubi 安装 ubuntu ,担心 ubuntu 系统性能不好,使用虚拟机安装吧,也是担心同样的...
很详细的 Ubuntu 9.10 图解安装教程
先说一下安装环境,我的电脑分为4个盘:C(NTFS格式,Windows XP系统)、D、E、F(这三个是FAT32格式),我把Ubuntu9.10装在E盘,E盘事先被清空。 第一步:把ubuntu-9.10-desktop-i386.iso 文件拷贝到非安装盘,比如...
(2)Ubuntu9.10,注意在安装步骤第7步的时候,点击高级按钮,选择安装启动器引导设备的位置为你手动分区的那个光盘。 (3)登录win7(此时系统直接进入win7的),将此文件解压后直接放在C盘即可。 (4)重启后即有...
ubuntu9.10的用户指南汉化包,deb格式.
步骤很详细,我本人已经安装成功,初次安装的新手,找上面的操作,保证OK!
ubuntu910界面汉化安装包,deb格式。由于包的相互依赖,需用如下命令安装: #dpkg -i language-pack-gnome-zh-hans_1%3a9.10+20091022_all.deb language-pack-gnome-zh-hans-base_1%3a9.10+20091022_all.deb #dpkg -...
ubuntu 智能拼音安装方法(个人比较中意这个输入法)
ubuntu910的ibus输入法,由于附件大小的限制,分开成两个资源上传.
eclipse3.6+ubuntu9.10配色方案 eclipse3.6+ubuntu9.10配色方案 eclipse3.6+ubuntu9.10配色方案
ubuntu 9.10网易最快的源 ubuntu 9.10网易最快的源
安装 Ubuntu 9.10 全过程视频教程
ubuntu 9.10更新源(速度最快的) ubuntu 9.10更新源(速度最快的) ubuntu 9.10更新源(速度最快的) ubuntu 9.10更新源(速度最快的)
用虚拟机在移动硬盘上安装Ubuntu 9.10 视屏
Ubuntu 9.10 安装 Mediawiki 脚本
Ubuntu icons svg files Ubuntu9.10
Ubuntu 9.10 拨号错误解决方法
本文是本人在使用LINUX过程中的一些体会,以ubuntu9.10为例,详细讲述安装,及一些基本软件及应用。本论文以如何把linux打造成适合学生使用的系统为题,故将重点放在联网(只适合中山大学东校区),windows下常用的...
ubuntu9.10上openoffice界面的汉化包,deb格式.