[问题]每次重新启动都会自动修改menu.lst

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
aric286
帖子: 962
注册时间: 2007-12-03 9:54
联系:

[问题]每次重新启动都会自动修改menu.lst

#1

帖子 aric286 » 2008-09-06 12:45

每次只要一重新启动,menu.lst就会自动复制一次原来的列表,比如原来的就两个xp和ubuntu,重新启动就变四个了,再重启变六个,谁知道怎么回事?
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

#2

帖子 leeaman » 2008-09-06 12:47

更新了内核?贴你的menu.lst出来看看
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
delectate
帖子: 18311
注册时间: 2008-01-09 22:41

#3

帖子 delectate » 2008-09-06 13:07

lz这个状况太奇特了…………

什么原因引起的呢?

关注
头像
aric286
帖子: 962
注册时间: 2007-12-03 9:54
联系:

#4

帖子 aric286 » 2008-09-06 19:05

default 0
timeout 3

# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#


## ## End Default Options ##

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1



title Ubuntu intrepid (development branch), kernel 2.6.27-2-generic
root (hd0,8)
kernel /boot/vmlinuz-2.6.27-2-generic root=UUID=d1308685-be6b-4004-8427-3e3d4fb40acd ro quiet splash
initrd /boot/initrd.img-2.6.27-2-generic
quiet

title Ubuntu intrepid (development branch), kernel 2.6.27-2-generic (recovery mode)
root (hd0,8)
kernel /boot/vmlinuz-2.6.27-2-generic root=UUID=d1308685-be6b-4004-8427-3e3d4fb40acd ro single
initrd /boot/initrd.img-2.6.27-2-generic

title Ubuntu intrepid (development branch), kernel Last successful boot
root (hd0,8)
kernel /boot/last-good-boot/vmlinuz root=UUID=d1308685-be6b-4004-8427-3e3d4fb40acd ro quiet splash last-good-boot
initrd /boot/last-good-boot/initrd.img
quiet

title Ubuntu intrepid (development branch), kernel 2.6.26-5-generic
root (hd0,8)
kernel /boot/vmlinuz-2.6.26-5-generic root=UUID=d1308685-be6b-4004-8427-3e3d4fb40acd ro quiet splash
initrd /boot/initrd.img-2.6.26-5-generic
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=d1308685-be6b-4004-8427-3e3d4fb40acd ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,8)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1



title Ubuntu intrepid (development branch), kernel 2.6.27-2-generic
root (hd0,8)
kernel /boot/vmlinuz-2.6.27-2-generic root=UUID=d1308685-be6b-4004-8427-3e3d4fb40acd ro quiet splash
initrd /boot/initrd.img-2.6.27-2-generic
quiet

title Ubuntu intrepid (development branch), kernel 2.6.27-2-generic (recovery mode)
root (hd0,8)
kernel /boot/vmlinuz-2.6.27-2-generic root=UUID=d1308685-be6b-4004-8427-3e3d4fb40acd ro single
initrd /boot/initrd.img-2.6.27-2-generic

title Ubuntu intrepid (development branch), kernel Last successful boot
root (hd0,8)
kernel /boot/last-good-boot/vmlinuz root=UUID=d1308685-be6b-4004-8427-3e3d4fb40acd ro quiet splash last-good-boot
initrd /boot/last-good-boot/initrd.img
quiet

title Ubuntu intrepid (development branch), kernel 2.6.26-5-generic
root (hd0,8)
kernel /boot/vmlinuz-2.6.26-5-generic root=UUID=d1308685-be6b-4004-8427-3e3d4fb40acd ro quiet splash
initrd /boot/initrd.img-2.6.26-5-generic
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
不知道重复几次了
刚看了看,今天中午关机,刚才开机,重复了一次
头像
aric286
帖子: 962
注册时间: 2007-12-03 9:54
联系:

#5

帖子 aric286 » 2008-09-07 21:43

这么奇怪的问题没人关注?还是我的题目太不醒目了?
qquchn
帖子: 246
注册时间: 2006-12-13 8:22
来自: Bonn

#6

帖子 qquchn » 2008-09-08 2:12

木有遇到过 你给它加个锁试试
头像
aric286
帖子: 962
注册时间: 2007-12-03 9:54
联系:

#7

帖子 aric286 » 2008-09-08 9:59

qquchn 写了:木有遇到过 你给它加个锁试试
怎么加?谢谢了,现在又复制了一堆了,真烦啊
回复