[Solved]Installed MX Linux and now cannot boot into Linux Mint

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
robert.thompson
Level 3
Level 3
Posts: 156
Joined: Thu Dec 30, 2010 9:28 am
Location: Montreal, Quebec, Canada
Contact:

[Solved]Installed MX Linux and now cannot boot into Linux Mint

Post by robert.thompson »

Hello:
This is what I did:
-shrunk my linux mint home partition
-used the free space to create a new ext4 partition of 25 GB
-used MX Linux usb to install root and home on new partition and used existing swap partition
-I think I installed grub on the MBR

Now, when I boot, I only see MX Linux in the boot menu.

I ran sudo grub-install in a MX terminal but didn't change anything.

Booted from Live Linux Mint DVD and install Boot Repair and ran it but did not work either.

Does anyone know how I can fix this so that the boot menu gives me the choice of MX Linux and Linux Mint?

Thank you,

Rob.
Last edited by robert.thompson on Fri Jun 26, 2020 12:34 am, edited 1 time in total.
Rob.
"Action is the universal solution; do the inevitable immediately!"

Lenovo ThinkPad T520 - 8Gb ram. Intel CORE i7 vPro , Mint 20 Cinnamon 4.6.6
http://www.googlevoiceforcanadians.com
User avatar
arvy
Level 6
Level 6
Posts: 1094
Joined: Sat Mar 26, 2016 11:22 am

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by arvy »

If your system uses UEFI-GPT booting, the boot loader/manager of the last installed OS (launching the MX Linux Grub boot menu in your case) will usually take over as the default "top of the list" entry in your system's UEFI (NVRAM) boot order sequence. You can either change that UEFI boot order (consult your system user guide for details) or leave it as is with MX Linux as the default. In either case, running sudo update-grub in the command terminal of whichever Linux distro is currently "in charge" should add the other distro to its Grub boot menu. If not, you can add it manually in /etc/grub.d/40_custom and run sudo update_grub again. Say if you want more help on doing the latter.

__
P.S.: Linux Mint may be shown as "ubuntu" in the boot order listing. Don't let that confuse you. It's that way only because Mint uses the Ubuntu boot loader.
Last edited by arvy on Thu Jun 25, 2020 3:40 pm, edited 2 times in total.
System: Asus ROG Maximus XI Code mobo, Intel i9-9900K CPU, Nvidia GTX1080 GPU, 32 GB DDR4-3600 RAM, Sumsung Pro 2x512GB NVMe & 3x1TB SSD, Multiboot
deepakdeshp
Level 17
Level 17
Posts: 7946
Joined: Sun Aug 09, 2015 10:00 am

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by deepakdeshp »

After booting MX Linux try

Code: Select all

 sudo update-grub
Does it recognize Mint?
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 20 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB
User avatar
zcot
Level 6
Level 6
Posts: 1002
Joined: Wed Oct 19, 2016 6:08 pm

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by zcot »

show the log file from Boot Repair, maybe someone will be able to see what is going on. Also, boot repair is already automatically installed in live sessions from Mint 19.2 onward.
robert.thompson
Level 3
Level 3
Posts: 156
Joined: Thu Dec 30, 2010 9:28 am
Location: Montreal, Quebec, Canada
Contact:

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by robert.thompson »

Hello:

It sees it, right?

Code: Select all

rob@mx:~
$ sudo update-grub
[sudo] password for rob: 
Generating grub configuration file ...
Found theme: /boot/grub/themes/linen/theme.txt
Found linux image: /boot/vmlinuz-4.19.0-9-686-pae
Found initrd image: /boot/initrd.img-4.19.0-9-686-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Linux Mint 19.3 Tricia (19.3) on /dev/sda5
done
rob@mx:~
$ 
But I still only get the MX menu.
Rob.
"Action is the universal solution; do the inevitable immediately!"

Lenovo ThinkPad T520 - 8Gb ram. Intel CORE i7 vPro , Mint 20 Cinnamon 4.6.6
http://www.googlevoiceforcanadians.com
robert.thompson
Level 3
Level 3
Posts: 156
Joined: Thu Dec 30, 2010 9:28 am
Location: Montreal, Quebec, Canada
Contact:

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by robert.thompson »

If not, you can add it manually in /etc/grub.d/40_custom and run sudo update_grub again. Say if you want more help on doing the latter.
I found 40_custom but do not know how to write the required entry.

Any help would be appreciated.

Rob.
Rob.
"Action is the universal solution; do the inevitable immediately!"

Lenovo ThinkPad T520 - 8Gb ram. Intel CORE i7 vPro , Mint 20 Cinnamon 4.6.6
http://www.googlevoiceforcanadians.com
User avatar
arvy
Level 6
Level 6
Posts: 1094
Joined: Sat Mar 26, 2016 11:22 am

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by arvy »

robert.thompson wrote:
Thu Jun 25, 2020 9:33 pm
I found 40_custom but do not know how to write the required entry.
I'd be very happy to do that for you Rob and I will. But I'd first like to be just a little more certain about exactly where things are at. You say:
robert.thompson wrote:
Thu Jun 25, 2020 9:21 pm
It sees it, right?

Code: Select all

Found Linux Mint 19.3 Tricia (19.3) on /dev/sda5
It sure looks like the MX Linux update-grub found Mint. But you say that no option for launching Mint is included the "MX menu" that gets displayed on the next system restart. That's very strange. Please try running efibootmgr and post the output here.
System: Asus ROG Maximus XI Code mobo, Intel i9-9900K CPU, Nvidia GTX1080 GPU, 32 GB DDR4-3600 RAM, Sumsung Pro 2x512GB NVMe & 3x1TB SSD, Multiboot
robert.thompson
Level 3
Level 3
Posts: 156
Joined: Thu Dec 30, 2010 9:28 am
Location: Montreal, Quebec, Canada
Contact:

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by robert.thompson »

arvy wrote:
Thu Jun 25, 2020 9:43 pm
robert.thompson wrote:
Thu Jun 25, 2020 9:33 pm
I found 40_custom but do not know how to write the required entry.
I'd be very happy to do that for you Rob and I will. But I'd first like to be just a little more certain about exactly where things are at. You say:
robert.thompson wrote:
Thu Jun 25, 2020 9:21 pm
It sees it, right?

Code: Select all

Found Linux Mint 19.3 Tricia (19.3) on /dev/sda5
It sure looks like the MX Linux update-grub found Mint. But you say that no option for launching Mint is included the "MX menu" that gets displayed on the next system restart. That's very strange. Please try running efibootmgr and post the output here.
Hello again!

Here it is:

rob@mx:~
$ efibootmgr
EFI variables are not supported on this system.
rob@mx:~
$
Rob.
"Action is the universal solution; do the inevitable immediately!"

Lenovo ThinkPad T520 - 8Gb ram. Intel CORE i7 vPro , Mint 20 Cinnamon 4.6.6
http://www.googlevoiceforcanadians.com
User avatar
MrEen
Level 20
Level 20
Posts: 11838
Joined: Mon Jun 12, 2017 8:39 pm

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by MrEen »

robert.thompson wrote:
Thu Jun 25, 2020 9:21 pm
But I still only get the MX menu.
Any chance what you're seeing is the login screen, and not the grub menu?
robert.thompson
Level 3
Level 3
Posts: 156
Joined: Thu Dec 30, 2010 9:28 am
Location: Montreal, Quebec, Canada
Contact:

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by robert.thompson »

MrEen wrote:
Thu Jun 25, 2020 9:53 pm
robert.thompson wrote:
Thu Jun 25, 2020 9:21 pm
But I still only get the MX menu.
Any chance what you're seeing is the login screen, and not the grub menu?
Sorry, I don't know the answer to that question.

How can I tell?

After thinking about it, I think that you may be correct - it does not look like the usual dual-boot menu that I have seen before, it looks like a pure MX menu.

Any ideas?

Rob.
Last edited by robert.thompson on Thu Jun 25, 2020 10:02 pm, edited 1 time in total.
Rob.
"Action is the universal solution; do the inevitable immediately!"

Lenovo ThinkPad T520 - 8Gb ram. Intel CORE i7 vPro , Mint 20 Cinnamon 4.6.6
http://www.googlevoiceforcanadians.com
User avatar
MrEen
Level 20
Level 20
Posts: 11838
Joined: Mon Jun 12, 2017 8:39 pm

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by MrEen »

What do you do with that menu?
robert.thompson
Level 3
Level 3
Posts: 156
Joined: Thu Dec 30, 2010 9:28 am
Location: Montreal, Quebec, Canada
Contact:

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by robert.thompson »

MrEen wrote:
Thu Jun 25, 2020 9:59 pm
What do you do with that menu?
The only options are to start MX Linux or advanced options etc for MX Linux.

I am sure that you are correct that it is NOT a grub created menu.

Rob.
Rob.
"Action is the universal solution; do the inevitable immediately!"

Lenovo ThinkPad T520 - 8Gb ram. Intel CORE i7 vPro , Mint 20 Cinnamon 4.6.6
http://www.googlevoiceforcanadians.com
User avatar
MrEen
Level 20
Level 20
Posts: 11838
Joined: Mon Jun 12, 2017 8:39 pm

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by MrEen »

