You are not logged in.

#1 2017-11-11 08:29:10

jbodhorn
Member
Registered: 2015-12-11
Posts: 130

Systemd boot, dual boot arch/win 10 bios boot order

My windows 10 install ended up with a virus, I had both a DD'd image and a clonezilla backup. I tried restoring with clonezilla first and instead of my normal boot menu I was greeted with windows. I decided to try the DD image I made to see if it was any different, but no. I booted Arch live off usb and double checked that it was installed right. I can hit F12 to get to my boot menu where it allows me to choose between Arch, Windows, and USB, I'm able to boot either OS. I figured this just meant I needed to change the setting in bios to select the Linux bootloader as default, I cannot change this setting. I hit enter and instead of seeing my different boot options my bios freezes and I have to hold down the power button.

My laptop is a 1st gen Lenovo Yoga 12, So far aside from this boot/bios issue everything seems to be working properly. I'm not quite sure what to do next, before the virus my laptop was set to boot Arch as the primary OS, I had to select Windows from the Linux boot menu. I have very little experience with UEFI, when I setup my laptop initially I recall no issue with the bios freezing when changing the boot order. Fast startup in windows is disable, that was one of the first things I checked, secure boot is also definitely off. I was reading about efibootmgr but don't recall using it when I setup my laptop to dual boot.

I've heard UEFI bios can be broken/corrupted and atm I'm kinda worried that's what happened, I don't want to tinker and make it worse without knowing what I'm doing a bit more thoroughly. At this point at least I can boot both OS, I'm currently fighting with Lenovo to uphold the warranty it says I have on my laptop according to their website(I'm experiencing ghost clicks and I'm pretty sure they are going to refuse to fix it without me paying for a new motherboard and labor...), Lenovo is terrible when it comes to warranties and I'm starting to wish I'd have bought a different brand of laptop...

Offline

#2 2017-11-11 20:17:43

jbodhorn
Member
Registered: 2015-12-11
Posts: 130

Re: Systemd boot, dual boot arch/win 10 bios boot order

I was trying to change my boot order from within linux using efibootmgr but I'm not sure how since linux boot manager doesn't have a number with it

sudo efibootmgr
BootCurrent: 000A
Timeout: 2 seconds
BootOrder: 0000,0001,0002,0003,0004,0008,0009,000A,000B,000C,000D
Boot0000* Windows Boot Manager
Linux Boot Manager
Boot0001  Setup
Boot0002  Boot Menu
Boot0003  Diagnostic Splash Screen
Boot0004  Lenovo Diagnostics
Boot0008* USB CD
Boot0009* USB FDD
Boot000A* ATA HDD0
Boot000B* ATA HDD1
Boot000C* USB HDD
Boot000D* PCI LAN
Boot0012  Startup Interrupt Menu
Boot0014  Rescue and Recovery
Boot0015  MEBx Hot Key
Boot0016* IDER BOOT CDROM
Boot0017* IDER BOOT Floppy
Boot0018* ATA HDD
Boot0019* ATAPI CD

I'm quite lost and don't understand why there is no number for Linux Boot Manager. I have my EFI partition mounted as /boot. I have a separate root and home partitions in addition to the partitions windows made when it was installed

Offline

#3 2017-11-12 21:59:11

RoundCube
Member
Registered: 2016-05-14
Posts: 42

Re: Systemd boot, dual boot arch/win 10 bios boot order

'man efibootmgr' contains a section about adding a new entry. Maybe try that.

Offline

#4 2017-11-13 19:37:53

jbodhorn
Member
Registered: 2015-12-11
Posts: 130

Re: Systemd boot, dual boot arch/win 10 bios boot order

I managed to use efibootmgr to add the entry, now it has a number. I was able to the linux to boot first and it worked till I booted into windows. After rebooting from windows not only was my boot order changed but now I have two entries for windows, I saw something in the arch wiki about windows changing the boot order, I'm gonna have to find it again and also figure out how to remove an entry...

Offline

#5 2022-03-11 19:09:15

jbodhorn
Member
Registered: 2015-12-11
Posts: 130

Re: Systemd boot, dual boot arch/win 10 bios boot order

In case anyone comes across my post while trying to remedy a similar issue, all I had to do was select arch in the bootloader menu and tap a single key on the keyboard to set arch as default OS.

Offline

Board footer

Powered by FluxBB