Drive with dual Mint installs doesn't show grub menu

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

My drive had the following:
1. Linux Mint 19.2 XFCE partition (I think all on one partition, default installation).
2. ext4 formatted storage partition
3. bunch of extra space

This was a drive that I recently took out of one computer and put into another computer. Tested a small amount in the "destination computer" and everything seemed to be working.

I decided to install Linux Mint 19.3 XFCE.
When the installer asked where I want to install it/ what gets erased, I chose, "something else" (the installer then lets you create partitions/ choose where you want to install it). In the extra space on the drive, I created a partition of 21GB for "/" and used the rest of the empty space for "/home."

The operating system installed and boots fine. However, no grub boot menu comes up so that I can get into Linux Mint 19.2 XFCE.

Edit: not sure if this applies (since I'm not using Arch Linux) but here it says that I needed to install the other operating system without the boot loader:
https://averagelinuxuser.com/dual-boot- ... ith-linux/
Linux Mint 19.1 Cinnamon unless otherwise noted.

deepakdeshp
Level 16
Level 16
Posts: 6885
Joined: Sun Aug 09, 2015 10:00 am

Re: Drive with dual Mint installs doesn't show grub menu

Post by deepakdeshp »

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 19.3 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
AndyMH
Level 10
Level 10
Posts: 3184
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Drive with dual Mint installs doesn't show grub menu

Post by AndyMH »

Was one installed in legacy mode and the other UEFI?
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

AndyMH wrote:
Thu Mar 26, 2020 8:05 am
Was one installed in legacy mode and the other UEFI?
I am pretty sure that they were both installed in legacy boot mode. I had the motherboard firmware set to legacy boot mode in each instance. But, I didn't make any selection when the installation itself was happening.
Linux Mint 19.1 Cinnamon unless otherwise noted.

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

Here is your link without the Google part in there...
https://www.omgubuntu.co.uk/2016/07/key ... ubuntu/amp

Thanks for your post. I thought that the grub boot menu would come up by default when there are multiple Linux distros to boot to.
When I bring up the boot menu, all that I see is Linux Mint 19.3. Linux Mint 19.2 is not showing as I hoping.
Linux Mint 19.1 Cinnamon unless otherwise noted.

User avatar
AndyMH
Level 10
Level 10
Posts: 3184
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Drive with dual Mint installs doesn't show grub menu

Post by AndyMH »

sudo update-grub should fix it.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

AndyMH wrote:
Thu Mar 26, 2020 5:55 pm
sudo update-grub should fix it.
Command executed. Still only shows 1 OS on the grub boot menu.
Linux Mint 19.1 Cinnamon unless otherwise noted.

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

Here are some more details that I thought might be relevant:
1) my username and password is the same for each install

2) I might have created all of the partitions as primary partitions, instead of extended.
Linux Mint 19.1 Cinnamon unless otherwise noted.

User avatar
pbear
Level 11
Level 11
Posts: 3897
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Drive with dual Mint installs doesn't show grub menu

Post by pbear »

I have several multi-boot test boxes (on USB drive) and generally use the same username and password. That's not the problem.

Let's see what these two commands return. The first is what should have made Andy's suggestion work. The other tells us about your partitions.

Code: Select all

sudo os-prober
sudo parted --list
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

pbear wrote:
Fri Mar 27, 2020 12:31 am
I have several multi-boot test boxes (on USB drive) and generally use the same username and password. That's not the problem.

Let's see what these two commands return. The first is what should have made Andy's suggestion work. The other tells us about your partitions.

Code: Select all

sudo os-prober
sudo parted --list

Code: Select all

Model: ATA Hitachi HDT72503 (scsi)
Disk /dev/sda: 320 GB
Sector Size logical/ physical: 512B/512B
Partition table: msdos 
Disk Flags:
   Start End Type       File system  Flags
1 1048kb 161GB extended         boot
5 1049kb 161GB logical      ext4
3 161GB 166GB primary     ext4
2 166GB 187GB primary     ext4
4 187GB 320GB primary     ext4

Warning: unable to open /dev/sr0 read-write (read only file system).  /dev/sr0 has been opened read-only.
Error: /dev/sr0 unrecognized disk label
Warning: Error fsyncing/closing /dev/sr0: Input/output error
Retry/ignore
Edit:
Here is some info about the partitions
1) Linux Mint 19.2, which was the original distro that was installed
5) same as above
3) storage space for files
2) root directory "/" of the new install
4) home directory "/home" of the new install
Last edited by Netherprovinc3 on Fri Mar 27, 2020 2:51 am, edited 5 times in total.
Linux Mint 19.1 Cinnamon unless otherwise noted.

User avatar
pbear
Level 11
Level 11
Posts: 3897
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Drive with dual Mint installs doesn't show grub menu

Post by pbear »

I want you to run both commands, copy everything that appears on screen (including the commands themselves), and paste it here. And surely you've been here long enough to know about code boxes. It's the </> button above the text entry window.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

