#[solved]grub bootloader installation help

240 messages · Page 1 of 1 (latest)

long cobalt
#

De is kde plasma

Arch Linux will not boot show up in boot menu
I've been fiddling with grub and nothing is working

umbral adder
#

ok hi

long cobalt
#

Hi

umbral adder
#

so

#

hmmm

#

ok

#

first thing you should do is activate your swap

#

swapon /dev/sda2

long cobalt
#

Exit out of chroot or stay

umbral adder
#

stay

#

doesnt matter i think

#

next thing to do will be mounting your EFI partition

mount --mkdir /dev/sda1 /mnt/boot

because it looks like from your screenshot that sda1 wasn't mounted

#

then, double check all partitions in sda1 have something next to them, boot, or swap, or just /

#

lsblk

long cobalt
#

It said swap header failed

#

I don't even know anymore

umbral adder
#

you can come back and fix swap later..

#

i have never seen an issue with that

long cobalt
#

I'll do mkdir next then

umbral adder
#

did you chroot into your system yet?

#

im guessing yes

long cobalt
#

It worked

umbral adder
#

ok cool

#

can you show lsblk?

long cobalt
umbral adder
#

oh shit

#

did you chroot?

long cobalt
#

Yes I'm in chroot

umbral adder
#

ok sorry

#

in that case, run
umount /dev/sda1 then
mount --mkdir /dev/sda1 /boot

#

i made a mistake, sorry

#

this will unmount your boot partition and remount it to the correct file location

#

did you set the correct time, locale, etc?

#

did you install all the packages you want?

long cobalt
#

Ok done

#

Yes I did

umbral adder
#

okay

long cobalt
#

I made a user account and pass

#

Set the time and language

umbral adder
#

okay

#

did you set the time and locale?

long cobalt
#

Yes

umbral adder
#

okay

#

so the only other thing that probably has to happen is to redo genfstab

long cobalt
#

Ok

umbral adder
#

because we changed our partition layout

#

so run:
genfstab -U / >> /etc/fstab

#

@nova python hi there am i teaching bad

nova python
umbral adder
#

i see

#

@long cobalt did you have that issue

nova python
#

so I would just do that last after exiting chroot

umbral adder
#

okay

long cobalt
#

Oh ok

umbral adder
#

ok

#

so now we're back to the original problem

#

which was grub-install

#

you want
grub-install --target=x86_64-efi --efi-directory=/dev/sda1/boot --bootloader-id=GRUB

long cobalt
#

Go back to chroot

umbral adder
#

what?

long cobalt
#

Do I type all of that in chroot

umbral adder
#

pretty sure yes

long cobalt
#

Ok

nova python
#

it should be the mountpoint of the efi system partition

umbral adder
#

shit sorry

#

i think i fixed it.?

long cobalt
#

Ok this happened when I went to chroot

umbral adder
#

this is a little scuffed now

#

lol

#

which is probably my fault

nova python
#

can we pause for a bit I can't type this fast

long cobalt
#

Ok

nova python
umbral adder
nova python
nova python
umbral adder
#

@long cobalt you are NOT in chroot right?

long cobalt
#

I'll exit out

nova python
#

I think they are

#

the fstab warnings can be ignored I think

long cobalt
#

Ok back to the regular

umbral adder
#

nevermind then, my bad

#

you can chroot

#

