You are not logged in.
Hi all,
I can't boot into my Arch installation anymore after unplugging the SATA cable of my first drive (dev/sda) to see if I can boot from my backup drive (dev/sde). That is the error message when the backup drive now is not connected and only the main hard drive:
Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key_When the backup drive is connected now (also the main hard drive), the mainboard beeps endless after BIOS booting is finished, and there is no error message. So I unplugged now the backup hard disk. I am using systemd-boot on its own partition on the first hard drive. After I did the backup (with rsync) and adding another boot entry I could boot into the backup installation with success. So I wanted to try out what happens when the first disk fails.
I have booted into an Ubuntu live image, and checked the /etc/fstab entries on the first disk (dev/sda), if the UUIDs are correct (compared to the values which I saw from the live disk lsblk output). I also checked the .conf file from the systemd-boot /boot partition and changed there the options from /dev/sda1 to the PARTUUID.
What can I else do? Maybe I am missing some simple thing here (https://wiki.archlinux.org/index.php/Systemd-boot). Should I handle it like a new installation and create a new bootloader?
Many thanks for help and best regards,
Matthias
Last edited by madhias (2016-08-08 21:20:57)
Offline
Looking at your pictures.. your computer is haunted. ;-)
Enter the boot device selection in the BIOS by pressing a key at startup, and check which boot options are shown. Check which of them are working.
Offline
In BIOS boot options I can see all disks and drives, and when choosing directly the first drive and the backup disk is attached the mainboard beeps, and when the backup disk is not connected (just unplugged SATA cable) the error message is there.
Looking at your pictures.. your computer is haunted. ;-)
=] Great that someone clicked on that link! Actually it took a while after starting using Arch to get back to photo editing.
Offline
I have tried to reinstall systemd-boot (after booting with an USB Arch drive and chroot into my Arch installation):
bootctl --path=/boot/ installWhat else could I do? Should I try to reinstall a complete different bootloader like GRUB into that boot partition? I also did reset the BIOS, and throw out the backup hard disk (which seems to not work anymore).
Damn, why did I unplugg that SATA cable of the first drive!
Offline
Unfortunately I cannot help but I wanted to say I had an equally confusing problem:
I installed ArchLinux with a proper EFI boot partition and everything, booted fine for a week. Then I unplugged the disk because I was testing something. Plugged Arch back in (SATA cable, too) and I couldn't boot anymore, because my UEFI bios didn't detect the EFI boot partition anymore, no matter what I did. When booting from the disk in BIOS mode I got pretty much your error message (makes sense, can't boot UEFI in BIOS mode).
Eventually, I reinstalled GRUB like 20 times, renamed the GRUB EFI loader to "bootx64.efi" (did this before in isolation, didn't help but after 20 reinstalls it magically did) and only then it worked. I cannot really say what happened there.
Offline
Yay, back on my machine again!
But I am using now Syslinux, which I installed on the boot partition. I also tried to GRUB, but without success. It seems that I can't use UEFI bootloaders anymore - right after I unplugged the first drive. There is no EFI directory at /sys/firmware.
What went wrong? Is it the mainboard (ASUS P8Z68 V-Pro) / BIOS / UEFI thing that broke the setup? Did I really had an UEFI bootloader running before? I am quite sure about it since I added the backup drive to the /entries directory (which is a sign for systemd-boot?) - and I could boot to both installations with success.
Last edited by madhias (2016-08-06 20:20:57)
Offline
Wait, not having EFI in /sys/firmware means your computer isn't in UEFI mode.
One thing I found out during my problems is, that for example booting the Arch USB stick via BIOS made it impossible to setup an UEFI GRUB - because if the computer was not started in UEFI, it's not available, so GRUB can't perform under UEFI. One trick to fixing my system back then was booting the Arch stick via UEFI, then arch-chroot into my HDD install which allowed GRUB to register proper UEFI entries to boot via UEFI.
If you boot via BIOS mode, it cannot work, ever.
Offline
If you boot via BIOS mode, it cannot work, ever.
Thanks again for that hint - I did start the Arch USB stick in UEFI mode - and could install easily systemd-boot on my backup drive, and boot it up! Yay! So everything is OK now, and I can again switch to systemd-boot on my main drive.
What I am still wondering though is why it went wrong first - and I am not sure but I do think that I could not boot the Arch USB stick in UEFI mode (when pressing F8 to go to the boot device selection menu - there I think the UEFI option was missing). But that could be an excuse for my fail ![]()
Offline