#trouble installing arch

1 messages · Page 1 of 1 (latest)

simple bolt
#

did you unplug the usb? lol

unkempt crow
#

yea

sleek gorge
#

what is your bootloader?

unkempt crow
#

idk thats the problem

#

its my first time

sleek gorge
unkempt crow
#

grub

sleek gorge
#

I don't know if archinstall script does or doesn't put --removable in there

#

you mentioned it's MSI, sometimes that's needed because they don't follow UEFI standards or some shit?

#

.aw grub

granite moatBOT
unkempt crow
#

i followed this vid

#

Install ArchLinux on Gaming Laptop. Arch linux Installation 2023. Recently, I bought Hp Gaming Laptop that ships with windows 11, I detest using it and decided to install arch linux. If you want to install arch linux on any laptop or pc then this is the easiest method to follow & setup arch linux in 2023.

Read My Blog Post
Step By Step Arc...

▶ Play video
sleek gorge
#

so it could be worth chrooting in and running this command (with your efi partition mounted):
grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB --removable

Remember to change --efi-directory=esp so that esp is the mountpoint of your efi partition

sleek gorge
#

.aw installation_guide

granite moatBOT
unkempt crow
#

im stuck in bios

sleek gorge
#

do you understand what I'm asking you to do?

unkempt crow
#

not exactly

sleek gorge
#

okay, you might in general struggle with arch if you're not sure what all of these things mean, but I'll do my best to explain

#

you have at least 2 partitions, 1 is your bootloader, the other is your root. You may have other partitions (like a seperate one for home or swap, or for other operating systems).
The bootloader will generally be less than 1GB. It is where grub gets installed to.
The other is your root, and will be much bigger.

When you go into the ISO (the USB stick) and enter the environment for installing arch, you can run a lot of commands, because a lot of programs are installed on the ISO.
For instance:
lsblk -f would show you your partitions, their UUID (don't worry about that right now) and their mount point.

You traditionally would then mount the root partition you already have, as arch is installed, to /mnt
Then you would mount your boot partition to either /mnt/boot or /mnt/boot/efi

The exact command will depend on what filesystem your root partition is using, but if it was ext4 it'd be as simple as:
mount /dev/<root partition> /mnt
and then
mount /dev/<efi partition> /mnt/boot
As an example

from there you would simply do the command:
arch-chroot /mnt which takes you into your install environment. Note you have moved from / to /mnt, but you're in a chroot environment, so you treat the directories as if you are just loaded normally.

the mountpoint here for /mnt/boot would thus lose the /mnt to become /boot

After that, you would run this command:
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --removable
Notice how I choose the /boot as the efi-directory.

After that you probably want to double check the initramfs are installed correctly:
pacman -S linux if you're using the stock kernel.
Followed by:
grub-mkconfig -o /boot/grub/grub.cfg - note that this command will not change regardless of if you installed the bootloader with the mount /boot or /boot/efi

unkempt crow
#

i hope you can bare with me bc im still a beginner

sleek gorge
#

As I say you need to Mount before you can chroot

#

Oh and it’s btrfs

unkempt crow
#

whats my root partition

sleek gorge
#

So I assume that means you have subvolumes setup

unkempt crow
#

yea

#

i did neofetch successfully

sleek gorge
#

Your efi will be nvme0n1p1 and your root will be nvme0n1p2

#

Do you know what sub volumes are setup?

unkempt crow
#

idk

sleek gorge
#

I can’t really help much more right now as I’m on mobile now. Sorry about that. But arch is a very manual distro, I do think you might learn a lot more if you follow the wiki installation guide above and do a manual install instead

unkempt crow
#

ok ill try

sleek gorge
#

If you don’t know what sub volumes are I think you’re missing a lot of the point of btrfs, might be better sticking with ext4, but your choice entirely

unkempt crow
#

I used archinstall so yea im missing out so much

sleek gorge
#

If you do do a manual install I recommend making a new thread, and asking questions there.
And if you do decide what partitions you want, what filesystem you want, what DE you want, what drivers you think you’ll need (especially relevant if nvidia gpu)

#

Encryption or no encryption

#

Etc.