ubuntu使用两则

54 篇文章 0 订阅
31 篇文章 0 订阅
1、修改双系统启动界面
    笔记本安装双系统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

2、打印机的加载
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值