pbear wrote:
Fri Mar 27, 2020 2:36 am
I want you to run both commands, copy everything that appears on screen (including the commands themselves), and paste it here. And surely you've been here long enough to know about code boxes. It's the </> button above the text entry window.
ok, I edited my previous post.
Linux Mint 19.1 Cinnamon unless otherwise noted.

User avatar
pbear
Level 11
Level 11
Posts: 3897
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Drive with dual Mint installs doesn't show grub menu

Post by pbear »

And what happens when you run os-prober? Literally nothing?
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

pbear wrote:
Fri Mar 27, 2020 12:06 pm
And what happens when you run os-prober? Literally nothing?
Correct. No error messages either.
Linux Mint 19.1 Cinnamon unless otherwise noted.

User avatar
pbear
Level 11
Level 11
Posts: 3897
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Drive with dual Mint installs doesn't show grub menu

Post by pbear »

As an aside, in future, please report that also, if someone asks for an output. No response is a response, sometimes good sometimes bad.
Here, alas, it's bad. os-prober is how grub-install detects other operating systems and adds them to the boot menu.

As another aside, the article you link in your first post is incorrect. There is no need to mount other operating systems for os-prober to detect them. I'm pretty sure that never was true, but I'm certain it's not true now. As mentioned, I have several of these and update the primary Grub often without mounting anything.

Nothing is leaping to mind, so let me puzzle over this for a bit. Meanwhile, maybe someone else will have a bright idea.
Last edited by pbear on Fri Mar 27, 2020 12:58 pm, edited 1 time in total.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

deepakdeshp
Level 16
Level 16
Posts: 6885
Joined: Sun Aug 09, 2015 10:00 am

Re: Drive with dual Mint installs doesn't show grub menu

Post by deepakdeshp »

Can you select in BIOS, boot menu both the os separate? If so make the last installed os as the first entry in BIOS boot menu.
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 19.3 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
pbear
Level 11
Level 11
Posts: 3897
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Drive with dual Mint installs doesn't show grub menu

Post by pbear »

Netherprovinc3 wrote:
Wed Mar 25, 2020 11:55 pm
... what gets erased ...
No brilliant flash of insight has come to me, so let's try poking around, starting with this point. Let's confirm your old system is still there. Boot 19.3, open File Manager, and mount the 19.2 partition (click it in the left navigation pane). Does it have the usual folders (bin, boot, etc.)?

While we're at it, please run df -h in Terminal and report the output.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

pbear wrote:
Fri Mar 27, 2020 12:39 pm
As an aside, in future, please report that also, if someone asks for an output. No response is a response, sometimes good sometimes bad.
I am not always sure which commands are supposed to produce terminal output. But, I guess Googling usually clarifies for a short command like that.
pbear wrote:
Fri Mar 27, 2020 3:15 pm
Netherprovinc3 wrote:
Wed Mar 25, 2020 11:55 pm
... what gets erased ...
Boot 19.3, open File Manager, and mount the 19.2 partition (click it in the left navigation pane). Does it have the usual folders (bin, boot, etc.)?
The partition with the other operating system doesn't seem to be mounted under "devices" (on the left hand side of file manager).
pbear wrote:
Fri Mar 27, 2020 3:15 pm
While we're at it, please run df -h in Terminal and report the output.
Terminal output1.jpg
I am ok with reinstalling 19.3, if that seems to be a reliable path. Maybe choose to install alongside the current operating system?
Last edited by Netherprovinc3 on Fri Mar 27, 2020 5:23 pm, edited 1 time in total.
Linux Mint 19.1 Cinnamon unless otherwise noted.

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Drive with dual Mint installs doesn't show grub menu

Post by Netherprovinc3 »

deepakdeshp wrote:
Fri Mar 27, 2020 12:58 pm
Can you select in BIOS, boot menu both the os separate? If so make the last installed os as the first entry in BIOS boot menu.
In the motherboard firmware, it only has actual devices listed. Doesn't seem to let me select individual partitions on a hard drive.
Linux Mint 19.1 Cinnamon unless otherwise noted.

User avatar
pbear
Level 11
Level 11
Posts: 3897
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Drive with dual Mint installs doesn't show grub menu

Post by pbear »

Netherprovinc3 wrote:
Fri Mar 27, 2020 5:21 pm
deepakdeshp wrote:
Fri Mar 27, 2020 12:58 pm
Can you select in BIOS, boot menu both the os separate? If so make the last installed os as the first entry in BIOS boot menu.
In the motherboard firmware, it only has actual devices listed. Doesn't seem to let me select individual partitions on a hard drive.
That's normal. Deepak was just probing for an off-chance.

Unable to see the 19.2 partition (sda5) in File Manager is very strange. Even if it's empty, that's strange.

Before we continue hunting for rabbits with a butterfly net, when you speak of reinstall, is that keeping the old 19.2 install or don't you care? Right now, 19.3 seems to be fine. It's 19.2 that has gone missing. Reinstall and give 19.3 the whole drive makes sense. Reinstalling where it is now, not so much.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Post Reply

Return to “Installation & Boot”