#[solved] Can't get into arch something about xorg I think

1 messages · Page 2 of 1

echo zephyr
#

and type 'yes'

#

and then quit

#

did you do the write and yes already?

steel rain
#

yea

echo zephyr
#

okay yeah do that

#

quit

#

and then

#

mkfs.ext4 /dev/sda3

#

this formats root to ext4 file system

#

mkfs.fat -F 32 /dev/sda1

#

which formats your boot

#

mount /dev/sda3 /mnt which will mount your root

#

mkswap /dev/sda2 which makes your swap partition an actual swap partition

#

swapon /dev/sda2 so now we're using the swap and from here on out using it, even after install

#

mkdir /mnt/boot making a dir for your boot partition

#

mount /dev/sda1 /mnt/boot mounting the boot partition

#

let me know when you are there

steel rain
#

there

echo zephyr
#

okay what text editor do you use?

#

nano or vim?

steel rain
#

vim

echo zephyr
#

ok good

#

me to

#

too*

#

now we need to pacstrap

#

pacstrap /mnt base base-devel linux linux-firmware neovim man-db man-pages texinfo

#

actually I use neovim lol

#

you don't need to add neovim if you just use vi

#

idk what to add for vim or vi

steel rain
#

soo

#

should i just try the command with vim instead of neovim?

echo zephyr
#

I mean

#

I don't know man, I'm sorry

#

I have a great neovim set up

#

I have no idea for vi or vim

#

I only use neovim

#

I think vi is defaulted in

#

can probably just exclude it

#

neovim works the same as vim, it won't hurt you anyway

#

just has more features

steel rain
#

wait is that just installing stuff

#

so doesnt matter

#

if i leave stuff out

echo zephyr
#

right, but it's installing the kernel and whatever else

#

no it doesn't matter

#

maybe put nano in

#

you need a text editor anyway if shit breaks

#

w/e

#

it's the pacstrap, this is the most important part of install actually

#

I put man pages and shit in there

#

base is needed, linux andn linux-firmware is needed

#

base-devel is developer stuff, like c compiler and everything important

steel rain
#

i did this on my first install

echo zephyr
#

just put the neovim in bro, it's not that bloated

#

I can remote in and help ya haha

#

okay

#

I can work with vim

#

that's fine

#

add the man pages shit I added too though

steel rain
#

why

echo zephyr
#

replace neovim for vim

#

dw about neovim

#

it's okay

steel rain
#

no but what are the man pages

echo zephyr
#

yeah that looks good but the others are man pages

#

omg you don't know man pages?

#

that's the docs on your pc

#

for anything man

#

any c lib

#

there are man pages for every program and command

#

this is man pacman

#

if you don't have internet, you need man pages

#

manual pages

#

bro

#

it's where you can find anything you want

#

thorough documentation

#

in the man pages

steel rain
#

ok

echo zephyr
#

also there is the tldr program, but you need to install that later

#

damn the screenshot must have lagged

#

we were on the pacstrap right?

#

did you pacstrap already?

steel rain
#

yea its doing the thing

echo zephyr
#

ok brb

#

and arch wiki install guide

#

Need to rename the title honestly, because systemd boot is not as related to systemd as it presumes

steel rain
#

yea doesnt everyone hate systemd

echo zephyr
#

And also archive it because it says work in progress when I don't even have that laptop anymore

#

No

#

I love systemd

steel rain
#

but like

#

other people

echo zephyr
#

Yeah

#

But do they have a better option?

#

No

steel rain
#

pacstrap done

echo zephyr
#

Okay sorry I'm out back smoking again give me a minute lol

#

You know why people hate systemd though

#

Because Linux philosophy

#

A program should do one thing

#

And do it well

#

Well systemd is simple enough but it does a lot

#

It's process 1

#

But the idea is everything should be seperate

#

Anyway this is for another day

#

I'll be back to my PC in 2 minutes

#

okay back at pc

#

systemd boot actually has nothing to do with systemd, it use to be called gummiboot

#

was developed by Germans and is a completely different thing

#

so where were we

#

pacstrap is done

#

now we need to gen your fstab

#

is boot mounted?

#

and root

#

show me lsblk

#

need to make sure we're mounted up first

#

okay great

#

now

#

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

#

hopefully no output from it

#

right?

steel rain
#

