#newbie try to install grub (Closed)

181 messages · Page 1 of 1 (latest)

fringe wolf
#

create a 500MB FAT32 partition

#

and mount it to /mnt/boot/efi

north dagger
#

make it 512

#

bcoz 512 is a nice number

fringe wolf
#

ok so sda1 is your efi partition, not your system partition ._.

#

soo

#

remove /mnt/boot

#

no

#

unmount /dev/sda3

#

so you are sure sda1 is mounted to /mnt?

#

then rm /mnt/boot

#

and just use /mnt as the grub command partition

fringe wolf
north dagger
#

ew

#

outta here

fringe wolf
#

498 haha

#

yuck that's even worse

north dagger
#

blocked.

fringe wolf
#

haha

#

bro that gif is weird

#

how long does it take for one cycle damn

#

so is it working?
I'm tired af

#

then just get this over with

#

rv

#

bruh ok wtdf

#

nothing is correct

#

run lsblk

#

weird ass

#

sda1 is not mounted bruh

#

sda3 is mounted

#

the hell are you talking about

#

fine leave it

#

mount /dev/sda1 /mnt/boot/efi

#

ok

#

run teh grub command

#

but with /mnt/EFI

#

right

#

scuffed setup

#

ok let's try something else

#

mount /dev/sda3 /mnt

manic cliff
#

Ok buddy I know the problem

fringe wolf
#

weird partition layout I'd say

#

I'd say move the contents /dev/sda1 to /dev/sda3/boot and mount /dev/sda1 to /dev/sda3/boot/EFI

manic cliff
#

Mount the boot partition to /dev/boot/efi

#

Instead of just efi

#

Also just /boot works iirc

fringe wolf
#

agh it's all fucked up

fringe wolf
manic cliff
#

It works on my system

#

And that's what it says in the wiki

#

(/dev/boot)

fringe wolf
#

/boot as the efi partition??

manic cliff
#

/dev/boot

fringe wolf
#

what is /dev/boot

manic cliff
#

Oh sorry I meant /mnt/boot

#

Smh

fringe wolf
#

grub clearly complains

#

because that's what it is rn

manic cliff
#

I usually do either /mnt/boot but if it doesn't work I do /mnt/boot/efi

#

Does he have a directory for /mnt/boot/efi? He probably needs to make one

fringe wolf
#

I mean I guess @manic cliff try the grub command but just with /mnt as installation directory

manic cliff
#

He's installing grub to /mnt/efi

#

Not /mnt/boot

fringe wolf
#

/mnt is /dev/sda1 = /boot

#

run lsblk

manic cliff
#

Yea

fringe wolf
#

the fuck is going on

manic cliff
#

We are talking about different mnt points

#

Run lsblk

fringe wolf
#

why the hell

manic cliff
#

What the fuck 😅

fringe wolf
#

umount /dev/sda1

#

oh no wait

#

/dev/sda3 is scuffed

#

mnt but also root

#

what the fuck

#

also why do I suspect that /dev/sdb is your archinstall installation?

#

I don't think you can

#

you just fucked up a lot

#

just gave me a heart attack

#

"oops failed, formatted the drive"

fringe wolf
#

lsblk

manic cliff
#

...

hidden stumpBOT
#

Too few arguments for command note!
Usage: .note <name>

fringe wolf
#

fuck why did it not do that

manic cliff
#

umount -R instead?

fringe wolf
#

umount /mnt -R

manic cliff
#

Probably?

#

umount -R /mnt

fringe wolf
#

umount -A /dev/sda1

#

that should work

#

lsblk?

#

yes!

#

actually

#

whate exactly are you trying to do here?

#

installing the bootloader for /dev/sdb?

#

which drive

#

is root

#

then run your grub command, but set the efi mount to /mnt and add /dev/sdb3 at the end

#

so it actually installs for /dev/sdb3 and not /dev/sda3

#

no

#

grub-install --efi-directory=/mnt/ /dev/sda3

#

should work

#

try mount

#

what does it output?

manic cliff
#

/mnt/boot mannn

#

I'm telling you

#

/mnt is his root partition

fringe wolf
#

/mnt is his boot partition

#

sda3 is root

#

sda1 is boot

#

sda1 is 500 megs man

manic cliff
#

So if he mounted boot to /mnt
Where is his root partition?

fringe wolf
#

/dev/sda3

manic cliff
#

No, like where is it mounted

fringe wolf
#

I don't think it's needed for teh installation

#

it only wants a device

#

not a mount point

manic cliff
#

Smh there is no reason to mount boot at /mnt

fringe wolf
#

tehre is no reason to mount the root partition for nothing

manic cliff
#

He should have mounted root partition so the other files, such as /dev could appear

fringe wolf
#

ugh

#

/dev is generated at runtime, no?

#

well that didn't help

#

ls /mnt

#

yeah I know

#

fucking hell what is going on

#

lsblk

#

mount /dev/sda1 /mnt

#

ls /mnt

#

WHY IS IT UNMOUNTD NOW

#

fucking dickhead os

#

nothing makes sense

#

FINALLY

#

run grub-install again

#

try /mnt and /mnt/EFI just in case

#

try both

#

in case it matters

#

oh!

#

then nvm for EFI

#

pacman -S efibootmgr

#

good sign

#

last step

#

to set your mobo tzo boot it

#

also take a picture of the full command

#

grub-install I mean

#

add /dev/sdb3 or whatever at the end, as to point it to your correct root partition

#

currently it will try to boot your iso

#

oyu need to set it to boot your actual root partition

#

did you add /dev/sb3 at the end?

#

or whatever your actual root drive is?

#

no

#

what is the device you want to boot? lsblk

solar spear
#

You don't need to do that for UEFI

fringe wolf
#

you don't?

#

I have no idea, so you tell me

solar spear
#

And it's the device name on BIOS anyway

fringe wolf
#

I'm just going off past experiences and grub command syntax

solar spear
#

This seems to have worked fine

fringe wolf
#

well then go reboot I guess

solar spear
#

Have you generated the GRUB config?

fringe wolf
#

grub-isntall should do that, shoulnd't it?

solar spear
#

No

#

You need to run grub-mkconfig -o /boot/grub/grub.cfg before rebooting

fringe wolf
#

not /etc/default/grub?

solar spear
#

Oops I meant .cfg, not .cff

fringe wolf
#

yes

#

I'd say

#

worst case would be to boot back into the iso and fix something

#

if that isn't the grub fuckup

solar spear
#

Do you see anything related to GRUB or Arch in your boot entries?

fringe wolf
#

^

#

ok I need to go. good luck I'm almost falling off my chair

tight peak
#

@manic cliff I feel bad for you having to deal with grub and then having to use Discord on phone and making photos

solar spear
#

You can chroot in from Mint by the way, just install the arch-install-scripts package

#

But chroot in, mount all your partitions, and show me the contents of /boot