#[SOLVED] Tried using Google Gemini (AI) to flash hyprland via USB stick and now I'm stuck.

1 messages · Page 2 of 1

calm egret
#

And no job control in this shell

raven meteor
#

those are okay

calm egret
#

Ok I'm back in root archlinux

raven meteor
#

cool.

#

try to generate with mkinitcpio -P

calm egret
raven meteor
calm egret
#

Nah I don't see it here

raven meteor
#

mount it, thats where the images are gonna be

calm egret
#

so `mount -o /dev/boot/ ?

raven meteor
#

mount /dev/mmcblk0p3 /boot

calm egret
#

Sorry I just don't know know how to do any of this

raven meteor
#

yeah no sorry im super laggy in real life rn so not much to help either

calm egret
#

Now it says that the kernel image doesn't exists

raven meteor
#

send a picture of lsblk

#

you have some weird shadow partitions i forgot about

#

these need to go

calm egret
#

Ima delete them with fdisk

raven meteor
#

yeah, how did u even create them

calm egret
#

Bc I saw it with the Ai as well

#

Oops

#

How do you exit out of fdisk again?

raven meteor
#

w to save

#

q to exit

calm egret
#

Ok whew

#

Almost deleted partition 1

#

How would you be able to delete them? They aren't under a file like sda or mmcblk0 so you can't enter into it

raven meteor
#

could probabl jyust unlink them by they dev block name

calm egret
#

How?

raven meteor
calm egret
#

Unlinked but still did nothing

raven meteor
#

yea sec

#

need to see more of the errors

calm egret
#

Alr

raven meteor
#

there is a copy of the kernel in some modules folder

#

try this

#

wait, make sure your boot is mounted first

calm egret
#

How to check that

#

Bc I thought lsblk was to check that

raven meteor
#

outside of chroot there are more convenient commands but checking if its a mountpoint rn is pefcetly valid

#

mountpoint /boot

#

if it's a mountpoiint its good

#

so if its a mountpoint, run this cp /usr/lib/modules/$(uname -r)/vmlinuz /boot/vmlinuz-linux

raven meteor
raven meteor
#

nice.

#

i keep feeling doubtful about your fstab with labels

#

idk, we'll see

calm egret
#

Hopefully

raven meteor
#

i guess thats it then?

calm egret
#

Ok then boot time

#

Right?

raven meteor
#

do you have efibootmgr installed=

calm egret
#

I don't think it worked last time

#

We tried installing it with pacman right?

raven meteor
#

cant remember

calm egret
#

Let's try installing it rn

#

If It doesn't work at least we still have grub

raven meteor
#

was thinking if you had it to delete old partition entries, no stress

calm egret
#

Btw mmcblk0p1 and mmcblk0p0 are still there I think

#

SORRY I MEAN

#

mmcblk0boot0

#

Mmcblk0boot1

#

Anyways am I safe to reboot?

raven meteor
calm egret
#

It booted me back into grub

raven meteor
#

damn!

calm egret
#

Maybe I should make it so 'arch' is the first to boog

raven meteor
#

i forgot,

#

did you regen grub config after mkinitcpio?

#

gonna reboot too. my sound is broken :s

calm egret
raven meteor
#

sorry man, i keep forgetting you dont know much about linux

calm egret
#

Does that mean we have to do all of that again 😭

raven meteor
#

only 1 more chroot

#

1 command

#

and reboot

calm egret
#

Ok so I'm back in the grub command line

raven meteor
#

set root=(hd1,1)

#

linux (hd1,3)/vmlinuz-linux rw root=/dev/mmcblk0p1

#

initrd (hd1,3)/initramfs-linux.img

#

boot

calm egret
#

So close

raven meteor
#

so its hd0 instead

calm egret
#

So replace the set=root, the second line and third line with (hd0,1) and (hd0,3)?

raven meteor
#

yeah

calm egret
#

Second line error disk hd0,3 not found

raven meteor
#

run ls

calm egret
#

Don't know why lsblk would work here lmao

raven meteor
#

ls (hd1,1)/
ls (hd1,2)/
ls (hd1,3)/

#

once at a time

#

did you forget to rename the kernel when you copied it earlier?

#

is it still just called vmlinuz

calm egret
raven meteor
#

check

#

ls (hd1,3)/

calm egret
raven meteor
#

look at their contents

calm egret
#

It seems correct

#

Although the second one doesn't have a filesystem name

raven meteor
#

its only swap anyway

#

but i meant add a slash to your quries

calm egret
#

Oh wait I confused something mb

raven meteor
#

sweet there it is

calm egret
#

Any more commands?

raven meteor
#

i cant see hd1,3s entire patch

#

linux (hd1,3)/boot/grub/vmlinuz-llinux rw root=/dev/mmcblk0p1

#

is initram at the same place?

calm egret
#

File not found

raven meteor
#

where is it then???

#

yea i spelt vmlinuz-llinux wrong but havent you typed it enough by now to know

#

sorry 🙏

calm egret
#

No even I fixed fhat

#

Still the same error

raven meteor
#

can you do ls {h1,3)/ and just spam tab complete

calm egret
raven meteor
#

yeah i meant in the directory, not the commands avaialble

calm egret
#

Don't know what it means but when I enter that command, it just outputs nothing

raven meteor
#

its not a comman

#

look i gotta run for a few

#

when you got the kernel sorted its only the initramfs-linux.img left for the gruub part
initrd (hd1,3)/where/ever/itis.img

boot

when you got the kernel sorted its only the initramfs-linux.img left for the gruub part
`initrd (hd1,3)/where/ever/itis.img