no output yea

echo zephyr
#

okay arch-chroot /mnt

#

where do you live

steel rain
#

is this for timezones or?

echo zephyr
#

we need to set your local

#

yeah and locale

steel rain
#

west coast

echo zephyr
#

okay so you need to link your timezome for localtime

#

cali?

steel rain
#

yea

echo zephyr
#

okay so you need to do like ln -sf /usr/share/zoneinfo/America/Cali* /etc/localtime the star idk you need to tab autocomplete that shit

#

you can explore that folder for accuracy if you want

steel rain
#

where is folder located

#

o nvm

#

i studpid

echo zephyr
#

where it says

#

lmao

steel rain
#

yea lol

echo zephyr
#

is all of cali the same time zone?

#

let me know when you got it figured out, then we can move on

#

to setting your hardware clock

#

what command do you use for vim? vi or vim?

steel rain
#

i dont think they have just cali

echo zephyr
#

it doesn't matter that much, it's for time

#

just use cali then

#

w/e is in cali

#

not like we are trying to get your fingerprint here

#

just the correct time

steel rain
#

i have no idea which one is correct time

#

im gona have to pull up google maps lol

echo zephyr
#

okay

#

just find your damn time zone

#

west coast time zone

#

is it 6 pm there?

#

6:22

steel rain
#

yea

echo zephyr
#

PST

steel rain
#

i tried typing just california and got no output

echo zephyr
#

okay hang on

steel rain
#

is there supposed to be output

echo zephyr
#

yeah like

#

wait a minute let me check my folder to see what you need to do

#

wow there is actually no california option lmao

steel rain
#

thers LA

#

ima try that

echo zephyr
#

yeah do la

steel rain
#

no output

echo zephyr
#

multiple indiana options, cuz we use to refuse to comply with the day light savings lol

#

that's good

#

it's okay

#

no output is good

#

now lets set the hardware clock

#

hwclock --systohc

steel rain
#

no output

echo zephyr
#

good

#

sec

#

now edit the locale

#

vi /etc/locale.gen

#

and uncomment the lines that say en_US, should be two of them

#

you can /search for them

steel rain
#

write and quit?

echo zephyr
#

should be right next to each other

#

yeah

#

wq

steel rain
#

ok

echo zephyr
#

done?

steel rain
#

yea

echo zephyr
#

mk now you need to generate the locale

#

locale-gen

steel rain
#

it said the two things

echo zephyr
#

ok

steel rain
#

en_US.UTF-8

#

and iso 8859-1

echo zephyr
#

now you need to make the locale.conf file and export the lang variable

#

right

#
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
#

two different commands there

#

do them seperate

#

lmk when done

steel rain
#

done

echo zephyr
#

mk now we should configure the hostname

#

do you got an idea what you want your pc hostname to be

#

either way it doesn't matter to me, do this

steel rain
#

should i keep it the same

echo zephyr
#

idc

#

echo <host-name> > /etc/hostname

#

it's gotta be in the hostname file

#

w/e you want your pc hostname to be

#

I don't want you to share it with me

#

not to be rude

#

just don't want people here to hack you

#

lmk when that's done

#

I don't want to know what it is

#

yeah

#

it really doesn't matter

#

lmfao

#

right

steel rain
#

is it the thing that shows up before command prompt

echo zephyr
#

we're going to /etc/host next

#

no

steel rain
#

cuz ive already posted that in images in this channel

echo zephyr
#

the things I had him do before were worse to leak

#

come on

#

lets finish this

#

I want to go to bed

steel rain
#

is it different than the thing that has my home directory in it

echo zephyr
#

no

#

fuck you're fine'

#

chill guys

steel rain
#

ok i did the thing

echo zephyr
#

what thing

#

I got distracted from the barage of trolls

#

oh

steel rain
echo zephyr
#

ok

#

no

#

stop

#

he's not there yet

#

chill

#

yes

#

really

#

no

#

he hasn't even configured a user

#

shghhhhhhhhh

#

stfu

#

I got this man

#

go away

#

lmao

#

ily

#

hack me later

#

i Love you but fuck off

#

pm me

#

❤️

#

okay now

#

where were we

#

now you need to make a file called /etc/hosts

#

actually it's already there

steel rain
#

mkdir?

echo zephyr
#

