Gentoo is on /dev/sda4 and /dev/sda3 is /boot,/boot/kernel-genkernel-x86-3.18.7-gentoo and /boot/initramfs-genkernel-x86-3.18.7-gentoo both are genkernel-built,but GRUB says:could not find the root device in /dev/sda4. Here is my fstab:https://pastebin.anthonos.org/view/6958e8c8 (Already tried to replace /dev with UUID,not work) And this grub.cfg:https://pastebin.anthonos.org/view/639f93dd grub can load Windows,so I'm sure that grub's binary isn't broken. What to do?
-
is the UUID of your Gentoo partition ab8313f8-2c6d-4f60-88a0-f3d8e1472437 ? If not then that explains your problem...– gogoudMar 4, 2015 at 17:38
-
@gogoud What's the problem?I didn't see this UUID when grub report error,this should be /boot's UUID– Yu ZhangMar 4, 2015 at 17:40
-
1can you give the exact message you see when grub gives up? does it drop to a grub shell prompt?– gogoudMar 4, 2015 at 17:46
-
@gogoud I can't get screenshot because I don't have a cam,It just showed could not find the root device in (Depends on fstab set),and says Press Enter for the same ,'shell' to into shell,and 'q' to skip.No kernel panic.– Yu ZhangMar 4, 2015 at 17:50
-
lh6.googleusercontent.com/-zcRMjslRR-g/VPdItFzSGyI/AAAAAAAAI44/…– Yu ZhangMar 4, 2015 at 18:04
|
Show 5 more comments
1 Answer
Solved.Because Genkernel(not Genkernel-next)doesn't contain ext4fs support.Since I complied kernel myself,solved.