#Grub won’t install
1 messages · Page 1 of 1 (latest)
@lean pecan
here i am
the handbook has two specific parts
one for bios and one for UEFI
i reckon that you followed the part for BIOS
I did everything else for uefi tho
so grub is configurated for BIOS, but youre using UEFI
ya, either you do it uefi or bios
not mixed
send me your make.conf or your package.use correlated to grub if you have one
ya sure
How do I view the config files
go into your portage make.conf if ur stuff is there, or ur portage package.use
Idk how to get there
Nah I just haven’t done it since yesterday at like 1am
@lean pecan
ls /etc/portage and see what u got
if u have package.use files
go there and show me what u have
if u have everything monolithically in the make.conf then send me ur make.conf
Nah just my threads and shi
hmm
go in ur make.conf
paste this
GRUB_PLATFORMS="efi-64 pc"
then rebuild grub
$ emerge --ask sys-boot/grub
then rebuild grub for efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
and create a config
grub-mkconfig -o /boot/grub/grub.cfg
Then I can install?
this already installs grub
that error happens because you didnt specify the target
In my make config it says =64 instead of -64 I just change it right
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
I used the command from the handbook
Wait so ion even need to do this
.
try doing the stuff i said above
from here
to here
I can’t do this
Bc I don’t have the modinfo.sh
try setting the directory only to /boot
Still
I did this by accident aswell
It added it to the uefi
So am I fine or?
hold on
lets play it dirty
this is the last thing i can try
mkdir -p /usr/lib/grub/x86_64-efi
ln -s /usr/lib/grub/i386-pc/modinfo.sh /usr/lib/grub/x86_64-efi/modinfo.sh
at this point
were creating it ourselves
Ahh
R these separate lines
Like commands
Please
mkdir -p /usr/lib/grub/x86_64-efi
ln -s /usr/lib/grub/i386-pc/modinfo.sh /usr/lib/grub/x86_64-efi/modinfo.sh
Done
Abt to do ts
kk
Done
great
No output so I’m assuming no errors
re execute grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
and then grub-mkconfig -o /boot/grub/grub.cfg
lets hope everything works out nw
now*
sigh
grub-mkimage --output=/tmp/core.efi --format=x86_64-efi --directory=/usr/lib/grub/x86_64-efi --prefix="" dummy
Would this fully fix it?
Um
?
So it like gave me another error
great
can you show me your lsblk -f
are you dualbooting
Yes
Nvme0n1
Ohhh nvme0n1p4
Huh
Now I’m confused
Sorry I’m new to Linux
I literally just came off Linux mint
then why is your first attempt gentoo
And Debian
- i have no business in dual booting sorry
- gentoo is for experts
if youre new to linux, please, and i repeat, PLEASE, use something easier
gentoo as a third distro is probably the worst idea possible
not saying this because i dont want you to do gentoo
but because it is not a good idea to start off with the final boss
what do you look for, in a distro?
Like runs kde customisable but doesn’t come with a lot of unnecessary stuff
every distro can run kde
well uhm
since i really respect your wish for distros as hard as gentoo
i reccomend trying out arch linux
and installing it via the archinstall script
or following the manual, tho for newer users like you, archinstall is really good
i could help you through it
Yeah if u don’t mind im eating dinner with my family tho so can i add u
Wait is archinstall just type arch install and that’s all?
I lowkey wanted to learn Linux
you first connect to internet using the iwd ctl tool
then you just type archinstall
and it gives you a few settings in a TUI
That’s hella simple
yuppp, its beginner friendly
i reccomend to then just stay on arch and learn only there, without distrohopping
so you learn something easily and consistently
the hardest part is waiting for emerge -avuDN @world to finish
Yeah
I was tryna get to a compiling step at 2am so I could gts
And have it working but ima just get the arch iso after I eat
Can I add u?
ya