you need to edit it

#

no just vi

#
127.0.0.1   localhost
::1         localhost
127.0.1.1   arch-pc
#

like that

#

then after that you set the root password for the system

#

passwd

#

then you add your user after that

steel rain
echo zephyr
#

yeah the file /etc/hosts

#

yep

steel rain
#

and then go back to terminal and type passwd

echo zephyr
#

or if you got a better idea from your job

#

idk

#

right

#

that's a good default

#

unless you got a job that requires something else

steel rain
#

huh

echo zephyr
#

nothing, you must not

#

it's okay

#

don't mind the trolls lmao

steel rain
#

tab?

echo zephyr
#

a tab

#

yes

steel rain
#

a bunch of spaces

#

o

#

tab ok

echo zephyr
#

tab

#

it doesn't actually matter

#

can be one space or a tab

steel rain
#

what is arch-pc

echo zephyr
#

my pc

#

that name doesn't matter either

steel rain
#

so i can replace with anything?

echo zephyr
#

yes

#

it's your host name basically

steel rain
#

wait

echo zephyr
#

it should match the other file though

steel rain
#

like my hostname

echo zephyr
#

yeah

#

/etc/hostname

steel rain
echo zephyr
#

it really isn't that that big of a deal

#

only for some things

#

right

#

that thing

#

depends on what you wanna do

#

we should move on from that, but yes you should match those

#

imma go smoke lol

steel rain
#

i did passwd thing

#

bro chill with the smoking

echo zephyr
#

I can't

#

I gotta go back to jail soon

#

brb

#

I'll be on my phone out there though

#

Okay hang on

#

I'm smoking and pissing out back now but I know you need to smoke your user next

#

Make not smoke

#

Auto correct is dumb af

#

I'll give you the right commands when I get back inside

#

sorry I'm back

#

so where are you

steel rain
#

set passwd

echo zephyr
#

everybody chimed in and it overwhelmed me

steel rain
#

havnt made user

echo zephyr
#

you set root passwd?

steel rain
#

yea root

echo zephyr
#

ok

#

now we need to make your user

#

useradd -m -g users -G wheel,storage,power -s /bin/bash username

#

replace username with your username

#

no

steel rain
#

ok now what

echo zephyr
#

hang on my cat is being a bitch infront of my monitor

#

you made your username?

#

I fucked her off

steel rain
#

yea

echo zephyr
#

ok

#

now passwd username

#

and set your password

steel rain
#

done

echo zephyr
#

okay you use vim right?

steel rain
#

yea

echo zephyr
#

EDITOR=vi visudo

steel rain
#

ive been typing vim not vi tho

echo zephyr
#

and uncomment this line

steel rain
#

and its been working

echo zephyr
#

w/e

#

%wheel ALL=(ALL) ALL

steel rain
#

would EDITOR=vim vimsudo work?

echo zephyr
#

uncomment that

#

yeah

#

I mean i use nvim so

#

I'm sure

#

I thought vi was for vim

steel rain
#

it said vimsudo command not found

echo zephyr
#

sorry

steel rain
#

maybe it is

#

vim always worked before tho idk

echo zephyr
#

anyway you need to edit the sudo file

#

uncomment the wheel group

#

visudo

steel rain
#

yea

echo zephyr
#

right

steel rain
#

i edited file

echo zephyr
#

ok

#

now

#

you don't have a boot loader yet

steel rain
#

mhm

echo zephyr
#

you want systemd boot or grub?

#

I recommend systemd boot

steel rain
#

im aware

#

but sure

echo zephyr
#

ok

#

show me lsblk again

#

cuz systemd boot need to be on /boot, not /boot/efi

#

for what I know anywah

#

okay

#

so now

#

bootctl --path=/boot install

#

touch /boot/loader/entries/arch.conf

#

findmnt -fn -o PARTUUID /dev/sda3 >> /boot/loader/entries/arch.conf

steel rain
echo zephyr
#

wtf

#

why not

#

is your system not UEFI?

steel rain
#

i mean it should be

#

idk

echo zephyr
#

can you check in bios?

#

ok you know what

steel rain
#

reboot?

echo zephyr
#

it could be but

#

windows made it MBR

#

idk

steel rain
#

i had arch before

#

how did it work

echo zephyr
#

I'm sorry I actually don't know