When you are in rootfs, start with making the new root fs

mkdir /mnt
immiedetely mount your root
mount /dev/mmcblk0p1

then the systems functionality
mount -t proc /proc /mnt/proc
mount -t sysfs /sys /mnt/sys/
mount -o bind /dev /mnt/dev/
mount -o bind /run /mnt/run/

mount -o bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars/

and then chroot it
chroot /mnt /bin/bash

once in chroot, generate your grub-mkconfig with
stop! dont forget to mount your boot partition
mount /dev/mmcblk0p3 /boot before you do the grub-mkconfig

grub-mkconfig -o /boot/grub/grub.cfg

calm egret
#

Alr ty

#

I'm just going to leave it for now I really do not want to make any mistakes

calm egret
jagged ridge
#

@calm egret do what?

calm egret
#

Although idk how to do it

#

Like the first one

jagged ridge
calm egret
#

No I mean

#

He's asking me to look for something

#

Look at the first line of code he said

jagged ridge
#

@calm egret type initrd (hd1,3)/where/ever/itis.img

calm egret
#

I need to load a kernel first it said

jagged ridge
calm egret
#

I know it looks stupid I genuinely don't know what to put thete

#

Also sorry for delay

jagged ridge
calm egret
#

What command can I do that with?

jagged ridge
calm egret
#

Whenever I do that it just gives me the possible commands

calm egret
#

Are you available? @raven meteor

raven meteor
raven meteor
calm egret
#

Sorry for the spam but I just didn't know what i said yesterday

raven meteor
#

show me your root partition whenever you are up for it

calm egret
#

Should I just type ls?

#

@raven meteor

raven meteor
#

ls (hd1,1)/

calm egret
#

Sorry for delay

#

Oh wait

raven meteor
calm egret
calm egret
#

I gotta go but we'll talk in the afternoon. Here are some commands I made

raven meteor
#

you have kernel/initrd in your root/boot folder

raven meteor
#

since your root keeps changing its either these commands to boot:

linux (hd0,1)/boot/vmlinuz-linux rw root=/dev/mmcblk0p1
initrd (hd0,1)/boot/initramfs-linux.img
boot

#

if that dont work, change (hd0,1) to

#

(hd1,1)

calm egret
#

Ok so hd1,1 worked, I'm back in emergency shell again

raven meteor
#

cool

#

When you are in rootfs, start with making the new root fs

mkdir /mnt
immiedetely mount your root
mount /dev/mmcblk0p1 /mnt

then the systems functionality
mount -t proc /proc /mnt/proc
mount -t sysfs /sys /mnt/sys/
mount -o bind /dev /mnt/dev/
mount -o bind /run /mnt/run/

make the direcory for efivars: mkdir -P /mnt/sys/firmware/efi/efivars/
mount -o bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars/

and then chroot it
chroot /mnt /bin/bash

raven meteor
#

oh right

#

exit

#

mkdir -p /mnt/sys/firmware/efi/efivars

#

and rerun the mount command. (use arrow up)

calm egret
raven meteor
#

maybe its a small p

#

mkdir -p /mnt/sys/firmware/efi/efivars

calm egret
#

Yep

raven meteor
#

and rerun the mount command. (use arrow up) to mount the efivars

calm egret
#

Gave me the same mount command error

raven meteor
#

send pic

calm egret
raven meteor
#

exit from chroot

calm egret
#

It just asks me for my password tho

raven meteor
#

where

calm egret
#

"Give root password for maintenance"

#

Or press control d to continue

raven meteor
#

press ctrl + d

calm egret
#

Whenever I press ctrl d

raven meteor
#

okay

calm egret
raven meteor
#

there's a duplicate in your fstab

calm egret
#

How do I delete it?

raven meteor
#

using a text editor but its hard when there is no intsalled

#

cat /etc/fstab

calm egret
#

I remember there was one text editor I used before but I forgot what it was called

raven meteor
#

vi?

#

vim? macro? nano

#

mv /etc/fstab /etc/fstab2

#

echo "LABEL=ROOT / ext4 defaults 0 2" > /etc/fstab

calm egret
#

Yea it was nano

raven meteor
#

echo "LABEL=BOOT /boot vfat defaults 0 0" >> /etc/fstab

#

or use nano to remove the ID's

#

save the LABEL lines

#

and fix the LABEL_BOOT

calm egret
raven meteor
#

notice the double >> now

raven meteor
#

echo "LABEL=ROOT / ext4 defaults 0 2" > /etc/fstab

#

did you do this first

calm egret
#

Nah mb

raven meteor
#

you are missing the slash before etc

#

/etc/fstab

calm egret
#

Yep fixed them and it works now

raven meteor
#

good

#

