#[SOLVED]first time installing arch

279 messages · Page 1 of 1 (latest)

spare tendon
#

Just the support post I am making for all the issues I am having for installing arch first I wanted to just make sure that this look right for how I should partion my drive

candid loom
#

Rather large swap partition but yeah that looks fine

spare tendon
#

Ok thx

#

Yeah what's the recommend file system for root ext4 right

#

Or should I use btrfs

candid loom
#

Up to you, either would work. Btrfs has a few extra features, which you can read up on

spare tendon
#

Ahh ok

patent grail
spare tendon
#

So any idea on what I did wrong to cause this

patent grail
#

@candid loom

hidden gust
spare tendon
#

Oh yeah I did

#

Well a new error

#

Actually same error

patent grail
patent grail
spare tendon
#

I must have misspleleld it because I typed it out again and it eorked

spare tendon
#

Thx tho

#

What exactly is the difference between -U and -L for fstab, I skinned the arrival that was linked to it on the arch wiki but it didn't mention -U or -L

patent grail
#

@hidden gust

hidden gust
plucky portalBOT
#

niels_0668 received a thank you cookie!

spare tendon
#

Well worth a shot

spare tendon
#

Should I run mkinitcpio -P

patent grail
#

@hidden gust

hidden gust
#

you should be fine without running it, assuming you just followed the guide

spare tendon
#

Kk thx

#

Yeah for boot loaders what should I consider for choosing, I've used grub before as it's what was included with fedora but idk what the difference are for all the others

patent grail
#

@spare tendon are you going to dualboot?

spare tendon
#

No

patent grail
#

@spare tendon then any

spare tendon
#

That's the hardest answer because idk what makes any of them different

#

Like why Is grub the most used, it just the best for most people or it just kinda like how the default de for alot of distros is gnome idk

hidden gust
#

The strength of GRUB is the wide range of supported platforms, file systems, and operating systems, making it the default choice for distributions and embedded systems

from wikipedia

#

(though i just use systemd-boot, just easier to install since it comes with base anyways)

spare tendon
hidden gust
#

do you have uefi?

spare tendon
#

Yeah

#

Using an am5 mobo

hidden gust
#

then i would just recommend systemd boot

spare tendon
#

Ok and what makes that different from grub

hidden gust
#

slightly easier to install since its already there

spare tendon
#

Ahh ok

hidden gust
#

im going to bed though so i cant help you for a while

#

gl with the last couple of steps

spare tendon
#

Kk gn

#

Yeah I'm getting confused on what I am supposed to do after the install command

#

Is this what I am supposed to do and what the output is supposed to look like

spare tendon
#

Should this file look like this

spare tendon
#

Yeah I got an error when booting here are the 2 config files

spare tendon
#

Getting this error now

spare tendon
#

Would it be easier to uninstall the stuff I did for system d and to install grub

hidden gust
arctic apex
spare tendon
spare tendon
arctic apex
#

32GiB is very overkill

#

i have 32G ram and my swap partition is 8G if i recall correctly

#

or 4G

hidden gust
# spare tendon

nvme1n1p3 isnt a uuid, a uuid is a very long string of characters, lsblk --fs should show it

spare tendon
#

Ahh ok seems like it would be annoying to change and I normally have an extra 300~ GB on this drive so ehh. I have 4 other drives including a 12tb HDD I pretty much just use it as a home folder minutes documents and downloads and for the games I play the most

spare tendon
spare tendon
#

Yeah it seems weird there dosen't appear to be anything in my /boot folder

#

There certainly was befor

#

Wait I never moved to the thingy

#

Yeah that explains it there stuff there

#

Yeah heres the file

hidden gust
#

are you using encryption?

spare tendon
#

No

#

I I formated the disks the way the wiki wanted I think

#

I just used cfdisk

hidden gust
#

initrd should be something like /initramfs-linux.img

spare tendon
#