#

arch can work on mbr or uefi

#

but idk what you had before

#

mbr is ancient tech

steel rain
#

its a pretty old laptop btw if that matters

echo zephyr
#

hmmm

steel rain
#

t520

#

made in 2011 i believe

echo zephyr
#

I'm not going to pretend I know that number

#

that's you're laptop though?

#

actually

steel rain
#

i got for 50 bucks on ebay

echo zephyr
#

arch wiki has a command to run

#

to see if it's efi

#

that

#

what dude said just there

#

run what @tender parrot just said

steel rain
#

it output lots of stuff

echo zephyr
#

okay so it's efi

#

if nothing it's not

#

@tender parrot I need help here lmao

#

so we backuped their home dir

#

original install was broke, no interface for ethernet or wifi

#

now reinstalling

#

and now I'm drunk

#

halfway through reinstall

#

no

#

I was sober before determining reinstall necessary

#

what gui

#

hmm

#

okay well I was helping them switch from grub to systemd boot

#

no

steel rain
#

me no

echo zephyr
#

just that I prefer it

#

no otherwise

#

if you can guide them with grub then great

#

I don't know grub like systemd boot

#

you saw where we left off though right?

#

all that was fine

#

ok

#

man we are a weird bunch lol

#

arch users I mean

#

brb gonna smoke again

#

yeah it is but I hate grub

#

systemd boot is better

#

his issue is with neither

#

it broke anyway man

#

we are fresh installing

#

I backed his stuff up on a usb he went and bought

haughty perch
#

Can you catch me up on the issue

echo zephyr
#

ok

#

in a bit sure

#

first I gotta use the bathroom too

steel rain
#

so do i have to install grub first

echo zephyr
#

wow we arch users are a weird bunch

#

no

#

grub is shit

#

brb

steel rain
#

bruh

steel rain
#

pacman -S grub?

echo zephyr
#

sudo pacman -Rsn grub

#

more like it

#

lol

#

hang on man

#

don't do anything

#

wait

#

brb

#

honestly if anyone has any grub suggestions for my friend, I was joking

#

you can tell him w/e advice you have for him

#

I just prefer systemd boot

#

but I have to brb

#

and he can make his own choice

#

yall are badass

#

idc if we disagree on software

#

Grub is shit lately though imo, having to fix everyone's installs

#

We are hijacking this guy's thread though

#

Give me like 10 minutes to smoke and finish fixing his os and then we can talk shit to each other lmao

steel rain
#

with systemd boot?

echo zephyr
#

Yesh

steel rain
#

but like

echo zephyr
#

Bro I got you

steel rain
#

complicated

echo zephyr
#

Hang on

#

Sorry

steel rain
#

i may or may not have done pacman -S grub

echo zephyr
#

All the trolls chimed in

#

Betrayal

steel rain
#

i mean

#

if u want i can -r

#

yea

echo zephyr
#

No

#

Stop

steel rain
echo zephyr
#

Let me piss and get back to my PC

#

okay now I'm back

#

you wanna know what that sn does

steel rain
#

yea

echo zephyr
#

removes shit that can cause issues later

#

like

#

when you wanna remove a package

#

-R sometimes isn't enough

steel rain
#

is there any downside tho

#

like why does just -R exist

echo zephyr
#

well it removes the package, but not the stuff the depends on it

#

where did we leave off anyway

#

are you in a gui environment yet?

steel rain
#

no

#

i have to uninstall grub package first

echo zephyr
#

well where are you

steel rain
#

do i use the sn

echo zephyr
#

idk where are we

#

everyone butted in and hijacked your thread

#

last I remember you set the host name

steel rain
#

and its like gpt or something

echo zephyr
#

what's the last command you ran

steel rain
#

well i did pacman -S grub but you didnt tell me to do that

echo zephyr
#

no I did not

#

I don't like grub and never will

#

you want systemd boot, right?

steel rain
echo zephyr
#

okay

#

so if you press up that's what shows?

steel rain
#

after that was ls /sys/firmware/efi/efivars

echo zephyr
#

ok that doesn't matter

#

okay cool

#

now

steel rain
#

do i do -Rsn or just -R for grub tho

echo zephyr
#

you did instal grub? wtf

steel rain
#

lmao

echo zephyr
#

-Rsn

#