robert.thompson wrote:
Thu Jun 25, 2020 10:05 pm
MrEen wrote:
Thu Jun 25, 2020 9:59 pm
What do you do with that menu?
The only options are to start MX Linux or advanced options etc for MX Linux.

I am sure that you are correct that it is NOT a grub menu.

Rob.
I'm afraid not. The advanced options means it is the grub menu. I'll bow out now, as I have no idea why Mint isn't showing. I assume memtest isn't showing either?
User avatar
arvy
Level 6
Level 6
Posts: 1094
Joined: Sat Mar 26, 2016 11:22 am

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by arvy »

Okay. Let's return, if we could please Rob, to where you posted that efibootmgr output for me.
robert.thompson wrote:
Thu Jun 25, 2020 9:52 pm
rob@mx:~
$ efibootmgr
EFI variables are not supported on this system.
rob@mx:~
$
That result indicates that MX Linux was installed for "legacy" BIOS-MBR (CSM) booting rather than UEFI-GPT mode booting. Now we need to be certain whether or not Mint was installed likewise. Are you able to boot to your Mint installation by selecting that OS from your system's boot order options? If so, please try the same efibootmgr command there.
System: Asus ROG Maximus XI Code mobo, Intel i9-9900K CPU, Nvidia GTX1080 GPU, 32 GB DDR4-3600 RAM, Sumsung Pro 2x512GB NVMe & 3x1TB SSD, Multiboot
robert.thompson
Level 3
Level 3
Posts: 156
Joined: Thu Dec 30, 2010 9:28 am
Location: Montreal, Quebec, Canada
Contact:

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by robert.thompson »

arvy wrote:
Thu Jun 25, 2020 10:15 pm
Okay. Let's return, if we could please Rob, to where you posted that efibootmgr output for me.
robert.thompson wrote:
Thu Jun 25, 2020 9:52 pm
rob@mx:~
$ efibootmgr
EFI variables are not supported on this system.
rob@mx:~
$
That result indicates that MX Linux was installed for "legacy" BIOS-MBR (CSM) booting rather than UEFI-GPT mode booting. Now we need to be certain whether or not Mint was installed likewise. Are you able to boot to your Mint installation by selecting that OS from your system's boot order options? If so, please try the same efibootmgr command there.
Thank you.

"Are you able to boot to your Mint installation by selecting that OS from your system's boot order options? "
That is the problem, I don't get the system's boot order option menu. I just get the MX Linux menu.

I think that I installed a 32 bit version of MX Linux. My Mint installation is 64 bit. Does this matter?

MX linux was installed to sda8.
gparted.png
I would just re-install Mint if I could do it without destroying my data, sda7. Is that possible? Can I just gparted away sda8?

Thanks.
Rob.
"Action is the universal solution; do the inevitable immediately!"

Lenovo ThinkPad T520 - 8Gb ram. Intel CORE i7 vPro , Mint 20 Cinnamon 4.6.6
http://www.googlevoiceforcanadians.com
robert.thompson
Level 3
Level 3
Posts: 156
Joined: Thu Dec 30, 2010 9:28 am
Location: Montreal, Quebec, Canada
Contact:

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by robert.thompson »

IMG_25062020_225948_(500_x_500_pixel).jpg
What I see when I reboot.
Rob.
"Action is the universal solution; do the inevitable immediately!"

Lenovo ThinkPad T520 - 8Gb ram. Intel CORE i7 vPro , Mint 20 Cinnamon 4.6.6
http://www.googlevoiceforcanadians.com
User avatar
arvy
Level 6
Level 6
Posts: 1094
Joined: Sat Mar 26, 2016 11:22 am

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by arvy »

Understood, Rob, and it's okay. What you've posted is quite sufficient to address the question I had in mind. It is clear from that GParted screenshot that both MX and Mint have been installed for "legacy" BIOS-MBR (CSM) booting on the same drive. Ergo, that drive's Master Boot Record (MBR) is now "owned" by MX Linux's Grub set-up and that entirely removes any system boot order issue from the picture. So you can just forget about that question completely.

Never having mixed "bitness" myself, I can't be certain about it, but it's obviously not preventing MX Linux and its os-prober/update-grub process from finding and properly identifying the Mint installation. So I can't see why it should prevent it from adding it to the Grub boot menu. In any case, we can proceed in whichever way you wish. Personally, since MX is the new arrival, I'd be more inclined to replace it with its 64-bit edition than the other way 'round. But, if you'd rather wipe out and re-install Mint, it would be most important to back up your user data files (docs, images, etc.) before doing that.

