#deleted sda1 boot partition while trying to install arch linux
57 messages ยท Page 1 of 1 (latest)
@teal valley do you have another device that has an os
and do you have a usb?
if so flash an iso to that usb using your other device
Yes i have ubuntu installed on a duel boot desktop ๐ฅ
now that's even weirder
Timeshift made everything worse ๐๐
๐ญ๐ญ๐ญ
Now im stuck in a loop
Any suggestions?
wait howd you access timeshift if you arent able to boot into the iso?
I booted into pop_os
Ran timeshift from there
Waited for everything to build hit the prompt
Then the catastrophe hit
timeshift only affects its host system
you just rolledback popos
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
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
Did you test your script in a vm?
yes
i first git cloned archtitus repo then replaced 0-preinstall.sh with it
0-preinstall.sh is on reponame/scripts/0-preinstall.sh
then run archtitus.sh
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
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
Ty
yeah uh
you missed alot of stuff
Oof
i have an idea
you still have the file right?
if so
cat thefile | xclip -sel clip
this will copy it to your clipboard
gotcha
yep i still have it
This should be the correct setup now
wait you got it wrong
replace that one with 0-preinstall.sh
keep the original archtitus.sh
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
should be all fixed now