remove all that shit

#

so you did do some shit after lmao

#

you don't trust me haha

#

it's okay

#

grub is shit

steel rain
#

i also installed NetworkManager btw

echo zephyr
#

that's okay

#

you need NetworkManager

steel rain
#

ok

#

grub is gone

echo zephyr
#

I'm not a pirate lmao

#

I want what is best for you

#

okay so where are we now

#

you need a boot loader right?

#

systemd boot

steel rain
echo zephyr
#

what

#

what do you mean

steel rain
#

all 3 of those commands

#

cuz first didnt work

echo zephyr
#

umm

#

what I said was for systemd boot

#

like I have

steel rain
#

so what do now

echo zephyr
#

idk you need to tell me where you're at I guess, I'm getting really tired lol

steel rain
#

uhh

#

systemd boot?

#

installing

echo zephyr
#

I was trying to guide you where I am, I'm system d boot

#

man I think I'll have to help you tomorrow

#

add me

steel rain
#

i already did

echo zephyr
#

well outside this chat I'll have to help you tomorrow as a friend I guess, idk

#

I"m drunk right now bro

steel rain
#

yea ok

echo zephyr
#

sorry

steel rain
#

what do i do with computer overnight

echo zephyr
#

turn it off

steel rain
#

hit power button?

echo zephyr
#

so nobody exploits it

#

yes

#

shut it down

#

unplug it too

steel rain
#

i mean it has a battery

echo zephyr
#

unplug everything

steel rain
#

take out battery?

echo zephyr
#

idc

#

no

steel rain
#

why no

echo zephyr
#

unplug it all

steel rain
#

battery is hella easy to take out

echo zephyr
#

ok w/e

#

unplug it

#

take the battery out

#

w/e

#

unplug is always the best option

#

no power = no data

#

I'm going to bed, gn

steel rain
#

gn

echo zephyr
#

❤️

#

Man I wanna help more but check the GitHub I linked earlier, it will guide you through the steps

#

I'm too fucked up ATM and I gotta go to bed

#

Bet I can fix it tomorrow when I sober up though

steel rain
#

ok

#

im gona have to leave like midday tmr

#

4:30 east coast time

#

about

echo zephyr
#

I'm up now lol

#

sorry, I drank too much last night

#

did you get your boot loader set up?

steel rain
#

um no

#

@echo zephyr

#

whenever i try grub I get an error about efi so i guess we doin systemd boot

#

also do i have to boot into the usb now and chroot into /mnt

echo zephyr
#

okay I'm here

#

yeah

steel rain
#

anything else i have to do before boot loader?

#

like connecting to internet

echo zephyr
#

yeah so connect to internet first

#

before you chroot in

steel rain
#

ok

echo zephyr
#

and mount /mnt and /mnt/boot

steel rain
#

sda3 to /mnt and sda1 to boot?

echo zephyr
#

yes

#

you might need to mkdir /mnt/boot after you mount root

#

reading up where I got too drunk in this thread is embarrassing lmao

steel rain
#

i cd into /mnt and there is a boot folder

echo zephyr
#

ok so just mount sda1 to /mnt/boot

#

then arch-chroot in to /mnt, cuz we already pacstrapped and genfstab right?

#

we can do it again if you want to make sure

steel rain
#

is there a way to check without doing again

echo zephyr
#

hmm

#

I know we did pacstrap

steel rain
#

i mean yea

echo zephyr
#

you can check for the presence of fstab

steel rain
#

we definitly did

echo zephyr
#

cat /mnt/etc/fstab

steel rain
#

things appeared

#

ext4 and swap

echo zephyr
#

okay so you can chroot in then

#

no boot?

#

fat32

steel rain
#

it says vfat

echo zephyr
#

ok

#

yeah vfat fat32

#

okay

#

chroot in

#

arch-chroot /mnt

steel rain
#

ok

echo zephyr
#

did we set the local time?

steel rain
#

yea

echo zephyr
#

and the hardware clock?

steel rain
#

idk

echo zephyr
#

hwclock --systohc

steel rain
#

probably

echo zephyr
#

okay

steel rain
#

if you do it twice is that bad

echo zephyr
#

no

#

doesn't matter

steel rain
#

ok ill just do it

#

k

echo zephyr
#

did you edit /etc/locale.gen

#

