I have made LFS.
But unfortunately, when I installed GRUB,
I got an error that said ext2 system isn’t supported.
But I added --force
into grub-install --force /dev/sda
and it installed,
so I tried rebooting, and it automatically puts me into GRUB rescue shell.
Is there any way to repair it, or do I have to compile everything again?
I tried finding a kernel from the GRUB shell to load it,
but I can’t really find anything.
And, when doing ls (hd0,gpt1)
, I don’t see any files or directories.
grub-install
with--force
. If it can't complete without it, it's almost for sure you have done something wrong./boot
is seldom needed (some server implementations use it). Do not confuse it with the ESP (EFI System Partition) that's required for any UEFI based computer, i.e., anything from 2012 or newer. That one must be FAT32 as per UEFI standards./boot
is left as just a folder inside the root. I seems that the people you've been listening to are very old and outdated themselves.