#Trying to install Arch, but FStab isn't giving me the right info

294 messages · Page 1 of 1 (latest)

formal drum
#

I don't know what's wrong, or if something is wrong, but I don't know what to do, and it doesn't seem like it's outputting the right thing

paper bay
formal drum
#

It is UEFI, what's esp?

paper bay
#

the efi system partition

formal drum
#

Isn't that nvme0n1p1?

#

Wait...

#

# mkfs.fat -F 32 /dev/efi_system_partition

paper bay
formal drum
#

Yeah, it's that one

#

Pretty sure it is

#

Um....yeah

#

/mnt/boot

paper bay
#

you mounted it first instead of /dev/md127

formal drum
#

Yes

#

Or

paper bay
#

it's not actually in /dev/md127's filesystem

formal drum
#

Um...

#

Oh...no, I did md first iirc

paper bay
#

which is why it isnt shown in the genfstab

formal drum
#

Fuck shit, time to fdisk and d everything and try again

paper bay
#

show me lsblk

formal drum
#

Safer to retry the whole thing I think, getting this far is a 5 minute thing

paper bay
#

if it's still mounted on /mnt/boot then yeah

formal drum
#

Ok, rebooting, gonna ssh in, and then do the partitions

paper bay
#

it's just
umount -R /mnt
and then mount it again in the right order

formal drum
#

So, the mount order is...efi swap file-system?

paper bay
#

no
the order is root then esp

#

swap can be put anywhere in that order

formal drum
#

So, file system, then efi, then swap?

paper bay
#

yeah

formal drum
#

So, make partitions, assemble raid, file system, efi, swap

paper bay
#

yeah

formal drum
#

Ok, I think that's where I messed up then

#

Ok...this should be correct

#

Yep, I am lost now

paper bay
#

why?

formal drum
#

I am not sure what to do now

#

Or if I even did it right

paper bay
#

mount /dev/md127 /mnt

#

mount /dev/nvme0n1p1 /mnt/boot

formal drum
#

Failed, wrong fs type

paper bay
#

oh wait you deleted everything aight

formal drum
#

Yes

paper bay
#

mkfs.ext4 /dev/md127

#

mkfs.fat -F32 /dev/nvme0n1p1

#

mount /dev/md127 /mnt

formal drum
#

Ok, so my mistake was making the ext4 file systems BEFORE the raid

paper bay
#

mount /dev/nvme0n1p1 /mnt/boot --mkdir

formal drum
#

Ok, seems good

paper bay
#

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

formal drum
#

This makes a lot of sense now

formal drum
#

One is Sata, the other is NVME

paper bay
#

ok ig that's fine

formal drum
#

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?

paper bay
#

mkswap /dev/nvme0n1p2

#

swapon /dev/nvme0n1p2

formal drum
#

Wait, should I not have changed the "Type" in fdisk?

paper bay
#

but it's ok you can still change their type

formal drum
#

Ok, so change the type of nvme0n1p1 to EFI?

#

But not needed for the rest?

paper bay
#

just unmount /mnt/boot
change the type and moun it again

formal drum
#

I do not like red text

paper bay
formal drum
#

Did it not unmount correct?

paper bay
formal drum
#

Nope, same thing

#

It says it's not mounted, but it still shows "Disk in use"

paper bay
formal drum
#

But, I am touching them?

#

To change the type?

paper bay
#

i mean it in a way like deleting them

formal drum
#

Ah

#

Ok, so change EFI to show EFI, change Swap to show Swap, the two raid partitions can be kept as is right?

paper bay
#

yeah

formal drum
#

Why did it not change it?

#

Oh nvm

#

In fdisk -l it shows up

paper bay
formal drum
#

lsblk -f right?

paper bay
#

anyways
mount /dev/md127 /mnt

#

mount /dev/nvme0n1p1 /mnt/boot

#

swapon /dev/nvme0n1p2

#

then continue with the pacstrap

formal drum
#

Now, this is where I had the most issues

#

Let's see what it does this time

#

Oh um

#

Swap failed

paper bay
#

mkswap /dev/nvme0n1p2

#

then swapon again

formal drum
#

Right

#

I am stressed xd

#

Alright, now for pacstrap

#

Too much?

#

I remove kate

#

Please don't give an error

#

Fuck

paper bay
#

then try again

formal drum
#

Seems it has worked right

#

I think this looks right now?

#

I think it looks right

paper bay
formal drum
#

Ok, now I need a bootloader

#

This refers to....grub?

paper bay
#

yeah

formal drum
#

Oh no, I rebooted before getting a boot loader, now I can't chroot into /mnt

paper bay
#

and mount them again

formal drum
#

Balls

#

I am not sure what I need to do...

paper bay
formal drum
#

Lifesaver

#

Ok, so, getting grub

#

pacstrap -K /mnt grub efibootmgr

#

That?

#

