I tried installing Gentoo again. But now when I reboot nothing shows up in grub, it's just a command line. I can access my hard drive doing ls /. But I can't seem to boot. I'm using Grub2 by the way. I have tried issuing the command (without quotes), "linux (hd0,3)" 3 indicating that I want sda4 to be accessed. But when I do that I get "error: invalid file name `'.". I have tried looking at many other tutorials, but they issue commadns that don't exist in this grub version for some reason. Please help, I have not had asingle successful installation of Gentoo outside of virtualbox and even in virtualbox the network wouldn't work. Please help. Also Gentoo help general.
Install gentoo
>>58146609
>I tried installing Gentoo
>again
XDDDDDDDDDDDDDDDDDDDDDDD
literally falling for the meme TWICE
>>58146661
The meme has valuable learning experience.
>>58146609
1. Boot up your computer with ubuntu/debian or something similiar with live usb
2. open terminal and write sudo su
3. mount your partition in /mnt/gentoo folder https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks#Mounting (if you don't remember what your fucked, open second terminal and write sudo gparted and look at your partitions, first partition should have boot flag like in picture)
4. chroot https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Chrooting
5. check your /etc/fstab file (after chrooting)
6. read this https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader#Default:_GRUB2
>>58146609
It's saying invalid filename because you aren't giving it the path to your kernel. You have to specify where on the partition it is located, not just tell grub it's somewhere on a certain one.
So, your line should look something more like "linux (hd0,3)/usr/src/linux/arch/x86/boot/bzImage root=/dev/sda4", or something like that, depending on where your compiled kernel is located.
>>58146894
Nah, if grub showing only command line it means it is fucked, the best way is chrooting again and solve problems from another system.