rick3332
August 18th, 2017, 06:47 PM
How do I get update-grub to recognize ALL of my ubuntu partitions?
After installing a second Ubuntu Gnome on my new acer aspire switch alpha 12, along side of windows 10, update-grub fails to recognize the first Ubuntu but does see windows and itself. os-prober is missing ubuntu #1, but seems to be looking at the correct partitions. See outputs below.
I tried installing in a similar fashion (minus the windows partition, usng an MBR layout) in virtualbox and it recognizes all ubuntu installs, including them in the grub menu.
I have since disabled uefi/secure boot, deleted all ubuntu parts and used gdisk to convert to MBR, done a startup repair on win10, and once working installed Ubuntu (gnome) once (/boot=ext4 /=btrfs), then again to a second set of partitions. Same issue, os-prober does not find the first install.
I have tried installing a third Ubuntu, /boot and /root are both ext4. Still no go.
I am at a loss. Here is some data:
disk layout:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x-----------
Device Boot Start End Sectors Size Id Type
/dev/sda1 94498814 273209343 178710530 85.2G 5 Extended
/dev/sda2 * 239616 92397567 92157952 44G 7 HPFS/NTFS/exFAT win10
/dev/sda3 92399616 94496767 2097152 1G 27 Hidden NTFS WinRE recovery win 10
/dev/sda5 94498816 95473663 974848 476M 83 Linux /boot
/dev/sda6 95475712 173598719 78123008 37.3G 83 Linux / btrfs
/dev/sda7 173600768 174575615 974848 476M 83 Linux /boot #2
/dev/sda8 174577664 252700671 78123008 37.3G 83 Linux / #2 btrfs
/dev/sda9 252702720 253677567 974848 476M 83 Linux /boot #3 only ubuntu listed/bootable in grub
/dev/sda10 253679616 273209343 19529728 9.3G 83 Linux / #3 ext4 only ubuntu listed/bootable in grub
Partition table entries are not in disk order.
output of os-prober:
/dev/sda2:Windows 10 (loader):Windows:chain
os-prober results from /var/log/syslog:
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/05efi on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 10freedos: debug: /dev/mmcblk0p1 is not a FAT partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 10qnx: debug: /dev/mmcblk0p1 is not a QNX4 partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 macosx-prober: debug: /dev/mmcblk0p1 is not an HFS+ partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 20microsoft: debug: /dev/mmcblk0p1 is a FUSE partition
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 30utility: debug: /dev/mmcblk0p1 is not a FAT partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 83haiku: debug: /dev/mmcblk0p1 is not a BeFS partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: /dev/sda1: DOS extended partition; skipping
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda2
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB ntfs filesystem driver
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:48 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:48 Switch-SA5-271 10freedos: debug: /dev/sda2 is not a FAT partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:48 Switch-SA5-271 10qnx: debug: /dev/sda2 is not a QNX4 partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:48 Switch-SA5-271 macosx-prober: debug: /dev/sda2 is not an HFS+ partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:48 Switch-SA5-271 20microsoft: debug: /dev/sda2 is a NTFS partition
Aug 18 13:24:48 Switch-SA5-271 20microsoft: result: /dev/sda2:Windows 10 (loader):Windows:chain
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: os found by subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: os detected by /usr/lib/os-probes/50mounted-tests
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda3
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB ntfs filesystem driver
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:48 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:48 Switch-SA5-271 10freedos: debug: /dev/sda3 is not a FAT partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:48 Switch-SA5-271 10qnx: debug: /dev/sda3 is not a QNX4 partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:48 Switch-SA5-271 macosx-prober: debug: /dev/sda3 is not an HFS+ partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:48 Switch-SA5-271 20microsoft: debug: /dev/sda3 is a NTFS partition
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda3 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda3 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:49 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda5
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB ext2 filesystem driver
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:49 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:49 Switch-SA5-271 10freedos: debug: /dev/sda5 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:49 Switch-SA5-271 10qnx: debug: /dev/sda5 is not a QNX4 partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:49 Switch-SA5-271 macosx-prober: debug: /dev/sda5 is not an HFS+ partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:49 Switch-SA5-271 20microsoft: debug: /dev/sda5 is not a MS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda5 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda5 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:49 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda6
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB btrfs filesystem driver
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:49 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:49 Switch-SA5-271 10freedos: debug: /dev/sda6 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:49 Switch-SA5-271 10qnx: debug: /dev/sda6 is not a QNX4 partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:49 Switch-SA5-271 macosx-prober: debug: /dev/sda6 is not an HFS+ partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:49 Switch-SA5-271 20microsoft: debug: /dev/sda6 is not a MS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda6 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda6 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:49 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda7
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB ext2 filesystem driver
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:49 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:49 Switch-SA5-271 10freedos: debug: /dev/sda7 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:49 Switch-SA5-271 10qnx: debug: /dev/sda7 is not a QNX4 partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:49 Switch-SA5-271 macosx-prober: debug: /dev/sda7 is not an HFS+ partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:49 Switch-SA5-271 20microsoft: debug: /dev/sda7 is not a MS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda7 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda7 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:49 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda8
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB btrfs filesystem driver
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:49 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:49 Switch-SA5-271 10freedos: debug: /dev/sda8 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:49 Switch-SA5-271 10qnx: debug: /dev/sda8 is not a QNX4 partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:49 Switch-SA5-271 macosx-prober: debug: /dev/sda8 is not an HFS+ partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:49 Switch-SA5-271 20microsoft: debug: /dev/sda8 is not a MS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda8 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda8 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/05efi on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 10freedos: debug: /dev/sda9 is not a FAT partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 10qnx: debug: /dev/sda9 is not a QNX4 partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 macosx-prober: debug: /dev/sda9 is not an HFS+ partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 20microsoft: debug: /dev/sda9 is not a MS partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 30utility: debug: /dev/sda9 is not a FAT partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 83haiku: debug: /dev/sda9 is not a BeFS partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/sda9
After installing a second Ubuntu Gnome on my new acer aspire switch alpha 12, along side of windows 10, update-grub fails to recognize the first Ubuntu but does see windows and itself. os-prober is missing ubuntu #1, but seems to be looking at the correct partitions. See outputs below.
I tried installing in a similar fashion (minus the windows partition, usng an MBR layout) in virtualbox and it recognizes all ubuntu installs, including them in the grub menu.
I have since disabled uefi/secure boot, deleted all ubuntu parts and used gdisk to convert to MBR, done a startup repair on win10, and once working installed Ubuntu (gnome) once (/boot=ext4 /=btrfs), then again to a second set of partitions. Same issue, os-prober does not find the first install.
I have tried installing a third Ubuntu, /boot and /root are both ext4. Still no go.
I am at a loss. Here is some data:
disk layout:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x-----------
Device Boot Start End Sectors Size Id Type
/dev/sda1 94498814 273209343 178710530 85.2G 5 Extended
/dev/sda2 * 239616 92397567 92157952 44G 7 HPFS/NTFS/exFAT win10
/dev/sda3 92399616 94496767 2097152 1G 27 Hidden NTFS WinRE recovery win 10
/dev/sda5 94498816 95473663 974848 476M 83 Linux /boot
/dev/sda6 95475712 173598719 78123008 37.3G 83 Linux / btrfs
/dev/sda7 173600768 174575615 974848 476M 83 Linux /boot #2
/dev/sda8 174577664 252700671 78123008 37.3G 83 Linux / #2 btrfs
/dev/sda9 252702720 253677567 974848 476M 83 Linux /boot #3 only ubuntu listed/bootable in grub
/dev/sda10 253679616 273209343 19529728 9.3G 83 Linux / #3 ext4 only ubuntu listed/bootable in grub
Partition table entries are not in disk order.
output of os-prober:
/dev/sda2:Windows 10 (loader):Windows:chain
os-prober results from /var/log/syslog:
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/05efi on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 10freedos: debug: /dev/mmcblk0p1 is not a FAT partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 10qnx: debug: /dev/mmcblk0p1 is not a QNX4 partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 macosx-prober: debug: /dev/mmcblk0p1 is not an HFS+ partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 20microsoft: debug: /dev/mmcblk0p1 is a FUSE partition
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 30utility: debug: /dev/mmcblk0p1 is not a FAT partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 83haiku: debug: /dev/mmcblk0p1 is not a BeFS partition: exiting
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/mmcblk0p1
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: /dev/sda1: DOS extended partition; skipping
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda2
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB ntfs filesystem driver
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:48 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:48 Switch-SA5-271 10freedos: debug: /dev/sda2 is not a FAT partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:48 Switch-SA5-271 10qnx: debug: /dev/sda2 is not a QNX4 partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:48 Switch-SA5-271 macosx-prober: debug: /dev/sda2 is not an HFS+ partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:48 Switch-SA5-271 20microsoft: debug: /dev/sda2 is a NTFS partition
Aug 18 13:24:48 Switch-SA5-271 20microsoft: result: /dev/sda2:Windows 10 (loader):Windows:chain
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: os found by subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: os detected by /usr/lib/os-probes/50mounted-tests
Aug 18 13:24:48 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda3
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB ntfs filesystem driver
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:48 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:48 Switch-SA5-271 10freedos: debug: /dev/sda3 is not a FAT partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:48 Switch-SA5-271 10qnx: debug: /dev/sda3 is not a QNX4 partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:48 Switch-SA5-271 macosx-prober: debug: /dev/sda3 is not an HFS+ partition: exiting
Aug 18 13:24:48 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:48 Switch-SA5-271 20microsoft: debug: /dev/sda3 is a NTFS partition
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda3 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda3 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:49 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda5
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB ext2 filesystem driver
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:49 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:49 Switch-SA5-271 10freedos: debug: /dev/sda5 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:49 Switch-SA5-271 10qnx: debug: /dev/sda5 is not a QNX4 partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:49 Switch-SA5-271 macosx-prober: debug: /dev/sda5 is not an HFS+ partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:49 Switch-SA5-271 20microsoft: debug: /dev/sda5 is not a MS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda5 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda5 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:49 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda6
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB btrfs filesystem driver
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:49 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:49 Switch-SA5-271 10freedos: debug: /dev/sda6 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:49 Switch-SA5-271 10qnx: debug: /dev/sda6 is not a QNX4 partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:49 Switch-SA5-271 macosx-prober: debug: /dev/sda6 is not an HFS+ partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:49 Switch-SA5-271 20microsoft: debug: /dev/sda6 is not a MS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda6 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda6 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:49 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda7
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB ext2 filesystem driver
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:49 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:49 Switch-SA5-271 10freedos: debug: /dev/sda7 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:49 Switch-SA5-271 10qnx: debug: /dev/sda7 is not a QNX4 partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:49 Switch-SA5-271 macosx-prober: debug: /dev/sda7 is not an HFS+ partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:49 Switch-SA5-271 20microsoft: debug: /dev/sda7 is not a MS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda7 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda7 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:49 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda8
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: mounted using GRUB btrfs filesystem driver
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi
Aug 18 13:24:49 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Aug 18 13:24:49 Switch-SA5-271 10freedos: debug: /dev/sda8 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Aug 18 13:24:49 Switch-SA5-271 10qnx: debug: /dev/sda8 is not a QNX4 partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Aug 18 13:24:49 Switch-SA5-271 macosx-prober: debug: /dev/sda8 is not an HFS+ partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Aug 18 13:24:49 Switch-SA5-271 20microsoft: debug: /dev/sda8 is not a MS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Aug 18 13:24:49 Switch-SA5-271 30utility: debug: /dev/sda8 is not a FAT partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Aug 18 13:24:49 Switch-SA5-271 83haiku: debug: /dev/sda8 is not a BeFS partition: exiting
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug 18 13:24:49 Switch-SA5-271 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/05efi on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 05efi: debug: Not on UEFI platform
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 10freedos: debug: /dev/sda9 is not a FAT partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 10qnx: debug: /dev/sda9 is not a QNX4 partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 macosx-prober: debug: /dev/sda9 is not an HFS+ partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 20microsoft: debug: /dev/sda9 is not a MS partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 30utility: debug: /dev/sda9 is not a FAT partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 83haiku: debug: /dev/sda9 is not a BeFS partition: exiting
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/sda9
Aug 18 13:24:50 Switch-SA5-271 os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/sda9