#I'm installing for first time

393 messages ยท Page 1 of 1 (latest)

cedar cave
#

Hi, will update with help here

cedar cave
#

Help plz

#

What should I do?

#

It looks like I don't have enough space for the swapfile

#

I'm just following some tutorial on youtube

https://youtu.be/DPLnBPM4DhI

Time stamp 1:31:41

"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...

โ–ถ Play video
slow perch
#

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

cedar cave
#

How do I check if I even have arch installed?

#

I made two partitions

#

And installed some stuff

#

And edited sone files

honest pendant
# cedar cave

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

slow perch
#

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

cedar cave
slow perch
#

If you have installed a bootloader, yes

cedar cave
#

I think so

#

Got it so I'll type reboot and remove the usb

honest pendant
#

if you have an installation and have configured grub, then it should boot

cedar cave
#

I believe I installed grub previously

#

Do you know how I could check?

honest pendant
#

do you have shit mounted

cedar cave
#

Don't think so

honest pendant
#

mount it then

cedar cave
#

I was mounting earlier

honest pendant
#

mkdir -p /mnt/boot
then mount /dev/sdXY /mnt/boot

slow perch
#

you have to remount every time you restart the computer

honest pendant
#

the iso*

#

fstab handles mounting drives once the install is complete

cedar cave
honest pendant
#

i meant xy as a placeholder

cedar cave
#

Dmesg1 may have more info after failed mount system call

slow perch
#

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

honest pendant
#

do lsblk to list drives

honest pendant
cedar cave
#

Oh I did

#

I'm phoneposting

honest pendant
#

ok so prolly sda1

west goblet
#

mount /dev/sda1 /mnt/boot

cedar cave
#

Cool I just mounted there

#

Thank you guys

honest pendant
#

ok now ls /mnt/boot

#

see if shit is there

cedar cave
#

EFI

#

Efi only

honest pendant
#

ls /mnt/boot/EFI

cedar cave
#

Grub_uefi

honest pendant
#

if there is a folder in there, grub is most likely installed

#

aight

cedar cave
#

Ls it?

#

got it

west goblet
#

do you have grub.cfg

#

in /boot/grub

cedar cave
#

If there is a point in the wiki tutorial you all could refer me to continue with I'm down

#

Lemme check

honest pendant
#

which isnt currently mounted

west goblet
#

oh

honest pendant
#

the boot partition just has EFI stuff

west goblet
#

ok

cedar cave
#

Hi yeah asffgv yeah that didn't work

#

Hmm

#

So now I mounted my shit

honest pendant
#

do you recall running grub-mkconfig at any point?

cedar cave
#

Should I just continue with my meme tutorial like a bug man?

cedar cave
honest pendant
#

that tutorial seems to kind of suck

cedar cave
#

I don't remind

#

Remember if I did

honest pendant
#

no it doesnt hurt to redo

#

you need to chroot and do some other shit first tho

cedar cave
#

Awesome, any command to run? Also yall rock for helping ty userbyte

honest pendant
#

ye np

#

ill go try and find a part in the wiki you can start from 1 sec

cedar cave
#

Awh thank you

#

Will check too

#

It's just intimidating. I'm a bug person. I need to be commanded

honest pendant
#

lol i understand

cedar cave
#

This is my first Linux distro

#

Thank you

honest pendant
slow perch
#

You for sure did not pick the easiest one as your first distro

honest pendant
#

but if you're willing to learn, which it seems like you are, theres no problem with going arch rly

honest pendant
#

well not necessarily but its easier that way

honest pendant
#

once you're in there, ls /boot to verify that grub folder(s) and kernel images exist

cedar cave
#

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

honest pendant
#

aight so we need to mount to that then

#

exit out of the chroot if it put you in one

cedar cave
#

Chroot failed to run command bin/bash no such file or directory

#

I don't think I'm in it

honest pendant
#

aight

cedar cave
#

Just root@arch ~#

honest pendant
#

does the prompt say root@archiso

cedar cave
#

Archiso

#

I'm in sfchiso

honest pendant
#

ok good

cedar cave
#

Yes

honest pendant
#

mount /dev/sda2 /mnt

cedar cave
#

Unknown goldfish encrypt lvm2_member

#

Filesystem type* no fish

honest pendant
#

oh ur using lvm

cedar cave
#

And no encrypt either

#

Yes

honest pendant
#

shit ion know how to mount lvm

#

never used it

cedar cave
#

That's ok

#

I can use gpt

#

Chat got

#

