You are not logged in.
Pages: 1
Currently I'm stuck on Windows; my bootloader is systemd-boot and it was working for a while, but later (not sure why; possible reasons I can think of are accidentally setting the timeout to 0 on the menu and Windows update) it's booting me straight to Windows. I have verified that "Linux Boot Manager" is on the top of my boot order (above "Windows Boot Manager"). Pressing Space while booting does not work. I have tried the override boot option in my BIOS but it still boots to Windows.
Last edited by firefly431 (2016-02-21 17:05:06)
Offline
Try this:
https://wiki.archlinux.org/index.php/Un … boot_order
EDIT; in your case, the command will be:
bcdedit /set {bootmgr} path /EFI/systemd/systemd-bootx64.efiLast edited by Head_on_a_Stick (2016-02-20 17:14:53)
Jin, Jîyan, Azadî
Offline
I've actually already tried that. It doesn't do anything and boots Windows again, curiously.
Offline
Can we see the output of:
# efibootmgr -v
# parted -lYou can run these commands from any GNU/Linux live environment.
Jin, Jîyan, Azadî
Offline
Not a Sysadmin issue, moving to NC...
Offline
All I have on hand right now is a Xubuntu Live CD (which does not have efibootmgr). Do you know if I can boot to Linux through a Live CD?
I think I installed Arch via USB, which I'm now using for data. I don't think parted is working properly either:
xubuntu@xubuntu:~$ parted -l
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Can't have a partition outside the disk!I'll keep looking for an Arch CD.
Offline
All I have on hand right now is a Xubuntu Live CD (which does not have efibootmgr)
Try:
sudo apt-get install efibootmgrAlso, you need to run the `parted` command as root ![]()
You can use the Arch live ISO to run the commands and a pastebin client to help post the output.
Jin, Jîyan, Azadî
Offline
Re: parted: D'oh ![]()
Anyway, I decided to re-download and burn to USB. Downloading right now.
Offline
# efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0004,0000,0005,0002,0001
Boot0000* Windows Boot Manager HD(1,GPT,c9c47d8e-9eb8-4955-a4dd-1893ee8be9c0,0x800,0x100000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........O.K.I.N.G.S.T.O.N. .S.V.3.0.0.S.3.7.A.1.2.0.G.................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.2.7.6.5.7.0.9.6.5.8. . . . ........BO..NO........O.W.D.C. .W.D.2.0.E.Z.R.X.-.0.0.D.8.P.B.0.................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.5.M.U.X.4.J.X.F........BO..NO........W.p.n.y. .U.S.B. .2...0. .F.D.................F..Gd-.;.A..MQ..L.0.0.6.0.E.0.4.C.6.1.7.6.A.C.C.0.F.2.C.F.0.8.6.C........BO
Boot0002* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........O.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.1.5.F.................>..Gd-.;.A..MQ..L.5.K.8.K.L.9.5.J.3.1. .4. . . . . . . . ........BO
Boot0004* Linux Boot Manager HD(1,GPT,c9c47d8e-9eb8-4955-a4dd-1893ee8be9c0,0x800,0x100000)/File(\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI)
Boot0005* UEFI: (FAT) pny USB 2.0 FD PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x78,0x800,0xef0800)..BO
# parted -l
Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI system partition boot, esp
2 538MB 672MB 134MB Microsoft reserved partition msftres
3 672MB 75.4GB 74.7GB ntfs Basic data partition msftdata
4 75.4GB 75.8GB 472MB ntfs hidden, diag
5 76.2GB 120GB 43.8GB ext4
Model: ATA WDC WD20EZRX-00D (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 17.4kB 134MB 134MB Microsoft reserved partition msftres
2 135MB 944GB 944GB ntfs Basic data partition msftdata
3 945GB 2000GB 1056GB lvm
Model: pny USB 2.0 FD (scsi)
Disk /dev/sdc: 8022MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 8022MB 8021MB primary fat32 boot, lbaOffline
What happens if you rename $ESP/EFI/MICROSOFT to $ESP/EFI/HIDDEN (or so)?
Windows may not boot with the folder name changed (or it may boot but not update) so you may have to rename it back to get Windows to work properly again.
EDIT: you would also have to write a systemd-boot menu entry to start $ESP/EFI/HIDDEN/BOOT/BOOTMGFW.EFI manually.
Be sure not to remove or change any of the files contained within the Microsoft directory.
From Windows, what is the output of:
bcdeditLast edited by Head_on_a_Stick (2016-02-20 19:49:43)
Jin, Jîyan, Azadî
Offline
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
path \EFI\Microsoft\Boot\bootmgfw.efi // I changed it back
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {09e0643e-5995-11e5-a0ca-85ff4d8aba1f}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \WINDOWS\system32\winload.efi
description Windows 10
locale en-US
inherit {bootloadersettings}
recoverysequence {09e06440-5995-11e5-a0ca-85ff4d8aba1f}
recoveryenabled Yes
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \WINDOWS
resumeobject {09e0643e-5995-11e5-a0ca-85ff4d8aba1f}
nx OptIn
bootmenupolicy StandardI think at this point reinstalling systemd-boot may help. How would I do this from a live CD?
Offline
That output seems to show that there is no Linux Boot Manager on the ESP ![]()
I think at this point reinstalling systemd-boot may help. How would I do this from a live CD?
Same way you did when installing Arch.
Mount all of your partitions (including the EFI system partition) then use either `arch-chroot` or `systemd-nspawn` to start a chroot shell in your system and run the relevant commands.
See https://wiki.archlinux.org/index.php/Sy … t#EFI_boot
You should already have the configuration files, be sure to check that they still exist on the ESP.
Jin, Jîyan, Azadî
Offline
OK, I'm kind of embarrassed to say that the solution was actually HOLDING space instead of trying to press it while booting. Thanks head_on_a_stick!
Offline
I thought it was solved, but it actually only worked once.
EDIT: I installed rEFInd onto a flash drive and used it to boot to the boot manager, in which I then increased the timeout. It seems to work now.
Last edited by firefly431 (2016-02-21 17:05:41)
Offline
Pages: 1