Hi everyone,
I rarely post here but recently ran into an issue that I haven't be able to overcome and figured this would be a good place to ask the question. I recently started using Pop! OS as my go to Linux distro and its been a pretty good experience. I used ubuntu previously and I'm not sure what it is but Pop! OS has just been a bit better.
So here's my issue: I recently installed Pop! OS on my laptop. Previously, my laptop was dual booting Ubuntu and Windows 10. I have an HP Spectre 15 inch from 2018. I was using grub as a boot loader. When I first installed Pop! I learned that it installed systemd as a boot loader instead. So I wasn't sure what was going to happen with grub being the boot loader. So when I installed it, it just added another boot loader I guess? I'm not an expert on how booting works so that's my assumption to what happened because I can still access the grub boot loader if i go into the bios and tell it to boot from grub (labeled as ubuntu). However, systemd boot loader does not recognize windows 10 or ubuntu as an operating system that I can boot too. For the sake of easiness I just instead added Pop! as an option to the grub boot loader. However, after the first time putting Pop! to sleep (suspend), I could not get back into Pop! through grub. So instead I went and booted Pop! through the bios.
I since am just using systemd and I think I'd like to use systemd as my boot loader. Unless anyone has any strong opinions or reasons why I should use grub. I like the customization of grub but I love the simplicity of systemd.
So I have a bunch of question.
1. How do I add windows boot to my list of options in systemd? Everything says it should have done it automagically but seems like it didn't happen for me. I found something about adding windows.conf to the entries folder in /boot/efi/loader/entries. And that file looks like this
title Windows
efi /EFI/Microsoft/Boot/bootmgfw.efi
However, I copied that location from someone online. No idea where that file actually is in my computer. I assume it's in the windows boot partition but not sure how to get there during the boot process. I have a screen shot of my partitions below. Is this the right approach or am i totally off?
2. How do I do the same for Ubuntu?
3. How do I make sure when I suspend/sleep/hibernate my computer, it wakes up to the OS that it suspended from? How does the boot process work while suspended?
4. I disabled secure boot in order to install Pop! Is it worth going through the process to sign it my self so secure boot will work? I get mixed reviews about whether secure boot is actually useful or not. Seems like it'd be fine if I signed it myself.
My real question is really how the boot process works. I'd like to understand what's going on. Seems like those files under /boot/efi are in my root partition. Does that mean when systemd boots, its using the Pop! OS root directory to figure out where all the boot files are? I figured during boot, it only loads boot partitions.
Thanks for the help in advance. Appreciate it!
-Espy