Should I prompt saying how to mount lvm?

honest pendant
#

is you're lvm home encrypted?

cedar cave
#

I did not encrypt my disk

#

Idk about lvm

#

I set my disk up with uefi only

honest pendant
#

the video you linked does indeed instruct you to encrypt the drive, did you skip that part?

cedar cave
#

Yup

#

I didn't do the encryption install part

honest pendant
#

ah ok

slow perch
#

what does the lvs command display?

cedar cave
#

@slow perch

slow perch
#

great, and then lvdisplay

cedar cave
#

Also based badger dance lasse

slow perch
#

you can mount the root one with mount /dev/volgroup0/lv_root /mnt

cedar cave
#

Just mounted ty!

#

Why did I mount tho

honest pendant
honest pendant
cedar cave
#

genfstab -U /mnt >> /mnt/etc/fstab

honest pendant
#

have you not generated fstab yet?

cedar cave
#

Yeah I think I have to

honest pendant
#

lasse helped you do that

honest pendant
cedar cave
#

Just arch chroot mnted

honest pendant
#

do ls to make sure everything is there

cedar cave
#

Mb read wrong one, Ty byte

#

Yes

honest pendant
#

ok ls /boot/grub

cedar cave
honest pendant
#

looks good

cedar cave
honest pendant
#

aight

cedar cave
honest pendant
#

ah ok it looks like you've already generated a grub config

cedar cave
honest pendant
#

cat /etc/fstab

#

see if you've already done it

cedar cave
#

I think I did

#

Unclear pic mb

honest pendant
#

yeah looks like ya did

cedar cave
#

Cool so I go timezone forward then I think

#

From official wiki

honest pendant
#

yeah if you havent done this stuff yet

cedar cave
#

Wait so everything's done I thibk

slow perch
#

Yeah, remember to unplug the USB before you start your system up, then it should boot up to the installed system instead

cedar cave
#

Ahhh

#

Awesone

cedar cave
#

So

Type reboot
Remove USB
Then do it

honest pendant
#

unmount everything first

cedar cave
#

Or remove USB then ttpebreboot

#

Yes

cedar cave
honest pendant
#

umount /dev/sda1
umount /mnt

cedar cave
#

Ty all for bein patient ik it's tough XD

slow perch
#

you are currently chrooted, type exit to exit the root, then umount /mnt/boot and umount /mnt

honest pendant
#

its not super crucial to unmount but it saves some shutdown time and is safer

cedar cave
#

Fuck

#

XD

#

Gotta do bios stuff

slow perch
#

Did your PC boot to bios after removing the USB?

cedar cave
#

It says no bootabke device

#

No

cedar cave
honest pendant
#

is your system efi?

slow perch
#

Can you see your disks in bios?

cedar cave
cedar cave
slow perch
#

that should work

cedar cave
#

Acer spin 5 i5 some old craptop

slow perch
#

what if you make it try to boot from the hdd

cedar cave
#

How so?

slow perch
#

you should have a boot selection menu

cedar cave
#

The hdd hfs thing?

slow perch
#

yeah that, it's the only disk your bios sees

cedar cave
honest pendant
#

oh i think you have secure boot on

cedar cave
#

It's disabled

#

Had to do that a while ago

honest pendant
#

oh

#

ok

cedar cave
cedar cave
honest pendant
#

ah ok

cedar cave
#

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?

slow perch
#

I think you should make sure the bootloader is installed correctly

#

Yeah boot back to the USB again

cedar cave
#

Ok I'm back in arch

#

How would I ensurebbootlader installed correctly

celest fable
#

TLDR

slow perch
#

Mount the filesystems again and chroot in to your installed root

celest fable
#

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

cedar cave
#

Not dual

celest fable
# cedar cave Not dual

And as backup plan you can use EndeavourOS/archinstall if you are lazy/have issues installing Vanilla Arch

#

.aw Installation guide

slow perch
#

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>

inner sluiceBOT
celest fable
#

For now

celest fable
slow perch
#

you can also check if it's efi or not

celest fable
#

Like . It may be disabled but uses another word instead

#

Yeah, Acer moment harold1

cedar cave
#

How do I check everything that is mounted

celest fable
slow perch
#

on the arch install before you chroot you can check if it's efi by doing ls /sys/firmware/efi

cedar cave
#

Do you guys think this will take hours?

slow perch
#

that indeed is efi

cedar cave
#

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

slow perch
#

don't worry, it's going to work in the end

celest fable
#