send cat /etc/fstab again

#

you did it wrong

calm egret
raven meteor
#

why did you do LABEL_BOOT

#

just edit it with nano this time

calm egret
raven meteor
#

nano /etc/fstab

calm egret
raven meteor
#

we literally just cat it

#

nano /etc/fstab

calm egret
#

Now it says command not found

#

Mb I just saw it

raven meteor
#

yeah

#

rm /etc/fstab

#

echo "LABEL=ROOT / ext4 defaults 0 2" > /etc/fstab

#

echo "LABEL=BOOT /boot vfat defaults 0 0" >> /etc/fstab

calm egret
#

Worked. I think i didn't get the spaces last time so it didn't work then

raven meteor
#

spaces doesnt matter. as long as there is 1

#

anyway. thats done now

#

cat /etc/fstab

calm egret
#

LABEL=ROOT /boot vfat defaults 0 0 was the output

raven meteor
#

wait what

#

jesus

#

rm /etc/fstab

#

echo "LABEL=ROOT / ext4 defaults 0 2" > /etc/fstab

calm egret
#

Done

raven meteor
#

echo "LABEL=BOOT /boot vfat defaults 0 0" >> /etc/fstab

calm egret
#

Done

raven meteor
#

cat /etc/fstab

calm egret
#

Same as before but LABEL=BOOT

raven meteor
#

there is no LABEL=ROOT?

jagged ridge
raven meteor
#

probably not

#

notice the >> now

calm egret
raven meteor
#

wtf

jagged ridge
raven meteor
#

good

#

lsblk

calm egret
#

That doesn't look normal 😭

raven meteor
#

umount -r /mnt

jagged ridge
# calm egret

It's saying that /dev/mmcblk0p1 is mounted on both /mnt and /.

raven meteor
#

thats from earlier when you tried to mount the system mounts inside of chroot

calm egret
raven meteor
#

yeah i figured

jagged ridge
#

well, you could run umount -l /mnt

#

Idk. Are you using anything in /mnt

calm egret
raven meteor
#

nice

jagged ridge
raven meteor
#

mount /dev/mmcblk0p3 /boot

calm egret
jagged ridge
#

yes

raven meteor
#

good

calm egret
#

mount: (hint) your fstab had been modified, but systmd still uses the old version; use 'systemctl daemon-reload' to reload.

#

Nothing to worry about right?

raven meteor
#

systemctl daemon-reload

jagged ridge
raven meteor
#

apparently not

calm egret
raven meteor
#

mount /dev/mmcblk0p3 /boot

calm egret
raven meteor
#

lsblk

calm egret
raven meteor
#

umount /dev/mmcblk0p3

#

run lsblk again after that

jagged ridge
#

@raven meteor Whats the current error while booting? (I was reading the history of the thread but stopped after around 500 messages)? Do they just have to regen grub and remake the initcpio?

jagged ridge
#

ok

raven meteor
#

there is no internet, no text editors

calm egret
jagged ridge
#

mkinitcpio -P

#

Hopefully that works without an error

calm egret
#

It's running but it's giving another of warnings

jagged ridge
#

Are the warnings just "Possibly missing firmware"?

raven meteor
#

if its running thats good.
send a picture when its done

raven meteor
#

yes thats very good!

#

yeS!

jagged ridge
#

now you should just have to run grub-mkconfig -o /boot/grub/grub.cfg

calm egret
#

Done

jagged ridge
#

After you get booting. It might be a good idea to just download an ISO and reinstall? We don't know what has fully happened to your system.

jagged ridge
calm egret
#

Ok so time to boot?

raven meteor
#

time to reboot

jagged ridge
#

and hope it worked

raven meteor
#

yeah

calm egret
#

Whats the command to reboot? I feel like if i hold down the power button and turn it back on it will reset something

raven meteor
#

reboot

calm egret
#

Failed to connect to system scope bus via local transport: No such file or directory

jagged ridge
#

wait. Don't do that

#

first run sync

calm egret
#

Too late rip

jagged ridge
#

to sync your disks

calm egret
#

I'm here now

jagged ridge
#

well .Lets see if it worked

raven meteor
#

where is here

calm egret
#

Sorry discord just won't let me take a screenshot

#

But there is the option for arch linux

jagged ridge
#

chose it

raven meteor
#

yes

calm egret
#

Still loading...

raven meteor
#

pic

calm egret
jagged ridge
#

well. It's closer

#

did you label the boot device?

raven meteor
#

we did. might have become unlabeled

jagged ridge
#

alright. Bc systemd locks the emergency shell, we will have to chroot one more time.

#

well. You might as well try the emergency shell.

raven meteor
#

it will work to give root password

#

but ill let you cover this jacob
ill be away for a few

jagged ridge
#

ok

#

Did using the root password work?

calm egret
#

I mean I entered it and it worked

jagged ridge
#

ok great. so you have a shell?

calm egret
#

If that's [root@archlinux~]#then yes

jagged ridge
#

great.

#

whats the output of lsblk and blkid?

calm egret
jagged ridge
#

great.

#

run fatlabel /dev/mmcblk0p3 "BOOT"

calm egret
jagged ridge
#

Well that's fun