uncomment your locale

#

like en_US

steel rain
#

i think

#

yea

echo zephyr
#

check to make sure

steel rain
#

2 of them

echo zephyr
#

yes

#

okay

#

moving on

#

locale-gen

#

doesn't hurt to run again

steel rain
#

generation complete

echo zephyr
#

echo LANG=en_US.UTF-8 > /etc/locale.conf

#

won't hurt if we already did it, will override

steel rain
#

i remember doing that

#

wait brb rq

echo zephyr
#

ok

#

export LANG=en_US.UTF-8 you need to do this anyway for the current load of the iso

#

current terminal shell I mean

steel rain
#

back

echo zephyr
#

wb

#

then you need to set your host name in /etc/hostname can be whatever, mine is arch-pc

#

echo arch-pc > /etc/hostname

steel rain
#

again?

echo zephyr
#

idk

#

if you done it already

#

I was trashed last night, I"m sorry

steel rain
#

yea forgot quite a bit lol

echo zephyr
#

don't remember much

#

yeah haha, just now remembered what I had for dinner

#

did you edit /etc/hosts?

steel rain
#

wheel thing?

echo zephyr
#

no

steel rain
#

with the alls

#

all=all) all som ething idk i remember a lot of alls

echo zephyr
#
127.0.0.1   localhost
::1         localhost
127.0.1.1   arch-pc
``` /etc/hosts should look like this
steel rain
#

o

echo zephyr
#

that's the sudo file

steel rain
#

no i did that too yea

echo zephyr
#

that you're talking about

#

ok

#

you set root passwd?

steel rain
#

yea

echo zephyr
#

added your user?

steel rain
#

yea

echo zephyr
#

and user passwd?

steel rain
#

yea

echo zephyr
#

ok hang on

#

now do bootctl --path=/boot install

#

this will install systemd boot in your /boot

#

then we need to configure it

#

let me know if that runs successfully

steel rain
#

i think i already did that

#

should i do again

echo zephyr
#

hmm show me ls /boot

steel rain
#

grub is there lol

echo zephyr
#

fuck

#

fuck grub lol

#

damn

#

maybe we should format it again

#

hmm

steel rain
echo zephyr
#

hang on

#

rm -rf /boot/grub

#

and then pacman -Rsn grub

steel rain
#

it said target not found: grub

echo zephyr
#

okay

#

so do the bootctl again

#

bootctl --path=/boot install

#

then we need to make an entry for your operating system

steel rain
#

file system "/dev/sda1" is not a GPT partition table

#

this happened last time

echo zephyr
#

well that's a problem

#

it should be

#

okay so just exit

#

lets fix that first

#

we maybe need to start over actually

#

cuz it should be a GPT file system

#

hang on I'm gonna take a break and use the bathroom and smoke

#

didn't realize it wasn't GPT

#

Sorry i should have had the foresight to check the partition table first, I just assumed it was GPT already since it's UEFI

#

We have to start all over now

steel rain
#

so uh

#

i have to go in like 2 hours

echo zephyr
#

It shouldn't take 2 hours, but we can do it later if you want

steel rain
#

ok

echo zephyr
#

I'm still smoking right now though, on mobile atm

steel rain
#

what is gona be the first step

#

in starting over

echo zephyr
#

So you need to unmount /mnt/boot first

#

And then /mnt

#

With umount

steel rain
#

u mount <what go here>

echo zephyr
#

Yes

#

Sec

steel rain
#

ok

echo zephyr
#

umount /mnt/boot

#

umount /mnt

#

back at my pc now

steel rain
#

done

echo zephyr
#

cfdisk

#

sec

#

actually

#

cfdisk /dev/sda

#

I need to plug in a usb to check the options

steel rain
#

can i post image

echo zephyr
#

well actually just quit cfdisk

#

we need something else I think to make a partition table, like parted

#

parted /dev/sda

#

in that menu do mklabel gpt

steel rain
#

it says type help to view a list of commands

echo zephyr
#

okay type help if you want

#

you can either do mklabel gpt or mktable gpt

#

does the same

#

I'm in help menu rn lol

steel rain
#

it gave warning i assume i say yes

echo zephyr
#

what warning

#

what does it say

steel rain
#

existing disk label will be destroyed data will be destroyed blah blah

echo zephyr
#

yes

steel rain
#

ok now what

echo zephyr
#

okay now quit

#

then cfdisk /dev/sda

#

and we make the partitions again

steel rain
#

it said information: You may need to update /etc/fstab'

echo zephyr
#

that's okay we will

steel rain
#

sda1 512m?

echo zephyr
#

yes

#

and should be boot

#

efi

steel rain
#

then 16g

echo zephyr
#

yeah for swap space

#

if you got 8gb ram

#

then the rest linux file system

steel rain
echo zephyr
#

yeah, should be top option iirc

#

could be different for your pc idk

steel rain
#

there are like way more options now

#

than mbr

echo zephyr
#

basically sda1 should be efi 512mb, swap should be 16gb, the rest linux file system

#

yeah mbr is shit

#

make sure to write

#

before quitting

steel rain
#

ok

#

they are efi system, linux swap, and linux filesystem

echo zephyr
#

okay good

#

write and quit

steel rain
#

ye

#

did that

echo zephyr
#

mkfs.ext4 /dev/sda3

#

formats root to ext4 file system

#

mkfs.fat -F 32 /dev/sda1 formats boot to fat 32

steel rain
#

it says it contains a ext4 file system last mounted on /mnt on mon nov 21

echo zephyr
#

it's okay

steel rain
#

proceed anyway

echo zephyr
#

we want to write over it yeah

#

you got your backup right?

#

when we rsynced it

steel rain
#

yea

echo zephyr
#

ok

steel rain
#

i mean it had a bunch of errors but we ignored it lol

echo zephyr
#

yeah lol

#

probably permission issues

#

it's ok

#

so now do mount /dev/sda3 /mnt

#

then we will make the swap and swap on it

#

mkswap /dev/sda2

#

swapon /dev/sda2

steel rain
#

ok

echo zephyr
#

okay now mkdir /mnt/boot

#

and mount sda1 there

#

mount /dev/sda1 /mnt/boot

steel rain
#

k

echo zephyr
#

now we need to pacstrap again

#

sec

steel rain
#

pacstrap /mnt base base-devel linux linux-firmware vim man-db man-pages texinfo

echo zephyr
#

yeah

#

sorry I was a stay at home dad for 3 years, and my fiance cheated on me and I moved back in with my mom, and my mom is talking to me in the background so I'm distracted lol

#

quit a good paying job cuz my fiance asked me to x.x

#

when that finishes, we need to gen the fstab

#

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

steel rain
#

u can put a few more commands after if u want

echo zephyr
#

ok

steel rain
#

less waiting for both of us

echo zephyr
#

after you gen fstab we chroot in

#

arch-chroot /mnt

#

then we set the timezone again

#

for me it would be this

#

ln -sf /usr/share/zoneinfo/America/Indiana/Indianapolis /etc/localtime

#

hwclock --systohc for the hardware clock

#

vi /etc/locale.gen and uncomment the two lines again

#

locale-gen to generate it

#

echo LANG=en_US.UTF-8 > /etc/locale.conf assuming you're in the US

#

or use the US format

#

export LANG=en_US.UTF-8

#

echo arch-pc > /etc/hostname set hostname, replace arch-pc with whatever you want. Has to be consistent in /etc/host though

#

vi /etc/hosts

#
127.0.0.1   localhost
::1         localhost
127.0.1.1   arch-pc```
#