Ok I changed it to that I'm going to reboot now

hidden gust
#

and options should be root=PARTUUID=uuidofpartitionhere

spare tendon
#

Oh yeah no mine is very long the guide I had it like that for some reason

hidden gust
#

not sure what guide you were following but i think they were using encryption

#

which changes that part

spare tendon
#

Ok thx

#

@hidden gust so like this

hidden gust
#

oh add a space after the uuid and rw

#

so like
options root=PARTUUID=thatpartuuid rw

spare tendon
#

I don't see an rw

hidden gust
#

forgot to mention that

spare tendon
#

Ah ok

#

So like this

hidden gust
#

that seems alright

spare tendon
#

Kk thx

#

Seems to be working, is it supposed to be like this

hidden gust
#

def not normal

#

can you boot back into the usb?

spare tendon
#

Ok lemme reboot via the button I. My pc

#

Idk how but this shit always happens to me

hidden gust
#

is the uuid that of your root partition?

spare tendon
#

Yes

hidden gust
#

can you show output of lsblk --fs?

spare tendon
#

These are the options I have, the first one is a back up I made when I was messing around

hidden gust
#

after mounting

spare tendon
spare tendon
#

And pacman isn't recognized so idk how I'm supposed to install crap

hidden gust
#

can you reboot into a usb?

spare tendon
#

And ping is recognized but I get errors

spare tendon
#

I'm in the USB drive now

hidden gust
#

and after show /etc/mkinitcpio.conf

#

you shouls mount them again first tho

spare tendon
#

Kk

hidden gust
spare tendon
#

Yeah the whole things is all commented out, here the only part that isn't

#

FYI I mounted everything

#

Wait I forgot the chroot thingy

#

Yeah no same output

spare tendon
#

Kk anything else

hidden gust
#

then run mkinitcpio -P

#

what cpu do you have?

spare tendon
#

Got an error

hidden gust
#

an amd or intel one

spare tendon
hidden gust
#

ah okay

spare tendon
hidden gust
#

wait

#

chroot first

spare tendon
#

Uh too lait I ran it

spare tendon
hidden gust
#

ah

hidden gust
spare tendon
#

Yeah it ran with no errors

hidden gust
#

nice

#

do 'pacman -S amd-ucode`

spare tendon
hidden gust
#

that looks right

hidden gust
spare tendon
#

Yeah it's giving me a lot of warnings

#

Idk why my phone is deciding to blow out the image

hidden gust
spare tendon
#

Ok so anything else I should do

hidden gust
#

i hope i didnt forget anyrhing

#

but i think you can just reboot noe

#

hopefully

spare tendon
#

Ok hopefully it works

#

Yeah same thing as before

hidden gust
#

ping not working isnt weird since youre in an emergency shell

spare tendon
#

So boot into the USB I assume

hidden gust
#

yea...

spare tendon
#

Ok so what now

hidden gust
#

after mounting and chrooting,
could you delete the root=partuuid line?
then run
echo "options root=PARTUUID=$(blkid -s PARTUUID -o value /dev/partitionname) rw" >> /path/to/that/config/file.conf
changing partitionname to the root partition and that last path to the actual file (should be something like /boot/loader/entries/arch.conf)

spare tendon
#

The root art line in the arch.conf file right t

hidden gust
#

it should be the bottom line

#

after show the .conf again

spare tendon
#

Got an blkid: unsupported output formate value error

hidden gust
#

can you show what command you typed in? (with a picture or something)

spare tendon
#

It looks like it did something tho

hidden gust
#

if you remove that line again

#

you made a typo in the command

#

spelled value wrong

spare tendon
#

Oh that sounds like something I would do

#

Yeah it ran with out any error reboot now

hidden gust
#

wait

#

check the conf file

#

just to be sure

spare tendon
hidden gust
#

seems correct i think

#

reboot without the usb?

spare tendon
#

So reboot

