#[solved]help me install grub pls
162 messages · Page 1 of 1 (latest)
is the root partition mounted on /mnt
this is the partition that has all the extra space right?
yes
so is it?
yeah its /mnt
do you have arch installed and you only need to install the bootloader
I think I have everything set up. I had installed arch earlier but didnt install the boot loader, so I started a fresh install where I only have the linux firmware, linux and network manager
of grub, yes
yeah I installed it inside chroot
ok
with grub
are you in chroot rn
no I exited out, cause Network manager is in chroot but I cant start it inside chroot cause it says permission denied something
so youre not inside chroot
yep
did you mount the boot partition before?
did you run mount --mkdir /dev/nvme0n1p1 /mnt/boot before
okay
did you?
no, instead of /mnt/boot i gave it a random name
what name
uh
just a second
you shouldn't do that
bad idea
mkdir /boot/efi
mount /dev/sdb2 /boot/efi
huh
what
you said /dev/nvme0n1p1 is your efi partition
why /dev/sdb2?
cause the text is from an article
what article
mkdir /boot/efi
mount /dev/nvme0n1p1 /boot/efi
this is what I did
ok did you run it outside of chroot
aww fuck, I might've done this:
mount /dev/nvme0n1p1 /mnt/mydrive and this is outsidr chroot
is there a way to check what is in nvme0n1p1?
ok just do umount /dev/nvme0n1p1
okay
did it do something
i think the command got executed
mount --mkdir /dev/nvme0n1p1 /mnt/boot/efi
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
no errors
okay
grub-mkconfig -o /boot/grub/grub.cfg
done
reboot
so I havent added much, I'll still be able to comeback to where I have left right?
it basically just has networkmanager
it wont run inside chroot
and outside it cant find Networkmanager.service
oh
it worked
nvm
yes
i did
but I cant connect using nmtui cause it says could not connect no such file or directory
nvm got it
got it
nice
alright reboot timr
ok
lets go
grub works
bruh
i didnt setup an arch login
its asking me for login
what
try root
doesnt work
why not
i need to reinstall
what
there is no other way around it
i looked up some articles
there is no default password
smh
you can just add a user in arch-chroot
but I cant get in arch-chroot caude its asking me for login
okay , that might work
i am using ventoy, so just enter the iso like normal installation first?
yes
okay
thats your efi partition
did you p3?
yes
okay i am in
first set the root password with passwd
what
did you set the root password to passwd
yeah
do you want to add another user