something like that

#

set root pw

#

passwd

#

make your user

#

useradd -m -g users -G wheel,storage,power -s /bin/bash username

#

set user password

#

passwd username

#

edit visudo

#

EDITOR=vi visudo

#

uncomment wheel line

#

like this line

#

%wheel ALL=(ALL) ALL

#

we can move on after that lmk when you're there

#

I'm gonna take a quick break

#

Only thing after that is bootloader

#

Grub or systemd boot

steel rain
#

i mean

#

grub will probably work now that its gpt

echo zephyr
#

Yeah it should

#

I can help you easier with systemd boot though cuz I know it better

#

And it's more precise and faster booting

#

Up to you

#

I can help with grub too if you want

steel rain
#

would systemd boot break less

echo zephyr
#

Grub is basically a lot of abstraction

#

Yeah

steel rain
#

but be harder to get help cuz less people use it

echo zephyr
#

Grub breaks a lot

#

Systemd boot can't really break

steel rain
#

ok sure systemd boot

echo zephyr
#

Okay one minute to get back to my pc

#

Gotta take a leak

#

okay now

steel rain
echo zephyr
#

yes, just delete the # infront of it

steel rain
#

ok

echo zephyr
#

w/e was there before

#

you know lets make sure the shit is right actually

#

do this pacman -S gdisk

