找回密码
 注册
查看: 455|回复: 2

关于grub的疑问

[复制链接]
发表于 2003-5-21 13:09:34 | 显示全部楼层 |阅读模式
默认的root=LABEL=/好使
而对于我自己编译的内核就要使root=/dev/hda2才可以,是什么地方没有弄对呵?
发表于 2003-5-21 13:30:32 | 显示全部楼层
贴全了看看
回复

使用道具 举报

 楼主| 发表于 2003-5-22 09:57:08 | 显示全部楼层
i have to use /dev/hda2 for the kernel item i compiled

default=3
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-
        root (hd0,1)
        kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ vga=791
        initrd /boot/initrd-2.4.20-8.img
title Red Hat Linux (2.4.21-rc2-ac2)
        root (hd0,1)
        kernel /boot/vmlinuz-2.4.21-rc2-ac2 ro root=/dev/hda2 vga=791
        initrd /boot/initrd-2.4.21-rc2-ac2
title Red Hat Linux (2.5.69-bk1)
        root (hd0,1)
        kernel /boot/vmlinuz-2.5.69-bk1 ro root=/dev/hda2 vga=791
        initrd /boot/initrd-2.5.69-bk1
title winxp
        rootnoverify (hd0,0)
        chainloader +1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-12 16:52 , Processed in 0.149446 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表