#

The easiest way to fix this would be to remake your fstab one more time

calm egret
#

So time to remount everything again?

jagged ridge
#

run echo "LABEL=ROOT / ext4 defaults 0 2" > /etc/fstab

jagged ridge
calm egret
jagged ridge
#

Sorry. Forgot to redirect it to the fstab.

calm egret
jagged ridge
# calm egret

yeah. Just press the up arrow and type >> /etc/fstab

raven meteor
#

and the quotes

jagged ridge
raven meteor
#

sweet

jagged ridge
#

I figured it would ber easier without them

calm egret
#

Worked without them

jagged ridge
#

ok. now run sync

#

and then reboot

calm egret
#

Worked

#

Except reboot

jagged ridge
#

ok. then run reboot -f

calm egret
#

Same error as befoe

calm egret
raven meteor
#

🙏

calm egret
#

OHH YES

#

IT WORKED

jagged ridge
raven meteor
calm egret
#

But wait

#

I've done this so many times I forgot my login (user) but not my pass

jagged ridge
#

...

#

ok. Reboot into grub and press e

calm egret
#

I put in what I thought it was but it sId it was incorrect

raven meteor
#

root works tho

#

cat /etc/passwd

jagged ridge
#

oh yeah. do you know the root password? Or do we have to reset it

calm egret
#

Yes I do know my root pass

#

I'm in grub (e) rn

jagged ridge
#

oh. then you didn't need to do that.

#

press Ctrl+X

raven meteor
#

its been a mile to get here lmao. a refreshed pair of eyes is always welcome

calm egret
#

Shouldbi choose the one with fallback initramfs

jagged ridge
calm egret
#

Still asking for a login

jagged ridge
#

if its a tty, enter root

calm egret
#

I entered root and it brought me to a shell

jagged ridge
#

ok. run cat /etc/passwd

calm egret
calm egret
jagged ridge
#

the bottom line should be your user

raven meteor
#

anything above 1000 UID

calm egret
jagged ridge
calm egret
#

Should I try nologin?

raven meteor
#

there's no user

#

no

calm egret
jagged ridge
#

ok then. run useradd -mUG wheel <username>

raven meteor
jagged ridge
raven meteor
#

its very unclear

jagged ridge
raven meteor
#

1000 packages are iinstalled but i couldnt tell you which.
its hard when there's no network configured

jagged ridge
#

yeah. Next step is network.

calm egret
jagged ridge
#

I do hope that you replaced <username> with a username

#

sorry if it wasn't clear

calm egret
#

Dw I'm not that dumb 😭

#

I replaced the user

jagged ridge
#

Great

calm egret
#

I can't setup the wifi inside of the arch itself?

#

I have to use iwtc?

jagged ridge
#

Run systemctl start NetworkManager

calm egret
#

Alr one sec

calm egret
jagged ridge
calm egret
#

Nope

jagged ridge
#

Ok. Great. Ethernet or Wi-Fi?

calm egret
#

Wifi

jagged ridge
#

ok then. Run nmtui

calm egret
#

Cool menu

jagged ridge
#

and select "Activate A Connection" and press enter

jagged ridge
#

then you should see your wifi

calm egret
#

The star means I'm connected right?

jagged ridge
#

yep

calm egret
#

I just entered my pass and everything

jagged ridge
#

ok.

#

press esc until you get back to a shell

calm egret
#

Ok im back to a blue shell

jagged ridge
#

ok. run pacman -Syu dosfstools

raven meteor
#

take a picture if there are more updates

calm egret
#

I assume u mean this

jagged ridge
calm egret
#

Yea this gotta be the most annoying way to install arch linux 😭

calm egret
#

Ok done

jagged ridge
#

ok then. Youshould also run pacman -S nano micro --noconfirm

calm egret
#

Done

jagged ridge
#

Ok. run fatlabel /dev/mmcblk0p3 "BOOT"

calm egret
#

It said It wasn't automatically fixing something and "there are differences between boot sector and it's backup

jagged ridge
#

thats fine

#

now run micro /etc/fstab

#

this should get you a text editor

calm egret
#

Yep

jagged ridge
#

ok. on the second line, change /dev/mmcblk0p3 to LABEL=BOOT

jagged ridge
#

could you send a pic?

calm egret
jagged ridge
#

add the line LABEL=BOOT /boot vfat defaults 0 2

calm egret
#

Done

jagged ridge
#

ok. Press Ctrl+s and Ctrl+q

calm egret
#

Done

jagged ridge
#

ok. Where do you want to go from here? Do you want to go back to Windows? Do you still want Arch? Etc

calm egret
#

No I would like arch to be the main primary os for my laptop

#

I don't want to reinstall windows for now

jagged ridge
#

OK. Well the next step is probably to reinstall arch. We don't know what the rest of your system looks like.

#

Ill help you through this and trust me, it's not too hard.

raven meteor
#

I haven't seen any other drives pop up during all of this

calm egret
#

Ok then

jagged ridge
#

To start, let's get a graphical interface. Run pacman -S xfce4 isoimagewriter

raven meteor
#

mmcblk is his memorycard, where arch currently is installed

#