#

then run gdisk /dev/sda

#

when you're in it, type t in the prompt

#

1

#

EF00

#

w

#

y

steel rain
#

4 seperate commands?

#

o

echo zephyr
#

in the same prompt

#

yeah

#

seperate

steel rain
#

it says its gona overwrite existing partitions

#

why we doin this

echo zephyr
#

it's okay

#

well

#

if it's already EF00 flag it's fine

#

make sure the flag is right

steel rain
#

ok whatever i did it

echo zephyr
#

sec I gotta move something for my mother

#

ok

#

then do bootctl --path=/boot install again to make sure

steel rain
#

created efi boot entry linux boot manager

#

and other good things

echo zephyr
#

ok now

#

touch /boot/loader/entries/arch.conf

#

you use vim right?

steel rain
#

yea

echo zephyr
#

ok

#

vi /boot/loader/entries/arch.conf

#

edit it to look like this, and I'll give you a vim tool to import the partuuid

steel rain
#

brb

echo zephyr
#
title   Arch Linux
linux   /vmlinuz-linux
initrd  /initramfs-linux.img
options root=PARTUUID=<part-hash-goes-here-without-the-angle-brackets> rw```
#

ok

#

in vim you can :r! findmnt -f -o PARTUUID /dev/sda3

#

to import that partuuid

steel rain
#

back

echo zephyr
#

wb

#

so title is just what it shows in boot menu

#

can be anything

#

the rest needs to be exact

#

let me know when you're done with that file

steel rain
#

uh

#

how find part hash

echo zephyr
#

in vim you can use the : i shared

#

from normal mode

steel rain
#

o

echo zephyr
#

it might also import PARTUUID so you might need to clean it up

#

can't remember

steel rain
#

yea it does

#

k done

echo zephyr
#

okay

#

now we need to edit the default loader.conf

#

vi /boot/loader/loader.conf

#
default arch
timeout 4
console-mode max
editor no
steel rain
#

below the commented stuff?

echo zephyr
#

the first one is just the loader

#

delete everything in the file and replace it

#

timeout is the number of seconds it waits to boot the default

#

in boot menu

#

so it's gonna default boot arch

#

wait 4 seconds, you can change that

#

don't change the others

steel rain
#

ok

echo zephyr
#

now you need to make sure internet works when you reboot

#

pacman -S networkmanager dhcpcd

#

systemctl enable NetworkManager

#

systemctl enable dhcpcd

#

or if you have a better preference

#

like I think I use systemd.resolved now

#

other than that, what desktop environment or window manager do you use?

steel rain
#

i3

echo zephyr
#

ok you might wanna install that now

#

or just reboot and see if you can get in, but you need to exit chroot, umount and poweroff first

#

exit

#

umount -a

#

poweroff

steel rain
#

what is it gona boot into

echo zephyr
#

login

#

hopefully

#

in a tty shell

steel rain
#

when do we instal login manager

echo zephyr
#

after you poweroff, unplug the iso usb

steel rain
#

i remember

echo zephyr
#

we can do that after we boot

#

imo we should check if what we've done already works

steel rain
#

how

echo zephyr
#

exit && umount -a && poweroff

#

then unplug usb and boot it up

steel rain
#

btw should i boot into bios and change boot priority

#

actually idk what happens

echo zephyr
#

shouldn't have to

#

but if it doesn't work then probably

steel rain
#

cuz i put the usb at the top and now its not plugged in so does it just disapear

echo zephyr
#

shouldn't show up then

haughty perch
echo zephyr
#

yeah

steel rain
#

im at login thing

#

do i put root or my username or what

haughty perch
#

The user you created
You should only really use root if you absolutely have to

echo zephyr
#

yeah use your user

#

username and then it will p rompt for pw

steel rain
#

yea im in

echo zephyr
#

okay sorry but I need to brb, check for internet

steel rain
#

didnt work

echo zephyr
#

okay you need to configure network manager