1、修改双系统启动界面
笔记本安装双系统XP及ubuntu,目前已习惯工作在ubuntu下,但觉开机启动的菜单项太多,想做点修改。
2、打印机的加载
笔记本安装双系统XP及ubuntu,目前已习惯工作在ubuntu下,但觉开机启动的菜单项太多,想做点修改。
输入命令:
cd /boot/grub
sudo cp menu.lst menu_20061027.lst
sudo gedit menu.lst
可以看到有下列内容:
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
# 这里没有做修改,依旧希望默认启动停留在ubuntu上。
## ## End Default Options ##
title Ubuntu, kernel 2.6.15-27-386
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.15-27-386
savedefault
boot
title Ubuntu, kernel 2.6.15-27-386 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.15-27-386
boot
# 从下面开始去掉了内核是2.6.15-26的启动项部分
# title Ubuntu, kernel 2.6.15-26-386
# root (hd0,7)
# kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda8 ro quiet splash
#initrd /boot/initrd.img-2.6.15-26-386
#savedefault
#boot
#title Ubuntu, kernel 2.6.15-26-386 (recovery mode)
#root (hd0,7)
#kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda8 ro single
#initrd /boot/initrd.img-2.6.15-26-386
#boot
#title Ubuntu, memtest86+
#root (hd0,7)
#kernel /boot/memtest86+.bin
#boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
cd /boot/grub
sudo cp menu.lst menu_20061027.lst
sudo gedit menu.lst
可以看到有下列内容:
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
# 这里没有做修改,依旧希望默认启动停留在ubuntu上。
## ## End Default Options ##
title Ubuntu, kernel 2.6.15-27-386
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.15-27-386
savedefault
boot
title Ubuntu, kernel 2.6.15-27-386 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.15-27-386
boot
# 从下面开始去掉了内核是2.6.15-26的启动项部分
# title Ubuntu, kernel 2.6.15-26-386
# root (hd0,7)
# kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda8 ro quiet splash
#initrd /boot/initrd.img-2.6.15-26-386
#savedefault
#boot
#title Ubuntu, kernel 2.6.15-26-386 (recovery mode)
#root (hd0,7)
#kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda8 ro single
#initrd /boot/initrd.img-2.6.15-26-386
#boot
#title Ubuntu, memtest86+
#root (hd0,7)
#kernel /boot/memtest86+.bin
#boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
2、打印机的加载