/dev/sda is his usb-drive

jagged ridge
#

He has a usb to install from.

raven meteor
#

whats he gonna install on to

jagged ridge
#

mmcblk. It's a reinstall

raven meteor
#

thats a memory card, hes been talking about a hard drive

#

but havent seen any trace of a hard drive

jagged ridge
raven meteor
#

yeah

calm egret
#

A hard drive is a drive inside of the laptop yes?

#

Yk "unmountable"?

jagged ridge
#

@calm egret Is that right?

calm egret
#

Yes it is

jagged ridge
#

ok

raven meteor
#

ill leave you to it

calm egret
#

Mmcblk0 has always been the harddrive
Sda is the 64gb drive (the one I use to boot into arch
Sdb is my extra drive

jagged ridge
calm egret
#

Ok ran. I pressed enter every time btw

jagged ridge
#

um.. should be fine

calm egret
#

Idk if you know but I'm installing hyprland.

#

Ok done

jagged ridge
#

Yes. We are going to do that in the reinstall

jagged ridge
#

ok. run systemctl enable NetworkManager

calm egret
#

Done with no errors

jagged ridge
#

now run pacman -S sudo

calm egret
#

Done also with no errors : )

jagged ridge
#

ok. run EDITOR=micro visudo

#

and scroll to the bottom (or use arrow keys if scroll doesn't work)

calm egret
#

Ok I'm at line 140

jagged ridge
#

ok. You should see a line that starts with # :wheel. Remove the # and the space

calm egret
#

There's two

jagged ridge
#

um... Either works.

#

You can just uncommnt the one that has NOPASSWD in it.

#

then save and quit

calm egret
#

done but I didn't do the NOPASSWD one

jagged ridge
#

now run startxfce4

#

wait. Before you do that

#

run su <your user>

calm egret
jagged ridge
#

ok. type exit

#

and re-login as your user

calm egret
#

Ok done

#

Same error tho

jagged ridge
#

ok. Run sudo pacman -S xorg-server

calm egret
#

When I typed my pass is said <user> is not in the sudoers file.

#

Obviously using my user tho

jagged ridge
#

run su root and then gpasswd -a <your user> wheel

#

then exit

calm egret
#

Done

jagged ridge
#

ok. now try sudo pacman -S xorg-server again

calm egret
#

Same error

jagged ridge
#

you sure you removed the hashtag?

calm egret
raven meteor
#

su - timi

jagged ridge
#

i guess su root and run EDITOR=micro visudo again

#

could you then scroll down and take a pic?

calm egret
raven meteor
#

try sudo pacman -S xorg-server

calm egret
#

Worked

jagged ridge
#

wait what?

#

ok then

#

try startxfce4 again

raven meteor
#

groups dont get added to existing shells so had to refresh when you added the wheel group

raven meteor
#

🤝

jagged ridge
#

@calm egret Did it work?

calm egret
#

Yep

jagged ridge
#

great.

#

I dont remember if xfce comes with xfce4-terminal.

#

Can you open a terminal?

calm egret
#

With what command?

jagged ridge
#

usually there is a terminal button at the bottom of xfce

calm egret
jagged ridge
#

oh. run sudo pacman -S xfce4-terminal and then startxfce4

calm egret
#

Let's gooo

jagged ridge
#

I assume you're now in xfce

calm egret
#

Yep

#

Opening the terminal now

jagged ridge
#

ok. run sudo pacman -S firefox && firefox

calm egret
#

There are two dependencies

#
  1. jack2 2)pipewire-jack
jagged ridge
#

shouldn't they auto-install

#

oh. #2

calm egret
#

Sorry I mean providers

jagged ridge
#

choose 2

calm egret
#

Which font?

jagged ridge
#

noto

#

should be first or second

calm egret
#

Done Firefox opened immediately

jagged ridge
#

great.

calm egret
#

Yep, should I install Rufus or should I just use dd?

jagged ridge
#

Rufus is windows-only.

calm egret
#

Ahh ok

jagged ridge
#

I was going to have you use isoimagewriter

#

Alr, go to Download

calm egret
jagged ridge
#

Otherwise do an http download

calm egret
#

Nah it's a extra step I got the iso rn

jagged ridge
#

just sudo pacman -S qbittorrent

jagged ridge
calm egret
jagged ridge
#

I was going to say take a nice break but your internet is fast...

calm egret
#

Ok done

jagged ridge
#

Well. In a new terminal, run isoimagewriter

#

or just close firefox and use the old terminal

calm egret
jagged ridge
#

... run sudo pacman -S isoimagewriter

calm egret
#

Anyways done

jagged ridge
#

nice

#

run isoimagewriter again

calm egret
#

Ok I see it now

jagged ridge
#

I assume you can guess what to fill in

calm egret
#

Yep

#

But wait

jagged ridge
#

yeah

calm egret
#

Never seen this before

jagged ridge
#

its just a warning. You can ignore it.

#

It's fine if you downloaded over https

calm egret
#

Ok it's creating now

jagged ridge
#

ok.

calm egret
#

Also when we run the new iso are we using archinstall or are we going the harder path?

jagged ridge
#

