#I'm installing for first time
393 messages ยท Page 1 of 1 (latest)
Help plz
What should I do?
It looks like I don't have enough space for the swapfile
"I run Arch!" You hear everyone else saying it, now you can say it too! In this video, we'll go through the process of setting up Arch Linux from scratch. It'll start at the command-line, and we'll build the installation all the way up to a full desktop environment! The GNOME, Xfce, Plasma, and MATE desktop environments are all covered. In addit...
It seems you have skipped quite a lot of steps before attempting to create the swapfile
Why do you even need a swapfile? A swap partition is not sufficient?
You should follow the official install instructions on the wiki
I have the feeling all the shit I did got fucked
How do I check if I even have arch installed?
I made two partitions
And installed some stuff
And edited sone files
you're trying to create a swapfile on archiso not the installed system
also you can worry about swap post-installation anyways, if you want you can just skip that step
If you have restarted your system you must remount those partitions to be able to access them with the installer. If you installed a bootloader already you should remove your install media before continuing
Does this mean take my usb with arch in it out
If you have installed a bootloader, yes
if you have an installation and have configured grub, then it should boot
do you have shit mounted
Don't think so
mount it then
I was mounting earlier
mkdir -p /mnt/boot
then mount /dev/sdXY /mnt/boot
you have to remount every time you restart the computer
Special device dev/sdxt doesn't ecist
i meant xy as a placeholder
Dmesg1 may have more info after failed mount system call
yeah after the install is complete it's automatic, but before it's complete and you boot up to the installation medium you need to remount
do lsblk to list drives
you'll want the ID of the one you installed grub on for this
ok so prolly sda1
mount /dev/sda1 /mnt/boot
ls /mnt/boot/EFI
Grub_uefi
If there is a point in the wiki tutorial you all could refer me to continue with I'm down
Lemme check
that would be on the root partition
which isnt currently mounted
oh
the boot partition just has EFI stuff
ok
do you recall running grub-mkconfig at any point?
Should I just continue with my meme tutorial like a bug man?
Would it hurt if I do it again?k
that tutorial seems to kind of suck
Awesome, any command to run? Also yall rock for helping ty userbyte
Got it, lemme look into that on the wiki
Awh thank you
Will check too
It's just intimidating. I'm a bug person. I need to be commanded
interesting choice
You for sure did not pick the easiest one as your first distro
but if you're willing to learn, which it seems like you are, theres no problem with going arch rly
anyways you need to chroot into the root partition first before doing this
well not necessarily but its easier that way
so, assuming the root partition is mounted to /mnt, you can do arch-chroot /mnt
once you're in there, ls /boot to verify that grub folder(s) and kernel images exist
Yes I did get an error trying to do their command, I will do that arch chtoot rn
Warning, mnt is not a mount point
This may have undesirable side effefts
aight so we need to mount to that then
exit out of the chroot if it put you in one
Chroot failed to run command bin/bash no such file or directory
I don't think I'm in it
aight
Just root@arch ~#
does the prompt say root@archiso
ok good
Yes
mount /dev/sda2 /mnt
oh ur using lvm
is you're lvm home encrypted?
the video you linked does indeed instruct you to encrypt the drive, did you skip that part?
ah ok
what does the lvs command display?
great, and then lvdisplay
you can mount the root one with mount /dev/volgroup0/lv_root /mnt
lasse just guided you through the lvm version of what i was telling you to do earlier
anyways you should be able to do this now
genfstab -U /mnt >> /mnt/etc/fstab
have you not generated fstab yet?
no u dont need to mount again
lasse helped you do that
.
Just arch chroot mnted
do ls to make sure everything is there
ok ls /boot/grub
looks good
Sending now
aight
ah ok it looks like you've already generated a grub config
Should I do dis
yeah looks like ya did
Wait so everything's done I thibk
Yeah, remember to unplug the USB before you start your system up, then it should boot up to the installed system instead
Wait
So
Type reboot
Remove USB
Then do it
unmount everything first
How shoold i?
umount /dev/sda1
umount /mnt
Ty all for bein patient ik it's tough XD
you are currently chrooted, type exit to exit the root, then umount /mnt/boot and umount /mnt
its not super crucial to unmount but it saves some shutdown time and is safer
Did your PC boot to bios after removing the USB?
It does this
is your system efi?
Can you see your disks in bios?
UEFI
that should work
Acer spin 5 i5 some old craptop
what if you make it try to boot from the hdd
How so?
you should have a boot selection menu
The hdd hfs thing?
yeah that, it's the only disk your bios sees
oh i think you have secure boot on
Disabled in this slide at least
Yeah I can't access that section with keyboard
ah ok
You know what I think it may be with the system time/date and making sure that info is correct at first
Didn't work
Maybe I need to set it in my archlinux installation m?
Justbrecheckinf
Put the usb back in?
I think you should make sure the bootloader is installed correctly
Yeah boot back to the USB again
Checking it's date and time
Ok I'm back in arch
How would I ensurebbootlader installed correctly
Quick heads up. You can use archinstall script. And never follow random YT dude. Videos mostly skip a lot of stuff and get outdated quick.
TLDR

