#Trying to install Arch, but FStab isn't giving me the right info
294 messages · Page 1 of 1 (latest)
is this uefi?
if so where's your esp
It is UEFI, what's esp?
the efi system partition
did you mount it first?
you mounted it first instead of /dev/md127
it's not actually in /dev/md127's filesystem
which is why it isnt shown in the genfstab
Fuck shit, time to fdisk and d everything and try again
Safer to retry the whole thing I think, getting this far is a 5 minute thing
if it's still mounted on /mnt/boot then yeah
nah you dont need to
Ok, rebooting, gonna ssh in, and then do the partitions
it's just
umount -R /mnt
and then mount it again in the right order
So, the mount order is...efi swap file-system?
So, file system, then efi, then swap?
yeah
So, make partitions, assemble raid, file system, efi, swap
yeah
Ok, I think that's where I messed up then
Ok...this should be correct
Yep, I am lost now
why?
Failed, wrong fs type
oh wait you deleted everything aight
Yes
Ok, so my mistake was making the ext4 file systems BEFORE the raid
mount /dev/nvme0n1p1 /mnt/boot --mkdir
Ok, seems good
also are you creating a raid0 array between an ssd and hdd?
cus that's kinda bad performance wise
the hdd will just bottleneck the whole array
This makes a lot of sense now
Two SSDs
One is Sata, the other is NVME
ok ig that's fine
The speeds don't really matter, I only need fast speed for video editing, and I have a NAS for that anyway
So, is ok
I should probably swapon?
Wait, should I not have changed the "Type" in fdisk?
not necessary for the swap
but for the esp you should
but it's ok you can still change their type
just unmount /mnt/boot
change the type and moun it again
yeah
but i ig you should also change the type for raid devices
to make it be easier to get detected
Did it not unmount correct?
quit
and unmount /mnt too
that's because /mnt was still mounted and
the raid array is still open
but it's fine as long as you dont touch the partitions
i mean it in a way like deleting them
Ah
Ok, so change EFI to show EFI, change Swap to show Swap, the two raid partitions can be kept as is right?
yeah
lsblk alone doesnt show the type
lsblk -f right?
anyways
mount /dev/md127 /mnt
mount /dev/nvme0n1p1 /mnt/boot
swapon /dev/nvme0n1p2
then continue with the pacstrap
Now, this is where I had the most issues
Let's see what it does this time
Oh um
Swap failed
Right
I am stressed xd
Alright, now for pacstrap
Too much?
I remove kate
Please don't give an error
Fuck
yeah
yeah
assemble the array if it isnt assembled in
lsblk
and mount them again
.
Lifesaver
Ok, so, getting grub
pacstrap -K /mnt grub efibootmgr
That?
Or pacman -S
Pacman -S because I am in ch root yes?
pacman -S
Got it
did you mount /mnt
and /mnt/boot?
/boot
if youre chrooted
And also swapon /dev/nvmen1p3
I exited
ok
Ok. phew
grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB
What does "directory=esp" refer to?
/dev/nvme0n1p1?
Or just grub-install ?
where the esp is mounted
which is /boot
Uh
you can also omit --bootloader-id
How do I find that
i already said it
.
I don't follow
Oh
I thought it was a question xd
grub-install --target=x86_64-efi --efi-directory=/boot
Yes?
yes
No errors reported
Now, how do I get into a DE?
Oh boy...
Right, need x11
So, what do I do now about DE stuff?
You need to generate the GRUB config
Mayne
that has nothing to do with x11
Well generating the grub config was part of the bootloader installation lol
This is right
Anyway, remount the partitions and chroot in
It was just outputted to stdout, it didn't actually make anything
Oh ok
add -o /boot/grub/grub.cfg to save it
make sure you have network manager enabled with systemctl enable NetworkManager, then exit out of chroot and reboot
I have wired so
Oh
Service does not exist?
But I installed it
Ah, case sensitive
Ok, rebooting
Take out USB?
Yeah
Try mounting the array to /new_root
if that's how you mount it
Do I type that in there, or in the live environment
in the emergency shell
Well idk, I'm asking
You're telling me to do something you're not sure about?
Technically yes, but I'm checking the wiki
Reassuring
It seems you need to add some stuff to the initramfs, so go back to the ISO
Oh
What do I do at https://wiki.archlinux.org/title/RAID#RAID0_layout
Well it still said the same error
Did you run mkinitcpio -P
You aren't chrooted
Fucking
I am actually stupid please hold lmao
Ok, generated
Hm....hook mdadm_udev cannot be found
You made the mdadm config, right?
ok, then that's not the issue
It looks good
Do you have the mdadm package installed?
I...
Uh
Ugh, it was that
Goddamn it
Ok, image done xd
So, now I need to put these images into....
by the way, for the raid0 layout put raid0.default_layout=2 in the kernel parameters
/boot/loader/entries/arch.conf
Where
/etc/modprobe.d/?
That's for systemd-boot
no, /etc/default/grub
Where do I put it?
GRUB_CMDLINE_LINUX_DEFAULT
Add it after
Wait

You need to regenerate the grub config
This
Ok, exit out of chroot and reboot
Remove usb?
Sure
Ok now um
Ok, I am root and logged in
And I am...going to finish the rest tomorrow
But now I just need to make a new user, install a DE, and pray shit works
I'm not sure why srartx isn't working
What's in your .xinitrc?
I give up...I'm gonna have my friend SSH into it, because he installed it in 5 minutes no problems
I have been totally defeated
What DE/WM were you trying to install?
KDE Plasma
I think I messed up something with the raid, so he's gonna do the raid AFTER with a symlink
3 days wasted trying to do this
Idk...the install guide is...too difficult to understand
Especially for someone with reading comprehension difficulties
why are you using startx for plasma?
you should be using a display manager like SDDM