depends, I would recommend a manual install bui iiirc your origional problem was caused by running commands before running archinstal

calm egret
#

Manual install it is then

#

Ok done

jagged ridge
#

ok. first, run efibootmgr

#

can you send a pic of the output?

calm egret
jagged ridge
#

wow that's a lot.

calm egret
#

Ok well I think I know some stuff that aren't necessary

#

Boot 15-18 are probably useless

jagged ridge
#

can you just run sudo efibootmgr -Bb and then the 4 digit number for every single one

#

nope. None are necessary.

#

they will all be re-created

#

and then could you just re-run efibootmgr and post the pic

calm egret
jagged ridge
#

ah. What was the last command you ran?

jagged ridge
#

hm... that's correct.

calm egret
jagged ridge
calm egret
#

Including the windows boot manager?

jagged ridge
#

Yeah. Windows isn't even installed is it?

calm egret
#

No it should be gone

jagged ridge
#

then yeah. Including it

calm egret
jagged ridge
#

ok. Perfect

#

now you should be goot to reboot into the usb.

calm egret
#

Ok ima head Into my boot settigns

#

Here's what the order looks like

#

It just took me to grub again

#

(Before this)

jagged ridge
#

ok. Well you should be good to boot the usb.

calm egret
#

It booted me back into grub

#

So I went into arch linux and logged in

jagged ridge
#

so you are back in your install?

calm egret
#

Don't think so it just led me back to the root

#

I don't think I ordered the USB drive correctly or something

jagged ridge
#

usually computers have a 1 time boot menu

calm egret
jagged ridge
#

@calm egret So I NEED to go in an hour. If you like, we can continue this tomorrow. r I can try to help you get it installed rn.

jagged ridge
#

ok. Move the usb to the top of the boot priority.

#

Usually press f5 while selecting it

calm egret
#

The hdd one?

jagged ridge
#

the USB with the arch ISO we flashed

calm egret
#

Ok done it booted me into the os screen

jagged ridge
#

perfect. First option

calm egret
#

Yep it's loading now

#

Ok lemme quickly setup iwct

#

Unless u got a quicker method?

jagged ridge
#

nope. Normal is fastest

#

(iwctl station connect)

calm egret
#

Ok brb

#

Done

jagged ridge
#

ok. First thing. We need to partition.

#

Run fdisk /dev/mmcblk0

calm egret
#

Yep

jagged ridge
#

OK. Are you using UEFI?

calm egret
#

The boot is set to legacy rn

#

But my laptop has the option for uefi

jagged ridge
#

I mean. Your choice.

calm egret
#

Uefi for sure

#

Shouldn't I go fix that?

jagged ridge
#

yeah

calm egret
#

Uh oh

#

I switched to uefi and now it won't let me select the new arch drive

#

Ima go back go legacy 😭

jagged ridge
#

Nothing is wrong with legacy. The UEFI spec sucks

calm egret
#

Really? I thought uefi was a much better choice

jagged ridge
#

I mean, it depends

#

We want to get this done in 45 mins though

#

so boot and get upto fdisk

calm egret
#

Alr I'm back in fdisk

#

With wifi set up

jagged ridge
#

ok. type o and press enter

calm egret
#

Done

jagged ridge
#

type n and press enter

calm egret
#

Primary or extended?

jagged ridge
#

primary

#

it's the default so you can just press enter

calm egret
#

Partition 1?

jagged ridge
#

wdym partition 1?

calm egret
#

It's asking for a partition number

jagged ridge
#

1

#

press enter for first sector

calm egret
#

How much for last?

jagged ridge
#

and for last, press +8G.

#

(this is your swap)

#

I saw you has 8G before

calm egret
#

It's asking me if I want to remove the signature?

jagged ridge
#

yes

#

now press t, enter and type swap

calm egret
#

Ok done

jagged ridge
#

now press n and press enter 5 times

calm egret
#

Yep done

jagged ridge
#

this will be your root partition

calm egret
#

Yep

jagged ridge
#

type t, enter, 2, enter, linux, enter

calm egret
#

Done

jagged ridge
#

now press w and enter

calm egret
#

Ok done

jagged ridge
#

alr, run mkswap /dev/mmcblk0p1

calm egret
#

Done

#

It says nolabel tho

jagged ridge
#

now run mkfs.ext4 /dev/mmcblk0p2

calm egret
#

Done

jagged ridge
#

ok. run swaplabel /dev/mmcblk0p1 "SWAP"

#

wait. wrong command

#

swaplabel -L "SWAP" /dev/mmcblk0p1

#

that one's right

calm egret
jagged ridge
#

now e2label /dev/mmcblk0p2 "ROOT"

calm egret
#

Error

jagged ridge
#

ah. run mkfs.ext4 /dev/mmcblk0p2

#

and choose yes, wipe if asked

calm egret
#

Ok done, run last command again?

jagged ridge
#

yep

calm egret
#

Done

jagged ridge
#

are you on an intel or amd cpu?

calm egret
#

Lemme check

#

Intel

jagged ridge
#

ignore that. That was too early

calm egret
#

Oh ok

jagged ridge
#

I'm getting ahead of myself.

#

swapon /dev/mmcblk0p1

