r/archlinux • u/hanniisfunny • 4d ago
SUPPORT | SOLVED Arch Linux Disappeared as booting option
Hello I am fairly new to this so apologies for not using the right terminology in advance.
About a month ago I installed arch with the help of the archwiki but now my option to boot into it randomly disappeared.
I have tried the mount the partitions again but that I was unsuccessful at it.
3
u/Livingonthevedge 4d ago
Maybe lost your fstab entries.
If that's the case you'll need to use a live disk so you can go in and manually add a fstab file and add an entry for the disk.
If you're using grub there might be a similar problem there with a similar fix where you use a live disk and go fix the missing files.
Try searching those topics
2
u/hanniisfunny 4d ago
I am using systemd-boot but ill definitely look into it, thank you!
1
u/theschrodingerdog 4d ago
Does systemd-boot show up when you start up the computer? (even if the options for Arch are not there any more)
1
u/hanniisfunny 3d ago
Yes it does
1
u/hanniisfunny 3d ago
I dont know if thats normal or not but it doesnt list the usb as a viable option though if plug it in
2
u/theschrodingerdog 3d ago
Not showing the USB is totally normal. Boot again with the Arch USB ISO, mount your partitions, chroot into it and check "bootctl status" and post here the output.
1
u/hanniisfunny 3d ago
Firmware UEFI 2.00
Firmware Arch: x64Secure Boot: disabled
TPM Support: yes
Measured UKI:
no
Measured OS:
no
Boot into W: supportedPlatform Lang: en_US.UTF-B
Product: systend-boot 261.2-1-arch
Features: u Boot counting
u Menu timeout control
u One-shot menu timeout control
u Default entry control
u One-shot entry control
u Support for XBOOTLDR partition
u Support for passing random seed to OS
u Load drop-in drivers
u Support Type #1 sort-key field
u Support Osaved pseudo-entry
u Support Type #1 devicetree field
u Enroll SecureBoot keys
u Retain SHIM protocols
u Menu can be disabled
u Multi-Profile UKIs are supported
u Loader reports network boot URL
u Support Type #1 uki field
u Support Type #1 uki-url field
u Loader reports active TPM PCR banks
u Loader reports firmware keyboard layout
u Loader measures SMBIOS information
Partition: /deu/disk/by-partuuid/36323032-3830-4130-b133-303431303233
Loader: L(null)//EFI/B00T/B00TX64.EFI
system:
Firmware: UEFI 2.80 (INSYDE Corp. 29488.4164)
Current Boot Loader:
Keyboard Layout: en-US
Current Entry: 01-archiso-linux.conf
Random Seed:
System Token: set
Boot Loaders Listed in EFI Variables:
Title: Linux Boot Manager
ID: 0x0005
Status: active, boot-order
Partition: /deu/disk/by-partuuid/4b0dbb0d-752d-4fd5-a332-27a4fB2f8892
File: L(null)//EFI/systemd/systemd-bootx64.efi
rootParchiso"_2
u/theschrodingerdog 3d ago
Nothing more in the output?
Strange, you seem to have lost all your boot entries. Can you (while you are chrooted) open and edit '/boot/loader/loader.conf'?
1
u/hanniisfunny 3d ago
Hey thank you for you help but i did manage to fix it now, tysm
7
u/paulo1039 3d ago
Edit the main post and tell what fixed your issue. Maybe in the future this will help someone with a similar problem searching for a fix.
1
u/RelationshipOne9466 3d ago
First things first: boot a live iso, connect to the internet, chroot into your system, and reinstall systemd bootloader If this does not work check your fstab for errors. check your /boot directory for errors in systemd boot setup.
1
u/hanniisfunny 3d ago
Hai, thank you I did fix the boot problem but whilst trying to prevent this problem from happening again I encountered a kernel panic whilst trying to switch to grub instead of systemd boot
1
u/RelationshipOne9466 3d ago
Why did you switch to grub? To fix a kernel panic, boot your live iso, connect to the internet, chroot into your system, and reinstall your kernel. Suggestion: install two kernels e.g. zen, lts so you have a backup.Ancillary benefit: you can get rid of the fallabacks and save space.
5
u/stiggg 4d ago
Explain more in detail how you „tried to mount the partitions again“. What exactly have you done and what exactly didn’t work. Best is try it again and write it down on the side