Or I'm still willing to offer a 40_custom entry that might work for you if you want to try that first. It's harmless even if it fails, but entirely up to you. If you do want to try that, put a "rootMint" label on the partition where Mint and its /boot/grub setup are installed like the "rootMX19" label on /dev/sda8. Copy/paste the menuentry below into /etc/grub.d/40_custom, run sudo update_grub and reboot.

Code: Select all

menuentry 'Linux Mint Bootmenu' --class linuxmint --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	search --no-floppy --set=root --label rootMint
	configfile /boot/grub/grub.cfg
}
System: Asus ROG Maximus XI Code mobo, Intel i9-9900K CPU, Nvidia GTX1080 GPU, 32 GB DDR4-3600 RAM, Sumsung Pro 2x512GB NVMe & 3x1TB SSD, Multiboot
robert.thompson
Level 3
Level 3
Posts: 156
Joined: Thu Dec 30, 2010 9:28 am
Location: Montreal, Quebec, Canada
Contact:

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by robert.thompson »

arvy wrote:
Thu Jun 25, 2020 11:13 pm
Understood, Rob, and it's okay. What you've posted is quite sufficient to address the question I had in mind. It is clear from that GParted screenshot that both MX and Mint have been installed for "legacy" BIOS-MBR (CSM) booting on the same drive. Ergo, that drive's Master Boot Record (MBR) is now "owned" by MX Linux's Grub set-up and that entirely removes any system boot order issue from the picture. So you can just forget about that question completely.

Never having mixed "bitness" myself, I can't be certain about it, but it's obviously not preventing MX Linux and its os-prober/update-grub process from finding and properly identifying the Mint installation. So I can't see why it should prevent it from adding it to the Grub boot menu. In any case, we can proceed in whichever way you wish. Personally, since MX is the new arrival, I'd be more inclined to replace it with its 64-bit edition than the other way 'round. But, if you'd rather wipe out and re-install Mint, it would be most important to back up your user data files (docs, images, etc.) before doing that.

Or I'm still willing to offer a 40_custom entry that might work for you if you want to try that first. It's harmless even if it fails, but entirely up to you. If you do want to try that, put a "rootMint" label on the partition where Mint and its /boot/grub setup are installed like the "rootMX19" label on /dev/sda8. Copy/paste the menuentry below into /etc/grub.d/40_custom, run sudo update_grub and reboot.

Code: Select all

menuentry 'Linux Mint Bootmenu' --class linuxmint --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	search --no-floppy --set=root --label rootMint
	configfile /boot/grub/grub.cfg
}
Thanks arvy!

I made the modification to /etc/grub.d/40_custom and did sudo update-grub and I now have my system back. I them got rid of MX Linux for now.

Thank you very much for your time, I really appreciate it.

Rob.
Rob.
"Action is the universal solution; do the inevitable immediately!"

Lenovo ThinkPad T520 - 8Gb ram. Intel CORE i7 vPro , Mint 20 Cinnamon 4.6.6
http://www.googlevoiceforcanadians.com
asinoro
Level 5
Level 5
Posts: 898
Joined: Mon Feb 12, 2018 11:43 am

Re: [Solved]Installed MX Linux and now cannot boot into Linux Mint

Post by asinoro »

The boot repair tool provides you with the option to link system's info to the forum to get better help.
P.S. This comment was posted before the topic was solved but the server shows differently!
Last edited by asinoro on Fri Jun 26, 2020 1:08 am, edited 1 time in total.
User avatar
arvy
Level 6
Level 6
Posts: 1094
Joined: Sat Mar 26, 2016 11:22 am

Re: Installed MX Linux and now cannot boot into Linux Mint

Post by arvy »

robert.thompson wrote:
Fri Jun 26, 2020 12:33 am
Thanks arvy!

I made the modification to /etc/grub.d/40_custom and did sudo update-grub and I now have my system back. I them got rid of MX Linux for now.

Thank you very much for your time, I really appreciate it.

Rob.
You're welcome, Rob. Very glad that it worked out successfully for you. I still can't understand the failure of that MX Linux os-prober/update-grub process to do the job properly. I've never had a similar problem with it. But I guess neither of us should lose any sleep over it. All's well that ends well. :D
System: Asus ROG Maximus XI Code mobo, Intel i9-9900K CPU, Nvidia GTX1080 GPU, 32 GB DDR4-3600 RAM, Sumsung Pro 2x512GB NVMe & 3x1TB SSD, Multiboot
Post Reply

Return to “Installation & Boot”