calm egret
#

Done

jagged ridge
#

mount /dev/mmcblk0p2 /mnt

calm egret
#

Done

jagged ridge
#

Now pacstrap -K /mnt base linux linux-firmware nano micro grub networkmanager intel-ucode

#

This is the actuall install part

calm egret
#

Yep it's doing it's thing

jagged ridge
#

Great

calm egret
#

Hopefully this doesn't take to long, please write down the rest of the commands just in case so if u gotta go I can write them down

jagged ridge
#

ok.

calm egret
#

If there are any errors I'll just search em or wait tmr

#

Also incorporate that I want to have stuff like neofetch and Firefox installed

#

Lmao

#

Ok luckily its done

jagged ridge
#

ok. I have the commands saved in case I have to go

#

can you post the output of genfstab -L /mnt

calm egret
#

Great

jagged ridge
#

great. run genfstab -L /mnt >> /mnt/etc/fstab

calm egret
#

Done

jagged ridge
#

now run arch-chroot /mnt

calm egret
#

Done

jagged ridge
#

ok. Now run ln -sf /usr/share/zoneinfo/<Region>/<City> /etc/localtime Replacing region and city

#

you can tabcomplete to see options

calm egret
#

Hmm

jagged ridge
#

Hmm?

calm egret
#

I can't put something like <providence>/<city> right?

jagged ridge
#

I mean, IDK. Depends where you are

calm egret
#

Ok wait lemme see available options

#

I have no idea how to set this up. Can we skip this or can I just use your config

jagged ridge
#

You can use mine.

#

ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime

calm egret
#

No file or directory

jagged ridge
#

there should be

calm egret
#

Nvm fixed it

jagged ridge
#

... Region and City are not in <>

#

which might have been your issue but you can change it later

#

so you got that working?

calm egret
#

Yep

jagged ridge
#

hwclock --systohc

calm egret
#

Done

jagged ridge
#

run micro /etc/locale.gen

#

press Ctrl+f and type en_US and press enter

calm egret
#

Done

jagged ridge
#

then remove the hashtag before en_US.UTF-8 UTF-8

calm egret
#

Done

jagged ridge
#

ok. Save and quit micro

calm egret
#

Done

jagged ridge
#

run locale-gen

calm egret
#

Done

jagged ridge
#

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

calm egret
#

Done

jagged ridge
#

echo "<hostname>" >> /etc/hostname You can put whatever you want. Put something simple for now/

calm egret
#

Done

jagged ridge
#

Now set a root password passwd

calm egret
#

Ok done

jagged ridge
#

pacman -S e2fsprogs dosfstools fastfetch firefox

calm egret
#

Can I add neofetch to this?

#

Lmao

jagged ridge
calm egret
#

Oh lmao

#

What number should I add?

jagged ridge
#

for which

#

Use pipewire and noto-fonts

calm egret
#

