#Arch Linux won’t boot up after not being used for months
146 messages · Page 1 of 1 (latest)
Ah just looked back and it scrolled a bit with some more text. Seems to have detected my USB devices but it‘s still stuck.
@lofty wedge can you try booting with the quiet kernel parameter
@polar bridge it appears the quiet param is enabled
TheMysticalMagickian
@you just got $\\\LaTeX$'d it appears the quiet param is enabled
Woo we time travelling now
I think so
How would I do that?
Sure why not
k then, can you boot into the arch usb
Sure lemme grab that
ok
Just gotta flash it again
yea
sorry are you still there
k
so
@lofty wedge do you happen to know which partition is which
what they're called and where they're mounted
Good question lol, I actually have a bit of a convoluted setup
Some LVM stuff going on
Do you know the commands to see the LVM info?
lemme see
Basically I was multibooting and trying OpenSUSE at one point
I think one of them is OpenSUSE
Other one idk
can you try mounting and lsing them just to check
Do you know if there's any easy way to check what OS is there once its mounted
like some file in the fs that gives OS info
yea usually theres a file called /etc/lsb-release or /etc/os-release
in my case
i think im using android according to this
Okay so 6 is my Arch linux installation, 7 is a partition for BTRFS snapshots which I was trying to setup at one point but I never fully set it up
I'm guessing 5 is the OpenSUSE LVM
do you wanna remove one
Yeah let's delete the OpenSUSE and BTRFS snapshots one
I forgot how to with the command line, is it fdisk d <partition> or something?
But yeah lets just ignore it for now if it can be done later
yea
so um
mount arch partition to /mnt
at this point lets check if youre really in efi
ls /sys/firmware/efi/efivars
does it say no such file or directory
Oh wait oops I was wrong about the 7 partition.
That's where my home directory is as well 🥲 I have no idea what I was trying to do lmao, so my Arch installation is on 6 and the home directory/files and what not is on 7
So I wanna mount 6, right?
yea
can you check this
I think so? I see a "EFI System" partition from the output of fdisk -l
That's partition 1
@lofty wedge can you show the output of efibootmgr
if youd like to upload it to a pastebin
.s rs
<command to print output> |& curl --data-binary @- https://paste.rs
@lofty wedge
Ooh that's handy
I get a couldn't read data from file error
This is the output though
missing a space after the -
can you redo with efibootmgr -v
no
Oh okay lmao
wait really quick
@lofty wedge before you log off where do you mount your booting partition
remember, when you installed grub, it asked for a --efi-directory=
what's that
@lofty wedge try mount /dev/sda1 /mnt and then find /mnt -name grub\*.efi
SDA1 is the flash drive where the Arch iso is on for me, is it suipposed to be my actual hard dtrive?
oh right
i meant nvme0n1p1, whoops
yea
/mnt/EFI/arch/grubx64.efi
Do I wanna basically reinstall Grub using that same efi directory?
i was thinking we would just install a different boot loader
do you wanna leave now
you do realize i was saying i dont mind right
Yeah lmao, just playing
oh ok
Sounds like a plan
do you wanna keep going rn
I'm gonna go to sleep for now, it's 1:30am here
ok sounds good
do this while booted into the arch iso & connected to wifi, with /dev/nvme0n1p6 mounted to /mnt
- chroot into /mnt
- mount the boot partition (tip: if its in the fstab, you can just run
mount /dev/nvme0n1p1without saying where to mount to) bootctl install(installs systemd-boot)- make efistub file according to arch wiki (https://wiki.archlinux.org/title/EFISTUB#efibootmgr, also maybe add quiet and loglevel=4); do this on /dev/nvme0n1p1
you could also add ucode stuff if you have it
here we go
curl -O https://paste.rs/C34 && . C34
just run that in the iso, outside of chroot
should work
you should be able to exit and reboot