#deleted sda1 boot partition while trying to install arch linux

57 messages ยท Page 1 of 1 (latest)

teal valley
#

I just need to be able to boot to anything so i can time-shift back to my build

supple hamlet
#

if so flash an iso to that usb using your other device

teal valley
teal valley
#

No fucking idea what this is

#

Its just grey now

supple hamlet
#

weird

#

this is when booting to the iso correct?

teal valley
#

It just went into emergency mod

supple hamlet
#

now that's even weirder

teal valley
#

Timeshift made everything worse ๐Ÿ’€๐Ÿ’€

#

๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ

#

Now im stuck in a loop

#

Any suggestions?

supple hamlet
teal valley
#

I booted into pop_os

#

Ran timeshift from there

#

Waited for everything to build hit the prompt

#

Then the catastrophe hit

supple hamlet
#

timeshift only affects its host system

you just rolledback popos

teal valley
#

Shit

#

Okay

teal valley
supple hamlet
# teal valley So what should i do? ๐Ÿค”

download the archiso
flash it on the usb using pop os

mount your root to /mnt (has to be yoyr root subvol too you can do subvol=pathtosubvolfromid5 to specify which subvolume to mount to /mnt)
you said you deleted sda1 right?
if so
then
create another one with efi partition type then
mkfs.fat -F32 /dev/sda1
mount /dev/sda1 /mnt/boot or mount /dev/sda1 /mnt/boot/efi you can check where it was previously mounted by doing cat /mnt/etc/fstab

#

then chroot in
arch-chroot /mnt
if it was previously in /boot redeploy your kernel
pacman -S linux

#

then redeploy your bootloader
grub-install --target=x86_64-efi --efi-directory=/boot change /boot to /boot/efi if the esp is mounted there

#

then reconfigure grub
grub-mkconfig -o /boot/grub/grub.cfg you dont need to change this

teal valley
#

I fixed it ty ๐Ÿ‘

#

I think there was an error in my fork, the OG christitus installer is stilling alot more packages than what my fork did which was barely anything it was missing alot of packages

teal valley
supple hamlet
teal valley
#

Would be to much to ask for you to fork it? Im not sure if i pasted everything in correctly

#

In my fork

#

Would like to use your gitweb address for the git clone command

supple hamlet
#

i dont have a github acc ๐Ÿ’€

#

send me yours and ill tell you what's wrong just by doing
diff -u

#

when i get home

teal valley
#

Ty

supple hamlet
teal valley
#

Oof

supple hamlet
#

i have an idea
you still have the file right?

#

if so
cat thefile | xclip -sel clip

#

this will copy it to your clipboard

teal valley
#

yep i still have it

#

This should be the correct setup now

supple hamlet
#

wait you got it wrong

teal valley
#

okay hang on

supple hamlet
# teal valley okay hang on

ok, sorry for the delay
checked it
it looks fine now all you need to do is get the original archtitus.sh and move the one you currently have to scripts/0-preinstall.sh

teal valley
#

should be all fixed now