Same as before (jack2 or pipewore-jaxk

#

Ok

#

Ok downloading now

jagged ridge
#

Then useradd -mUG wheel <username>

calm egret
#

Ok

jagged ridge
#

Next steps are:

  1. passwd <username>
  2. grub-install --target=i386-pc /dev/mmcblk0
  3. grub-mkconfig -o /boot/grub/grub.cfg
  4. systemctl enable NetworkManager
#

and reboot

calm egret
#

Ok then if you are still there I'll let u know when it's done

jagged ridge
#

I might be.

#

gtg rn.

calm egret
#

Alr

#

It's done but ima do the rest by mysf

jagged ridge
#

Ok

calm egret
jagged ridge
#

Let me see

#

(Actually available for a bit longer that I thought

calm egret
calm egret
jagged ridge
# calm egret

Well your USB is still plugged in and the first boot priority

calm egret
#

Ohh makes sense

#

So what goes first now?

jagged ridge
#

What are the options?

calm egret
jagged ridge
#

eMMC card I think

calm egret
jagged ridge
#

Unplug the USB and retry

calm egret
#

The emmc card is empty :/

#

Like it won't let me boot into it

jagged ridge
#

OK. Plug the USB in and boot the install medium

#

(Troubleshooting should be very easy now)

calm egret
#

Ok back in the main screen

jagged ridge
#

The shell or the boot screen

calm egret
jagged ridge
#

OK. Run cat /sys/firmware/efi/fw_platform_size

calm egret
#

It output 64

jagged ridge
#

Oh no. That means it's in uefi mode

#

Can you enable csm in bios?

calm egret
#

I think so?

jagged ridge
calm egret
#

I looked everywhere I don't see csm anywhere

jagged ridge
#

Can you send a picture of the boot mode (legacy vs uefi) page

calm egret
jagged ridge
#

Change boot priority to legacy first

calm egret
#

Then boot again?

jagged ridge
#

Yep

#

Turns out in your bios, csm is called boot mode

calm egret
jagged ridge
#

What happens if you choose boot existing OS in that menu?

calm egret
#

Nothing, I pressed it and ir accidentally led me back into the install

#

Heading back now

jagged ridge
#

Oh. OK.

#

alr. Re-enter the installer

calm egret
#

Alr, what code should I put?

jagged ridge
#

Can you re-run cat /sys/firmware/efi/fw_platform_size

#

It should give a file not found

calm egret
#

It says no such file or directory

#

Same thing?

jagged ridge
#

Perfect

#

Yep

#

Run mount /dev/mmcblk0p2 /mnt

calm egret
#

Done

jagged ridge
#

arch-chroot /mnt

calm egret
#

Done

jagged ridge
#

Try running grub-install --target=i386-pc /dev/mmcblk0 Again

calm egret
#

It installed with no errors

jagged ridge
#

OK. And re-run grub-mkconfig -o /boot/grub/grub.cfg

calm egret
#

Uhh

jagged ridge
#

?

calm egret
#

Sorry discord just Hates my phone for some reason

jagged ridge
#

No. That's good

#

Ok

#

OK. Press Ctrl+D

calm egret
#

Done

jagged ridge
#

And type reboot

#

And remove the USB

calm egret
#

Well I did and nothing will work

jagged ridge
#

Define "nothing will work"

calm egret
#

The emmc card won't boot

jagged ridge
#

Hold. On. I'm curious about something.

#

Ugh. Can't type on my phone

calm egret
jagged ridge
#

Plug the USB in and at grub, press c

calm egret
jagged ridge
#

No. Boot the usb

calm egret
#

Which?

jagged ridge
#

Usb

calm egret
jagged ridge
#

What?

#

The USB does?

calm egret
#

Lemme show u

#

Gimme a sec

jagged ridge
# calm egret

Oh no. When at the prompt press C, don't remove the usb

calm egret
#

The boot selection prompt?

jagged ridge
#

The one with the archlinux logo

calm egret
#

Yea that didn't work

jagged ridge
#

To get to the grub prompt?

calm egret
#

Nope

#

The c input does nothing

jagged ridge
#

Huh

#

Listen. I'm getting very tired. It's getting late. Can we continue this tmrw? Or anyone else who joins today?

calm egret
#

Alr yea

jagged ridge
#

OK. Sya tommorow

calm egret
#

Cya gn

jagged ridge
#

@calm egret Good Afternoon/Morning/Night

calm egret
#

Good afternoon/morning/Night to u too

calm egret
jagged ridge
#

Yeah. I should be

#

Just ping me when you get home

calm egret
#

Alr I'm home now @jagged ridge

jagged ridge
#

OK.

#

Hello again

calm egret
#

Hello

#

U think you know what the issue is?

jagged ridge
#

Yep. Sadly

#

You'll see.

#

First, You'll want to change tho boot order back to UEFI First

calm egret
#

Oh ok

#

So I change both to UEFI?

jagged ridge
#

and move the usb to the top

calm egret
#

Ok rebooting no

#

It booted me into this, do we gotta do a reinstall?

jagged ridge
#

yep. Hopefully for the last time

calm egret
jagged ridge
calm egret
#

Ok it's loading now

#

I'll let you know when I setup the wifi

jagged ridge
#

ok

calm egret
#

Ok done

jagged ridge
#

ok. run cat /sys/firmware/efi/fw_platform_size

#

it should be 64

calm egret
jagged ridge
#

ok. Run fdisk /dev/mmcblk0

calm egret
#

Done

jagged ridge
#

Type g and press enter

#

Ignore the warning

calm egret
#

Ok

jagged ridge
#

type n and press enter

#

you want partition 1 so just press enter for the default

#

Press enter for first sector

#

and enter +1G for second

calm egret
#

Ok done

jagged ridge
#

type t press enter and then 1 and enter

calm egret
jagged ridge
#

yes

calm egret
jagged ridge
#

now press: n, enter 3 times, +8G and enter

calm egret
#

Oops I pressed enter 3 times but it accidentally used all of the storage for the last sector

#

I can delete it right?

jagged ridge
#

its fine. Press d and then 2

jagged ridge
calm egret
jagged ridge
#

now just press n and enter until it's done asking questions (4 times?)

calm egret
#

Alr done

jagged ridge
#

now type t and choose partition 2

#

enter swap for type

calm egret
#

Ok done

jagged ridge
#

ok. Finally, type t again and enter 3

#

Actually, nvm. The default type should be fine

#

just press Ctrl+C to exit type selection

calm egret
waxen thornBOT
#

jacoblightning3 received a thank you cookie!

jagged ridge
#

then type w

#

and enter.

calm egret
#

Ok done

jagged ridge
#

could you show a pic of lsblk

calm egret
jagged ridge
#

ok. great.

#

run mkfs.fat -F 32 /dev/mmcblk0p1

calm egret
#

I'm not sure if it's a program but it said mkfs.fat 4.2 (2021-01-31)

jagged ridge
#

now run fatlabel /dev/mmcblk0p1 "BOOT"

calm egret
calm egret
jagged ridge
#

ok. Now run mkswap /dev/mmcblk0p2

calm egret
#

Done

jagged ridge
#

swaplabel -L "SWAP" /dev/mmcblk0p2

calm egret
#

Done

jagged ridge
#

mkfs.ext4 /dev/mmcblk0p3

calm egret
#

Done

jagged ridge
#

e2label /dev/mmcblk0p3 "ROOT"