gentoo编译完内核在chroot可以正常工作,但是通过grub引导的时候报这个错:
Error 2: Bad file or directory type;
------
grub.conf配置:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 3.3.8
root (hd0,0)
kernel /boot/kernel-3.3.8-gentoo root=/dev/ram0 real_root=/dev/sda3
------
# df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 ext4 15G 3.1G 11G 22% /
/dev/sda1 ext4 49M 12M 36M 24% /boot
网上兜了一圈,没有找到靠谱的答案,希望在这里能找到答案。
Error 2: Bad file or directory type;
------
grub.conf配置:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 3.3.8
root (hd0,0)
kernel /boot/kernel-3.3.8-gentoo root=/dev/ram0 real_root=/dev/sda3
------
# df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 ext4 15G 3.1G 11G 22% /
/dev/sda1 ext4 49M 12M 36M 24% /boot
网上兜了一圈,没有找到靠谱的答案,希望在这里能找到答案。