for grub install (according to @nova python
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB

#

after you chroot

long cobalt
#

Ok

umbral adder
#

report back soldier

long cobalt
#

Do I space -id

umbral adder
#

no

long cobalt
#

Ok

umbral adder
#

that command should be typed exactly as is

long cobalt
#

Ill show you what I wrote before I press enter

umbral adder
#

okay

long cobalt
umbral adder
#

it looks perfect

nova python
#

looks good to me

long cobalt
#

Ok pressing enter

#

It's still saying doesn't exist

nova python
#

show

long cobalt
#

I dont know what I possibly could have done

umbral adder
#

oh

#

you missedd the x lol

#

x86, not 86

zealous nexus
#

this is why I recommended pop-os instead of arch

long cobalt
umbral adder
#

im sorry i didnt catch that

nova python
#

I think there still might be a prob with the mounts

umbral adder
#

it wouldn't surprise me

nova python
long cobalt
#

Oh I did lol

#

How did I not catch that

nova python
#

esp is at /mnt/mnt/boot

#

if that's still the case then it'll fail

umbral adder
#

ah

#

youre so right

nova python
#

did it fail?

umbral adder
#

why would this not fix it?

nova python
#

it would fix it, I just haven't read most of the context for this

long cobalt
#

It went through

#

But it said installation failed

nova python
#

then you can move on

#

oh

long cobalt
#

New problem lol

nova python
#

so it didn't go through

umbral adder
#

send image

nova python
#

show

long cobalt
umbral adder
#

it says NO error reported

long cobalt
#

Oh ist finished

nova python
long cobalt
#

I'm sorry my mind just expects failure

umbral adder
#

its okay

#

grub-mkconfig -o /boot/grub/grub.cfg

#

last thing

nova python
#

hallucinating

long cobalt
#

I saw erroband went into a panic

umbral adder
#

probably then have to exit chroot and fix fstab

long cobalt
#

But it was no error lol

nova python
long cobalt
#

Ok

nova python
#

and you should be able to boot after

umbral adder
#

assuming everything else was done correctly - which i'll take your word for - you can unmount everything and reboot

umbral adder
long cobalt
#

So had to step out for a second

umbral adder
#

or does it matter

#

actually ngl idk difference between > and >>

nova python
umbral adder
nova python
umbral adder
#

final check for any nuclear issues

nova python
#

yeah dont care

#

wiki yap

long cobalt
#

Back had to get water

#

And use bathroom

#

Do the grub-mkconfig?

umbral adder
#

yeah

#

then exit chroot and rerun the genfstab thing

#

scroll up for the exact commands

long cobalt
#

This good

nova python
#

extra space at /mnt/etc

long cobalt
#

Ok

#

Ok went through

#

What do unmount

#

Also when I reboot

#

Plug the usb out right ?

full rampart
#

if the login page greets you

long cobalt
#

@nova python what do I unmount

umbral adder
#

hi hi

#

umount -R /mnt

#

this is optional btw

#

you can just reboot if you want

nova python
umbral adder
#

success..?\

#

i give it 50/50

long cobalt
#

Ok

#

Ok here we go

#

It worked

full rampart
#

🥳

umbral adder
#

CONGRATS!!!!!

#

good job!

zealous nexus
#

... solved

flint lilyBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you

zealous nexus
#

@long cobalt

long cobalt
#

God

umbral adder
#

@long cobalt if you have any more questions you can add me and DM

long cobalt
#

Thankyou all so much

umbral adder
#

or you can just open more forum posts here!

#

people are very willing to help

long cobalt
full rampart
#

lmao

long cobalt
#

I'll add you tha k you so much

umbral adder
#

@nova python i was worried that would fail catastrophically after you pointed out the weird lsblk

long cobalt
#

I havent eaten dinner yet lol

#

I need a nap

#

[solved]grub bootloader installation help

#

I'm never doing that again

nova python
#

it gets easier each time

umbral adder
#

yep

#

@long cobalt

full rampart
#

lmao

long cobalt
#

I'm putting fedora or mint on my laptop

nova python
#

until you hit the skill ceiling and can do it from memory

umbral adder
#

are you a non-native english speaker?

full rampart
#

watch him break it 🤣

#

😂

long cobalt
#

Yeah

full rampart
#

😹

umbral adder
long cobalt
#

From Jamaica

#

Moved to us

umbral adder
#

very cool, you speak well

#

gentoo install is actually the same pretty much

nova python
long cobalt
#

You did Gentoo is eaiser

full rampart
#

lmao

nova python
#

americans don't speak english though

umbral adder
#

YO WHAT

zealous nexus
long cobalt
#

It's a broken English yeah

umbral adder
#

sorry....

long cobalt
#

I'm off to eat now

umbral adder
full rampart
#

ew

umbral adder
zealous nexus
#

@umbral adder @full rampart @nova python -> #off-topic

umbral adder
#

okay

nova python
#

thumbs down for this shit

umbral adder
#

what a party pooper