|
前几天下了个gentoo尝尝鲜,内核用genkernel产生,grub.conf文件是按照
----------------------------------
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.25
root (hd0,0)
kernel /kernel-2.4.25-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda3
initrd /initrd-2.4.25-gentoo
-----------------------------------
结果系统装完启动时发生错误,错误如下:
/bin/sh:can't access tty; job control turned off
attempt to access beyand end of device
01:00: rw=0, want=4405,limit=4096
attempt to access beyond end of device
01:00: rw=0, want=4406,limit=4096
只能使用sh的内置命令,用ls /看看吧,结果只有四五个目录,晕,连/var目录都没有,ls /usr命令又出错误提示,什么也没列出来,狂晕…………两天
今天下午又装,内核还是genkernel产生,grub.conf配置跟上面的一样,装完gentoo又晕,闷死人了,还是产生一模一样的错误提示。
没法子,自己手工编译内核看看,谁知奇迹发生了。系统装完成功的进入了gentoo。我倒!!!……现grub.conf配置如下:
-------------------------------------
default 0
timeout 30
title = Gentoo linux-2.4.26-gentoo
root (hd0,0)
kernel /kernel-2.4.26-gentoo ro root=/dev/hda3
# initrd /initrd-2.4.26-gentoo-r6
title Red Hat Enterprise Linux AS (2.4.21-4.EL)
root (hd0,6)
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/1
initrd /initrd-2.4.21-4.EL.img
------------------------------------ |
|