In last update of 16.04, grub does not do an OS probe of other partitions, so cannot choose to boot into a different OS

Asked by Robert F. Snider

In last update of Ubuntu 16.04, grub does not do a probe of other partitions for available Operating Systems.
So cannot choose to boot into a different operating system to run programs there.

Only OS available is the one on a single partition.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Bashing-om (bashing-om) said :
#1

Robert F. Snider - Hello.

You do not say which operating system you want as the primary. There can be only one per hard drive.

As reference my system:
/dev/sda1: LABEL="x1604" UUID="d9c2a8e6-d014-42a6-846f-7e7892f4aef5" TYPE="ext4" PARTUUID="b6a9f0ca-01"
/dev/sda5: UUID="8d4743bc-8e47-4650-b5fd-1ea904d4ecda" TYPE="swap" PARTUUID="b6a9f0ca-05"
/dev/sda6: LABEL="x1904" UUID="49de038e-9807-469b-9009-540f2989f913" TYPE="ext4" PARTUUID="b6a9f0ca-06"
/dev/sdb1: LABEL="x1804root" UUID="1460de17-30e4-4566-b181-18c17b62887a" TYPE="ext4" PARTUUID="c6c4079f-01"
/dev/sdb2: LABEL="x1804home" UUID="5cd50446-1330-4130-a521-1ea936c9fc2a" TYPE="ext4" PARTUUID="c6c4079f-02"
/dev/sdb3: LABEL="x1804var" UUID="69b1f02a-5e00-415e-ab75-78fdd63f72a3" TYPE="ext4" PARTUUID="c6c4079f-03"
/dev/sdb5: LABEL="u1804" UUID="0b89d785-9ba8-4bd5-a41a-43462459c230" TYPE="ext4" PARTUUID="c6c4079f-05"
/dev/sdb6: LABEL="bups" UUID="a0c6dc1f-51d3-4824-b770-ce42d777277a" TYPE="ext4" PARTUUID="c6c4079f-06"
/dev/sdb7: LABEL="data" UUID="fe9cee2e-6812-46e1-b0a0-b03d5094763a" TYPE="ext4" PARTUUID="c6c4079f-07"
//

What system and partition do you intend to set as the primary controlling authority for booting ?

-ain't nothing but a thing-

Revision history for this message
Robert F. Snider (rfsnider) said :
#2

Excuse me! Grub has the facility to boot several operating systems on the same computer. I have 3
on each of my two computers that I can choose to boot into.

Revision history for this message
Robert F. Snider (rfsnider) said :
#3

Each computer has only one hard drive! Working this way for 10+ years!

Revision history for this message
Bashing-om (bashing-om) said :
#4

Robert -

Sorry that I do not phrase things to well.

On each drive you may have one operating system's grub that controls booting all others.

In my case I have release 19.04 on sda6 as that control for all booting systems
and I have 18.04 on sdb1 controlling all boots.

So to follow through on my thought process to restore your booting:
what system and on what partition:
sudo fdisk-lu
do you want grub to operate from ?

-all in the process-

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

if you run:

sudo os-prober

Does it run OK?

Revision history for this message
Robert F. Snider (rfsnider) said :
#6

Thank you for an understandable reply.

Yes.  It listed the other two operating systems that are bootable.
Which I assume is what

it should do.  Thank you.

On 2019-03-18 3:47 a.m., actionparsnip wrote:
> Your question #679283 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/679283
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> if you run:
>
> sudo os-prober
>
> Does it run OK?
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

OK, great. What is the output of:

sudo update-grub

Thanks

Revision history for this message
Robert F. Snider (rfsnider) said :
#8

Problem solved - still must check on rebooting!

But skimmed through grub.cfg and in the section on os-probing there are
references

to the other bootable operating systems.  So Yeah!Yeah!  Thank you very
much.

On 2019-03-18 10:37 a.m., actionparsnip wrote:
> Your question #679283 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/679283
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> OK, great. What is the output of:
>
> sudo update-grub
>
> Thanks
>

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#9

If this is OK then please mark as solved once tested.

Thanks

Revision history for this message
Robert F. Snider (rfsnider) said :
#10

Thanks actionparsnip, that solved my question.