Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
I created a dual boot, first had Kubuntu (SDA5), then installed Manjaro KDE in the 2nd partitions (SDA6,7,8), of quick the Boot Grub menu is now from Manjaro.
But now I wish to remove Manjaro and return to just a single boot setup. If possible, how can I safely reclaim booting from the original Kubuntu Grub boot menu?
I'm worried that if removing Manjaro (probably by formatting the partition's while in Kubuntu), that this would destroy any boot capability and I'll be unable to get back into Kubuntu.
My boot system is MBR, old style bios on this machine, if that makes any difference.
I'm kinda new to linux ... so heavens I'm praying there's an easy quick solution.
Thanks in advance
Rob
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 125.4G 0 part /
├─sda6 8:6 0 29.3G 0 part
├─sda7 8:7 0 56.7G 0 part
└─sda8 8:8 0 11.7G 0 part
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.11.0-41-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-2630QM CPU @ 2.00GHz
Memory: 7,7 GiB of RAM
My boot system is MBR, old style bios on this machine, if that makes any difference.
Is certainly makes a difference, and with an EFI partition seems doubtful. Let's have some more data before surgery. Run these commands from a terminal and post results inside [code] tags to keep the alignment so it is readable.
Changing the boot back is straightforward, but different for each.
Forgot to mention - sudo will require your password; it won't show anything as you type it.
Last edited by syg00; 12-16-2021 at 04:30 PM.
Reason: parted rather than lsblk
how can I safely reclaim booting from the original Kubuntu Grub boot menu?
Boot into Kubuntu. Then install Grub from within Kubuntu. It will probably dual boot Kubuntu and Manjaro with Kubunto as the default. After you format the Manjaro
partition you can install Grub again from Kubuntu and the second time Grub will only find the Kubuntu partition.
If /etc/default/grub contains GRUB_DISABLE_OS_PROBER="true", then reinstalling Grub from Kubuntu will not include any other OS in Grub's boot menu. Just make that edit if necessary, then run sudo update-grub from Kubuntu boot, reboot to verify you're in Kubuntu's Grub menu.
Before doing the above sequence, follow syg00's instructions, in order to understand whether you're dealing with UEFI vs. legacy booting issues. If Kubuntu is installed in UEFI mode, then it should be enough to use efibootmgr to ensure Grub is first in boot priority. If Manjaro was installed in legacy mode, it may be necessary or desirable to go into the BIOS and disable CSM booting.
For the future, if you ever wish to add another Linux distro, install the additional distro without any bootloader. This will maintain the existing boot configuration, which can be post-installation updated to add the new distro to its menu via GRUB_DISABLE_OS_PROBER="false", or commenting out or removing GRUB_DISABLE_OS_PROBER="true", followed by sudo update-grub in Kubuntu.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.