[SOLVED] 2 SSDs each with EFI boot - 4 OS installs - why internal doesn't boot first?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Skip the last suggestion it was a bad idea, it amounted to installing the ubuntu bootloader to the external drive. Boot the system with the usb plugged in, doesn't matter which distro:
and I understand I am to keep it plugged in and reboot. Here goes, rebooted with USB plugged in and it went to manjaro menu with ubuntu selected (it was last booted I think that it how its been working).
Nothing left but to wipe off that manjaro and its EFI partition? This is working fine with the usb unplugged it shouldn't make it worse? I would need to update grub in ubuntu as manjaro will be gone and then remove manjaro from the boot sequence in setup, right?
Last edited by Nishtya; 02-05-2024 at 09:07 AM.
Reason: reboot
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
complications in boot
OK, I tried rebooting before mv and it goes straight to windows. I had to unplug external and it booted to ubuntu grub menu. I don't care about the manjaro install on the external.
How do I clean up here in ubuntu now? Once it windows and neon all booting nice I will format that external deleting the efi and manjaro partition. But I want to make sure I am cleaned up in good order internal including BIOs here before I wipe the external. Help appreciated. I have a cheat sheet that goes like this for a previous disaster and I booted a live USB to rescue it- would it be suitable in this situation? Other times the below has just given me errors, it only worked once actually
Code:
sudo mount /dev/sda3 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sda
update-grub
?
Last edited by Nishtya; 02-05-2024 at 10:01 AM.
Reason: typo
before deleting anything, remove the esp flag from the external drive efi partition and see if that changes anything. If you want to keep manjaro, manually create a menu entry in ubuntu grub menu to call manjaro grub.cfg once we get the external drive from taking control of the boot process.
Last edited by colorpurple21859; 02-05-2024 at 02:23 PM.
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
Well a little too late. As all were fine as long as external wasn't plugged in (at boot time). I removed manjaro and zapped away that efi partition. All fine on the internal. Tried installing manjaro cinnamon, installer wanted to create an boot on the external but I told it no to use sda1. Did so. But I have a bad wifi here at nursing home and much trouble trying to update the install.
LSS - the only way I can boot the new manjaro is f12 to one-time-boot and move it up ahead. Update-grub in ubuntu did add manjaro to it's grub but it unbootable from there - grub error can't find kernel. Got into manjaro tried and update grub there but it not installed so I installed it now I am trying to get ubuntu grub back in charge (top of the boot) and make the entry for manjaro in its grub menu bootable. Let me know what you want me to get outputs of from where.
External drive no longer in control. I think it is a BIOS thing - plug in a removable that is bootable and machine gonna boot it. But the external is not bootable but manjaro runs on it fine when I change f12 boot order and choose it.
What we want to do now is get manjaro choice working in the ubuntu grub. The error if I choose it there is it can find vm...blah blah kernel not found blah (obviously doing this from memory) and it doesn't stay there it bounces back to grub menu so I pick ubuntu. And here I am.
Last edited by Nishtya; 02-05-2024 at 02:45 PM.
Reason: further info
or do as in post 34 to remove manjaro from the boot order. Manjaro number may not be 0004 after reinstalling.
Boot into Ubuntu, add this to /etc/grub.d/40_custom
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
I am confused, I just can't get to manjaro from ubuntus grub menu without a grub error. I don't think I need efi changes as it is working fine in the order I want, but everytime I want manjaro I have to change the boot sequence hitting f12 on the dell menu. I need to fix manjaro entry in ubuntu grub.cfg I guess but not sure how and where.
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
I don't recall you tell me to this time around. I will check through the threads or do you remember how?
edit - looked back at that post but really didn't understand it. I don't want to remove manjaro I just want to add it to 40 custom, would it still be the same one even if it a different flavor?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.