Mount the filesystems again and chroot in to your installed root
And be sure to be using pure UEFI and secure boot disabled. Also use ventoy or dd/balena etcher to flash the arch ISO
Then do the rest as said by lasse
@cedar cave
Note: idk if you're dual booting or not
Not dual
And as backup plan you can use EndeavourOS/archinstall if you are lazy/have issues installing Vanilla Arch
.aw Installation guide
Yeah the secure boot saying it's in standard mode is a bit sus, but you did say it's disabled. Once you are sure it's disabled then
mount /dev/volgroup0/lv_root /mnt and mount /dev/sda2 /mnt/root and arch-chroot /mnt and pacman -S grub efibootmgr and grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=<use here whatever you had before>
For now
Depends of the bios. Acer doesn't elaborate that good tbh
you can also check if it's efi or not
How do I check everything that is mounted
Lsblk
on the arch install before you chroot you can check if it's efi by doing ls /sys/firmware/efi
Do you guys think this will take hours?
that indeed is efi
Lsblk and ld sys firmware on screen
I have to install vanilla. I am becoming a soveigrn based uuuuser
my first distro
I would only hop to gentoo
don't worry, it's going to work in the end
I'm out. Good luck with Arch.
Advice: if you're new to Linux, you may like Linux mint. Unless you really want arch.
Ty :3
sorry I did a typo here, it's not /mnt/root it's /mnt/boot
No, you're not. Using arch and gentoo doesn't make you a haxxor
Mom, I use arch, so I can haxxor the NASA 
https://media.tenor.com/rdeS8cJ55YQAAAAM/hackerman-error.gif
oh sorry I also pinged the wrong post ๐
Mount /dev/sda2 /mnt/boot gives an error
can you do ls /mnt
Actually IDC what you use. Just saying if you're up for the challenge. Arch expects you to fix all the issues yourself, from installing it to doing system mantainance
U wait til I make my own OS
Should be Linux mint
ls /mnt/boot
:(
Just having some truth on the process. But if you're up for the challenge and do want/Know how to mantain arch, go ahead and Install it
Ofc why else would I install it
I'm tryna learn
And lasse and byte and others have helped ke
Me
Most users learn arch on a spare PC/vm
I admire your enthusiasm tho. Without other derail or ado, good luck with Arch. Choose a desktop/wm later. For audio, use pipewire
.aw pipewire
.aw desktop environment
.aw window manager
It appears you don't have the boot partition installed correctly, as the mount did not succeed and you already have a /boot with all the files it should have
They could wipe arch and start over
Fuck idk what I used before on the last one

Wiping is an option which is something I have done a lot in the past too while installing arch
Fuck
How long will this all take
Load archiso, cfdisk and nuke the drive. Then try again
I think imma go to sleep soon I've been doing this for hours now. Will prob try to resume
At that point I'd wanna justbusebthe script but I shouldn't
It's probably best to sleep before trying again
The time it takes is proportional to the to the user spends figuring out arch Installation
Wdym? I just said something with simple words.
I've been using arch for 10 years and still are not able to install it correctly on first try most of the time
you'll get it working eventually
3 years arch user here and I can install it fine . Last time it took me 20 mins to install it
good for you
you could try without the lvm stuff, if you follow the official wiki instructions
So from the way beggining?
The wiki instructions are hard but fuck it
I prob should just try start from there
If you screw up or missed a step on arch Installation process, yes.
That's why you follow official guide
Do you really need lvm?
.aw lvm
Idk
Prob not idk what it isi
I see person do something I follow
Fuck
Just follow this guide to partition the disks https://wiki.archlinux.org/title/installation_guide#Partition_the_disks
The time required to install Arch is proportional to the skills and time invested figuring out arch install by the user.
Can't rephrase it better or simplier.
That's not extremely helpful right now
My first install took me 2 hours. Now it takes me 10 to 20 mins
It does not matter how long it's going to take as long as you are learning
So if the person says, throw your PC from the window of a 5th floor , you will do it?
If it has elementaryOS or ubuntu
In a nutshell, you don't need lvm if you don't even know what it is.
I just want arch to rice
And send it to my friebds
A screnshot
Ok not entirely true
You know you can rice any distro, right?
you can rice any distro you want, arch is great if you want to learn how linux in general works, not just ricing your wm
Anyways. For now, wipe the drive and start over. Follow official guide and do s regular install or use archinstall
not really
Kind of part of my reasoning for wanting
Oh
Well I gotta make up another cope
If I'm trans should I use arch?
Ubuntu and Mint are based on Debian, Fedora and CentOS are based on redhat
I could guide you but I don't have the time rn
Ik arch Installation process by memory
and whos being smug about using arch now
Improve my software dev schools
I hope i get some time on weekend to guide you. I can't rn.
I'll lyk all know if I install sometime. Hell yeah
Not smug. Just my dark humor way of teaching
What
BRUH
Gentoo?
How being trans means that you have to use arch? That's so BRUH
And? Personal choices have no relation to the system you use. What if someone is trans and uses macOS?
Maybe debian is trutrans
Dont make me lose the last amount of seriousness and respect I have to you.
And move that to #lgbtq
Or #tech-general
xd
Hi
My boot partition wasn't installer correctly as my joint didn't succeed. How should I wippe everything?
Hai :3 I just shredded dev sda1 and sda2 does that mean my device is now clear of everything?
You can use gparted live then make a new partition table > GPT
Or use cfdisk
.aw cfdisk