Or pacman -S

#

Pacman -S because I am in ch root yes?

paper bay
#

pacman -S

formal drum
#

Got it

paper bay
formal drum
#

um

#

only the first one

paper bay
#

mount the esp too

#

cus we'll be needing that when installing grub

formal drum
#

mount /dev/nvme0n1p1 /mnt/boot

#

Yes?

paper bay
#

/boot
if youre chrooted

formal drum
#

And also swapon /dev/nvmen1p3

formal drum
paper bay
#

ok

formal drum
#

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 ?

paper bay
#

which is /boot

formal drum
#

Uh

paper bay
#

you can also omit --bootloader-id

formal drum
#

How do I find that

paper bay
#

i already said it

paper bay
formal drum
#

I don't follow

#

Oh

#

I thought it was a question xd

#

grub-install --target=x86_64-efi --efi-directory=/boot

#

Yes?

paper bay
#

yes

formal drum
#

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?

fiery owl
formal drum
#

Mayne

fiery owl
#

that has nothing to do with x11

formal drum
#

Oh

#

Welp back to plugging in the USB

#

This was a little misleading then wasn't it

fiery owl
#

Well generating the grub config was part of the bootloader installation lol

formal drum
#

This is right

fiery owl
#

Anyway, remount the partitions and chroot in

formal drum
#

Sometimes I am dumb

#

Shit, how do I delete this?

fiery owl
#

It was just outputted to stdout, it didn't actually make anything

formal drum
#

Oh ok

fiery owl
#

add -o /boot/grub/grub.cfg to save it

formal drum
#

Ok so, I made the grub file

#

Done

fiery owl
#

make sure you have network manager enabled with systemctl enable NetworkManager, then exit out of chroot and reboot

formal drum
#

I have wired so

#

Oh

#

Service does not exist?

#

But I installed it

#

Ah, case sensitive

formal drum
#

Take out USB?

fiery owl
#

Yeah

formal drum
#

That does not seem normal

fiery owl
#

Try mounting the array to /new_root

formal drum
#

So

#

Mount /dev/md127 /new_root

#

?

fiery owl
#

if that's how you mount it

formal drum
#

Do I type that in there, or in the live environment

fiery owl
#

in the emergency shell

formal drum
formal drum
fiery owl
#

Technically yes, but I'm checking the wiki

formal drum
#

Reassuring

fiery owl
#

It seems you need to add some stuff to the initramfs, so go back to the ISO

formal drum
#

Welp

#

Chrooted in

#

I'm guessing

formal drum
#

Oh

#

Well it still said the same error

fiery owl
#

Did you run mkinitcpio -P

formal drum
#

Yes

#

Oh, right, no kernel image

#

vmlinuz is not set

#

Idk what to do about this

fiery owl
#

You aren't chrooted

formal drum
#

Fucking

#

I am actually stupid please hold lmao

#

Ok, generated

#

Hm....hook mdadm_udev cannot be found

fiery owl
#

You made the mdadm config, right?

formal drum
#

Pretty sure I did

#

Considering I did mdadm --detail --scan >> mnt/etc/mdadm.conf

fiery owl
#

ok, then that's not the issue

formal drum
#

But the file does seem...small

#

This is all that it in it

fiery owl
#

It looks good

formal drum
#

Oh, good

#

So, why error with hook then

fiery owl
#

Do you have the mdadm package installed?

formal drum
#

I...

#

Uh

#

Ugh, it was that

#

Goddamn it

#

Ok, image done xd

#

So, now I need to put these images into....

fiery owl
#

by the way, for the raid0 layout put raid0.default_layout=2 in the kernel parameters

formal drum
#

/boot/loader/entries/arch.conf

fiery owl
formal drum
#

I think

#

aaa

fiery owl
formal drum
#

Where do I put it?

fiery owl
#

GRUB_CMDLINE_LINUX_DEFAULT

formal drum
#

Do I replace the red text?

#

Or add it after?

fiery owl
#

Add it after

formal drum
#

Ok...

#

Done

#

If my OS doesn't explode I will be amazed

fiery owl
#

Wait

formal drum
fiery owl
#

You need to regenerate the grub config

formal drum
#

Oki

#

How

fiery owl
formal drum
#

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

#

Oki

#

Generated

fiery owl
#

Ok, exit out of chroot and reboot

formal drum
#

Remove usb?

fiery owl
#

Sure

formal drum
#

LOGIN

#

YES

#

So, now I move onto this?

fiery owl
#

Yeah

#

You don't need to do everything, but it's good to look through

formal drum
#

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

formal drum
#

I'm not sure why srartx isn't working

fiery owl
#

What's in your .xinitrc?

formal drum
#

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

fiery owl
#

What DE/WM were you trying to install?

formal drum
#

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

fiery owl
#

you should be using a display manager like SDDM

formal drum
#

AAA

#

Idk anymore