So on an MBR system I firstly installed Windows 10. Then what I did was I installed EndeavourOS on an extended partition. sda5 is the boot partition and mounted it as /boot, sda6 is the home partition and mounted it as /home, and sda7 is the root partition and mounted as / and it is encrypted. And it works fine. I am able to dual boot between EndeavourOS and Windows.
I have an issue though when I am trying to install EndeavourOS (as the third operating system) on a separate partition. I create another boot partition on on sda8 and mounted it as /boot and mounted sda6 as /home and on sda9 I created a root partition that is encrypted and mounted it as /.
The issue is that I canāt boot into the previous EndeavourOS installed operating system. I did not overwrite it nor even touch it during the installation process. I can boot into Windows and the newly installed EndevourOS but not the previous one.
Iām just curious why you used a separate boot partition? Iām sure it would have just worked without itā¦
I am also fairly sure that it needs to ālookā in /boot to locate the boot files - and am not sure there is a GUI way to tell it to look there!, Os-prober (which is run by the grub setup) would have found it if boot was in the / partitionā¦
Hopefully a grub expert will chime in here - my grub expertise mostly lapsed when grub2 came out!
Try this command sudo lsblk -o +name,mountpoint,uuid
(Edit: I never worked with luks partition, so donāt know if the command is gonna work there)
When you are creating the entry for āEndeavourOS - XFCEā, in second screenshot, prefix /boot/ in the path of initial ramdisk and linux image. So they look like /boot/initrd.img and /boot/vmlinuz
If I want to encrypt the root partition, then I need a separate boot partition, otherwise it will ask me for the decryption key before even showing the grub boot screen. I want to only prompt me for the luks encrypted password only when I click on to boot into EndeavourOS.
So I should replace /vmlinuz inside the Linux Image place with /boot inside grub-customizer?
Ah I see. So in that case I would need to specify which partition it is (i.e. /dev/sda5) or do I need to to just type /boot?
I will try, its a bit hard to understand but yeah I will try and get through it.
Through grub-customizer I removed that particular OS from the list (as it may interfere with the command) then I ran grub-mkconfig but it didnāt do anything sadly
Pardon me as you may know this already, but have you tried using rEFInd? I multi-boot Linux with it, although I ditched Windows so I donāt have to deal with that at boot. But, when I did multi-boot OS X, Win 7, and Debian back on my iMac years ago, I used the older program rEFIt, and it worked no problem.
It is not exactly GUI for setting up, and in fact requiresd a couple of minor tedxt file edits for non UEFI setups. For an idea of its use, look on the Wiki entry on here for:
Ah I see, it looks interesting I could give this a try. One thing though, I do have a UEFI firmware on my EEPROM, however, I am using MBR partition table rather than GPT. So do I still need these extra text files or additional setups?
I think because of UEFI, I had to use that with OS X when it came to Linux. You had Boot Camp to dual boot OS X and Windows, but I think that has changed. My iMac can only upgrade to El Capitan, unless I pull a hack. With El Capitan, I had to go into the terminal in OS X, and disable some security measures in order to use rEFInd. The iMac is cold right now, pulled RAM out and plan to order 8 gigs to replace it this week. This might be where I install NixOS, and shrink the El Capitan partition to around 50 gigs.
No it didnāt, it was only for Windows. It basically was a Windows installer, that prepped the HD and partition before you installed Windows. I think it was for Win 7 only, as I recall I couldnāt install 10 with it. I donāt use Windows at all anymore, no need for it really, unless I had to for dev purposes, but I am far from having any dev skills yet lol.
Sorry I missed this, yeah once you get the package from AUR (might also be in the regular repo), you then go into terminal and enter # refind-install (you donāt need the hashmark, just have it there to show itās a terminal command) and then it installs and becomes default. If it doesnāt, or you want to make sure, the command is refind-mkdefault (check that first on the refind website, donāt want to frag your install). Iād read up on the refind website first. I partitioned kinda like you have, using an extended one that held two Linux builds, and with rEFInd, it was pretty seamless, although you may find older grub entries on it when it boots. I go into my bios and uncheck it when change a build for another (also to boot into the USB stick), and check back into it in bios, and I find the grub entry from the last build still there. I just carefully delete them in su.