First off, sorry if this isn’t quite the right community, I did try posting on [email protected] but didn’t get a solution. You can see that post here

I have my computer set up to dual boot pop!_os and windows on separate drives. I have my UEFI set up to boot into pop OS and I use systemd-boot to load windows, however after booting to windows and restarting my UEFI boot preferences are changed so Windows boots first instead of pop os.

I have fast boot and secure boot turned off in the bios and fast boot turned off in windows. How can I prevent this?

    • rickywithanm@aussie.zoneOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I’m a little confused about what I’m meant to be doing in this part

      You’ll need to find the partition number and the reference to the disk in /dev for your boot partition /dev/disk/by-partuuid/172a0183-3a89-4b78-b1b3-d016ca6675f7. You can try using ls -l /dev/disk/by-partuuid/172a0183-3a89-4b78-b1b3-d016ca6675f7 to see where it points (i.e. for /dev/sdb2 you would use --disk /dev/sdb --part 2).

      I also, get this error “invalid numeric value Y” when trying to manually register systemd-boot

      • Ludrol@szmer.info
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        lsblk -o NAME,SIZE,MOUNTPOINTS,UUID try this command, it will show you what partitions you have on the machine then modify previous command with correct labels and UUID

        sometimes you need to modify the command
        sudo efibootmgr --create --disk /dev/sdX --part Y --loader “\EFI\systemd\systemd-bootx64.efi” --label “Pop_OS” --unicode
        /dev/sdX --part Y needs to be replaced with correct labels for partitions, If you are lost just paste the output of the lsblk -o NAME,SIZE,MOUNTPOINTS,UUID command

  • putoelquelolea@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I had a similar issue, and no changes made in Linux would stick. Bootice is a Windows program that allows you to make changes in UEFI boot order and was the only solution that worked for me. Good luck!

  • ebits21@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    My solution years ago when windows used to do this to me with a dual boot was to move windows to a virtual machine instead, which works great for me!

    Would recommend as much ram as possible though. I find performance great with 16gb of ram to share between host and the vm.

    Windows updates would often mess up boot prior to me switching. Very annoying.

    • danielton@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      What VM software would you recommend? The issue I always run into is GPU acceleration whenever I use the usual virt-manager or VirtualBox.