[问题]怎么设置一个内核为默认?

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

[问题]怎么设置一个内核为默认?

#1

帖子 princelai » 2008-09-14 23:10

我的/boot/只有100M,能存3个内核,内核自动更新我也就删除一个,不过现在内核早就是21的了,我的默认还是20,我就把其他的都给删除了,只留下21,重启后说找不到内核。然后我就手动找,能启动,我之后编辑了/boot/grub/menu.list,把启动时其他的都给删除,只留下

代码: 全选

title		Ubuntu 8.04.1, kernel 2.6.24-21-generic
root		(hd0,4)
kernel		/vmlinuz-2.6.24-21-generic root=UUID=c8d463ad-6950-454f-9a28-6ff6ad76c970 ro quiet splash ramdisk_size=18000
initrd		/initrd.img-2.6.24-21-generic
quiet

title		Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root		(hd0,4)
kernel		/vmlinuz-2.6.24-21-generic root=UUID=c8d463ad-6950-454f-9a28-6ff6ad76c970 ro single
initrd		/initrd.img-2.6.24-21-generic

title		Ubuntu 8.04.1, memtest86+
root		(hd0,4)
kernel		/memtest86+.bin
quiet
这三个,不过启动的时候他启动最后一个去检测内存……请问怎么默认启动第一个阿
头像
princelai
帖子: 920
注册时间: 2007-01-06 21:00
联系:

#2

帖子 princelai » 2008-09-15 22:25

没人知道么?帮帮我阿……
头像
luojie-dune
帖子: 22033
注册时间: 2007-07-30 18:28
系统: Linux
来自: 空气中

#3

帖子 luojie-dune » 2008-09-15 22:39

/boot里有个文件,写的很直接。忘了哪个了。另外还有

图形化的方式
apt://startupmanager

代码: 全选

su-to-root -X -c /usr/sbin/startupmanager
『这个世界都是我的 ,我爱你们』

ENTP ⥂ INTP ⥄ INFP ⇦ INTJ

在此发布的文章使用 Creative Commons Attribution-ShareAlike 4.0 协议
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#4

帖子 eexpress » 2008-09-15 23:01

default 0
timeout 2
● 鸣学
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#5

帖子 hethe » 2008-09-15 23:08

/boot/grub/menu.lst
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
头像
princelai
帖子: 920
注册时间: 2007-01-06 21:00
联系:

#6

帖子 princelai » 2008-09-16 15:07

谢谢ee,以正常启动了
bingyuan
帖子: 244
注册时间: 2007-09-17 16:20

#7

帖子 bingyuan » 2008-09-19 16:55

eexpress
你终于说了一句能让我听懂的话, :P
delectate
帖子: 18311
注册时间: 2008-01-09 22:41

#8

帖子 delectate » 2008-09-19 19:36

bingyuan 写了:eexpress
你终于说了一句能让我听懂的话, :P
我也是……

ee就是靠灌水维生的 :em28

呵呵

timeout貌似过短哦
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

#9

帖子 想入非非 » 2008-09-20 0:19

后代 写了:
bingyuan 写了:eexpress
你终于说了一句能让我听懂的话, :P
我也是……

ee就是靠灌水维生的 :em28

呵呵

timeout貌似过短哦
timeout=0.... :wink:
Ubuntu User
头像
thefour
帖子: 429
注册时间: 2008-03-05 12:31
来自: 示爱须唱山歌

#10

帖子 thefour » 2008-09-20 0:43

ee那个神谕还是很好用的 :lol:
六十学裁缝,晚否......
回复