#

Kk

hidden gust
#

(pull it out as well)

spare tendon
#

So it's asking me to login but I never made a user just a password

#

Ahh it's root

hidden gust
#

use root as user for now then

#

and use that pw

spare tendon
#

And ping dosen't work

hidden gust
#

wifi?

#

or ethernet

spare tendon
#

No using Ethernet

hidden gust
#

try ping archlinux.org

#

does that work?

spare tendon
#

Nope

hidden gust
#

does lspci -v show something ethernet related

spare tendon
#

I don't think so

hidden gust
#

lspci -v | grep -i ethernet?

spare tendon
#

Yeah it gives one

#

Realtek RTL8125

#

Ah I've heard realtek has issues on Linux well I have a Intell WiFi card if that's any easier for setting stuff up

hidden gust
spare tendon
hidden gust
#

oh wait ofc, just lspci -v and find that part if possible

spare tendon
#

Yeah not possible

#

Uses up the whole screen many times over

#

Is it cool if I do this while I'm waiting

hidden gust
spare tendon
#

Kk

hidden gust
#

try lspci | grep -A 5 -i ethernet

#

should show the line along with 5 lines after which should show the module its using

#

i hope

spare tendon
#

Kk

#

Also ping me so I get a notification

#

I'm also going to have to go to bed somewhat soon

spare tendon
#

So what do I do now

hidden gust
#

might help

#

i have to go for a while tho

spare tendon
#

Kk I'll go to sleep after I try this then

#

Yeah that's too much for my brain to take in RN it's bed time so gn

hidden gust
#

oh btw before you start changing a bunch of things, first update with pacman -Syu

#

(And reboot for it to take effect)

spare tendon
hidden gust
#

good point lol

#

kinda forgot

#

somehow

spare tendon
#

@hidden gust so did u get any ideas

hidden gust
#

install r8125-dkms

#

should give you the kernel module for it

spare tendon
#

Ok I got it working

#

Can someone tell me all the things I should prolly also install for a daily drive system

#

I think I broke pacman

#

Ok I fixed that

hidden gust
hidden gust
hidden gust
#

then for applications you might want it depends on your use case, but i would recommend a file manager like dolphin, a text editor like kate, a terminal like konsole

#

and probably firefox

spare tendon
#

Idk everything I can find says that's what's I'm supposed to do to enable every user in the wheel group to be able to use sudo

spare tendon
hidden gust
spare tendon
#

kk thx

patent grail
spare tendon
# patent grail how did you edit this?

EDITOR=nano visudo
but that kept on giving me errors so i jsut ran nano /etc/sudoers on the arch iso, but now i get an error every time i use sudo but it still works

#
/etc/sudoers.d/99_wheel:1:21: syntax error
%wheel ALL=(ALL:ALL)
                    ^
[sudo] password for C2: 
patent grail
#

@spare tendon this is why you should use visudo instead of not

patent grail
spare tendon
#

ahh so i should prolly fix it

#

uhh how do i do that

patent grail
# patent grail yes

The configuration file for sudo is /etc/sudoers. It should always be edited with the visudo command. visudo locks the sudoers file, saves edits to a temporary file, and checks it for syntax errors before copying it to /etc/sudoers.

spare tendon
#

it would always giove me a syntax error but now that i changed it i have sudo privilges on my acount from what i can tell i was editing the file correctly by jsut un commenting the existing file

#

is there anything else i should install or setup

hidden gust
#

i mean, whatever you want at this point, you have a functional desktop now

spare tendon
#

ok well thx for all the help

hidden gust
#

dw

#

... solved

safe saddleBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you

spare tendon
#

ok i liltary jsut got a new issue

#

so i changed to the steam familes beta and now steam refuses to use the old icon and refuses to let me pin it to the taskbar, this also happened to me on fedora

#

so i have 2 steam icons on my taskbar

#

ehh i'm a make a new ticket