I'm out. Good luck with Arch.
Advice: if you're new to Linux, you may like Linux mint. Unless you really want arch.

cedar cave
#

Arch

#

Ppl praying on my downfall

slow perch
celest fable
slow perch
#

oh sorry I also pinged the wrong post ๐Ÿ˜‚

cedar cave
#

Mount /dev/sda2 /mnt/boot gives an error

cedar cave
#

Unknown file system

celest fable
# cedar cave Ppl praying on my downfall

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

celest fable
slow perch
#

ls /mnt/boot

cedar cave
cedar cave
cedar cave
#

Y so mean

#

Gatekeeper

celest fable
# cedar cave Y so mean

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

cedar cave
#

Ofc why else would I install it

#

I'm tryna learn

#

And lasse and byte and others have helped ke

#

Me

celest fable
cedar cave
#

That's what I'm doing

#

I tried doing on my main pc but got scared

celest fable
#

.aw pipewire

inner sluiceBOT
celest fable
#

.aw desktop environment

inner sluiceBOT
celest fable
#

.aw window manager

inner sluiceBOT
celest fable
#

Some cheat sheet

#

.aw pacman Rosetta

inner sluiceBOT
slow perch
#

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

celest fable
#

They could wipe arch and start over

cedar cave
celest fable
slow perch
#

Wiping is an option which is something I have done a lot in the past too while installing arch

cedar cave
#

How long will this all take

celest fable
cedar cave
#

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

slow perch
#

It's probably best to sleep before trying again

celest fable
cedar cave
#

This arch shit ain't no game

#

๐Ÿ—ฃ๏ธ

celest fable
slow perch
#

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

celest fable
cedar cave
#

Ty for all the help

#

Wait tho yall

cedar cave
#

So like

#

I gotta wipe everything?!

#

Like, It was that bad of a fuck up?!

slow perch
#

you could try without the lvm stuff, if you follow the official wiki instructions

cedar cave
#

So from the way beggining?

#

The wiki instructions are hard but fuck it

#

I prob should just try start from there

celest fable
#

That's why you follow official guide

celest fable
cedar cave
#

Yo

#

I've be3n doing thisbshitbfor 5 hours

celest fable
#

.aw lvm

inner sluiceBOT
cedar cave
#

Prob not idk what it isi

#

I see person do something I follow

#

Fuck

slow perch
celest fable
slow perch
celest fable
slow perch
#

It does not matter how long it's going to take as long as you are learning

celest fable
cedar cave
celest fable
# cedar cave Idk

In a nutshell, you don't need lvm if you don't even know what it is.

cedar cave
#

I just want arch to rice

#

And send it to my friebds

#

A screnshot

#

Ok not entirely true

celest fable
cedar cave
#

You didn't help me for no reason lasse

#

Trust me

slow perch
#

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

cedar cave
#

I have better intentions

#

Yes ik I'm moresoe wanting to get off windows

celest fable
#

Arch is not worth if you want only to flex it because yes.

#

That's dumb

cedar cave
#

I've just heen watching too much luke smith

#

I'm not a bigot tho

celest fable
cedar cave
#

So like aren't a lot of distros

#

Downstream of arch

slow perch
#

not really

cedar cave
#

Kind of part of my reasoning for wanting

#

Oh

#

Well I gotta make up another cope

#

If I'm trans should I use arch?

slow perch
#

Ubuntu and Mint are based on Debian, Fedora and CentOS are based on redhat

celest fable
#

I could guide you but I don't have the time rn

cedar cave
#

That's ok imma do it later tmrw

#

Or on weekend most likely

celest fable
#

Ik arch Installation process by memory

cedar cave
#

Fr tho tyall for help

#

Yes I want to get better

#

Ween off guis

slow perch
cedar cave
#

Improve my software dev schools

celest fable
cedar cave
#

I'll lyk all know if I install sometime. Hell yeah

celest fable
celest fable
cedar cave
celest fable
#

How being trans means that you have to use arch? That's so BRUH

cedar cave
#

Oh

#

Well look at yalls pfps

#

Point taken?

#

XD

celest fable
cedar cave
celest fable
#

Dont make me lose the last amount of seriousness and respect I have to you.

cedar cave
#

Ok I'm not gunna get into /lgbt/ lingo

#

Y

#

I am a no pfp on discord

celest fable
#

And move that to #lgbtq

cedar cave
#

Discord users
respect

#

Pick one

celest fable
#

Or #tech-general

cedar cave
#

xd

celest fable
cedar cave
#

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?

celest fable
#

.aw cfdisk