First off, sorry if this isn’t quite the right community, I did try posting on !pop_os@lemmy.world 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?

Deleted by creator
permalink
report
reply
1 point

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

permalink
report
parent
reply

[This comment has been deleted by an automated system]

permalink
report
parent
reply
1 point

I understand now. I now have a pop OS boot entry, and it’s set as first boot priority. However, I’m still having the original issue of windows putting itself first on the boot priority after rebooting from windows.

Edit: after another reboot the pop_os boot entry I just made has vanished

permalink
report
parent
reply
1 point
*

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

permalink
report
parent
reply
1 point

Thanks for explaining, I’m still quite new to Linux in general

permalink
report
parent
reply
5 points

Change boot order in UEFI and then save your changes. It did the trick for me last time windows screw me over

permalink
report
reply
2 points

That’s what I’m doing, but it gets changed again every time I boot to windows

permalink
report
parent
reply
4 points

Hi I am not a linux pro, but for me a quick fix what worked was to disable Windows boot. basically everytime windows boot it puts itself as priority, but cannot any more this way. I would then use the grub menu at boot to select what os i needed. I use mint but since both are based on ubuntu should work in the same way. found this online, more or less what i did: https://unix.stackexchange.com/questions/241809/grub2-gone-every-time-i-boot-windows-10 https://unix.stackexchange.com/questions/68581/how-can-i-prevent-windows-from-overwriting-grub-when-using-a-dual-boot-machine

permalink
report
reply
2 points

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.

permalink
report
reply
1 point

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

permalink
report
parent
reply
1 point

Virt-manager is my preferred but I only have integrated graphics anyway.

permalink
report
parent
reply
2 points

My solution to this was to just set the boot order how I wanted it and then lock it from BIOS

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.5K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments