#[SOLVED]first time installing arch
279 messages · Page 1 of 1 (latest)
Rather large swap partition but yeah that looks fine
Ok thx
Yeah what's the recommend file system for root ext4 right
Or should I use btrfs
Up to you, either would work. Btrfs has a few extra features, which you can read up on
Ahh ok
@spare tendon https://wiki.archlinux.org/title/Btrfs
So any idea on what I did wrong to cause this
@candid loom
you seem to have made a type in linux-firmware
linux-firmware
spelling error
I must have misspleleld it because I typed it out again and it eorked
Yeah I just figured that out
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
@hidden gust
-U has it using the partitions UUID, -L has it using the partition labels
Ahh ok thx
niels_0668 received a thank you cookie!
Should I run mkinitcpio -P
@hidden gust
you should be fine without running it, assuming you just followed the guide
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
@spare tendon are you going to dualboot?
No
@spare tendon then any
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
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)
So just use grub and don't think about it
do you have uefi?
then i would just recommend systemd boot
Ok and what makes that different from grub
slightly easier to install since its already there
Ahh ok
to install it you can run bootctl install
and then check out this to add arch
https://wiki.archlinux.org/title/Systemd-boot#Adding_loaders
im going to bed though so i cant help you for a while
gl with the last couple of steps
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
Getting this error now
Would it be easier to uninstall the stuff I did for system d and to install grub
did you mount your boot partition?
yeah @spare tendon i would recommend making your swap partition somewhat smaller
Yeah I think so that was the mount /dev/nvme0n1p1 /mnt/boot right
Ehh I already partioned the drive seems kinda annoying to change it now, I heard some where that's it's generally a good idea to keep it the same size or bigger then ur ram
idk where you heard that but usually something like 8GiB will suffice
32GiB is very overkill
i have 32G ram and my swap partition is 8G if i recall correctly
or 4G
nvme1n1p3 isnt a uuid, a uuid is a very long string of characters, lsblk --fs should show it
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
Yeah I changed that lemme pull up the file
suit yourself
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
are you using encryption?
initrd should be something like /initramfs-linux.img
Ok I changed it to that I'm going to reboot now
and options should be root=PARTUUID=uuidofpartitionhere
Oh yeah no mine is very long the guide I had it like that for some reason
not sure what guide you were following but i think they were using encryption
which changes that part
I don't see an rw
forgot to mention that
that seems alright
is the uuid that of your root partition?
Yes
can you show output of lsblk --fs?
These are the options I have, the first one is a back up I made when I was messing around
after mounting
is that booting from disk?
Now lsblk isn't a command
Uhh idk I mean I put them under the efi partion so I think so
And pacman isn't recognized so idk how I'm supposed to install crap
can you reboot into a usb?
And ping is recognized but I get errors
Kk
/mnt/etc/mkinitcpio.conf since its from the usb, mb
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
uncomment that line
Kk anything else
Got an error
an amd or intel one
7800x3d
ah okay
try mkinitcpio -P, not just mkinitcpio
wait
chroot first
Uh too lait I ran it
I already did
ah
did it give an error then?
Yeah it ran with no errors
that looks right
this is for microcode for your cpu
Yeah it's giving me a lot of warnings
Idk why my phone is deciding to blow out the image
i wouldnt be too worried about the warnings
Ok so anything else I should do
ping not working isnt weird since youre in an emergency shell
So boot into the USB I assume
yea...
Ok so what now
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)
The root art line in the arch.conf file right t
Got an blkid: unsupported output formate value error
can you show what command you typed in? (with a picture or something)
(pull it out as well)
And ping dosen't work
No using Ethernet
does lspci -v show something ethernet related
I don't think so
lspci -v | grep -i ethernet?
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
can you do this and show the part with the realtek? there should be some related lines under it
oh wait ofc, just lspci -v and find that part if possible
Yeah not possible
Uses up the whole screen many times over
Is it cool if I do this while I'm waiting
yea dw, ill see what i find in the mean time
Kk
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
Kk
Also ping me so I get a notification
I'm also going to have to go to bed somewhat soon
alr
So what do I do now
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
oh btw before you start changing a bunch of things, first update with pacman -Syu
(And reboot for it to take effect)
I would do that but I don't have an Internet connection to update anything
@hidden gust so did u get any ideas
install r8125-dkms
should give you the kernel module for it
and then you might want to use this so it loads automatically
https://wiki.archlinux.org/title/Kernel_module#Automatic_module_loading
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
ah okay
you want to use kde plasma?
https://wiki.archlinux.org/title/KDE
this page has the installation and starting process
then for the login menu
https://wiki.archlinux.org/title/SDDM#Installation
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
Yeah I'm going to get that set up but RN I am dealing with this issue
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
the line at the bottom can be deleted since it both has a syntax error and you already uncommented the line that says the same (only without syntax error)
kk thx
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:
@spare tendon this is why you should use visudo instead of not
ah
dose it matter
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.
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
i mean, whatever you want at this point, you have a functional desktop now
ok well thx for all the help
#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