Grub install (grub-mount) stuck for several minutes (with Antergos dual boot)

grub
dual-boot
update

#15

I googled this a little and it seems that there have been similar problems with grub-mount in other distros as well.
So it may be a general grub problem instead of a problem specific to Manjaro.


#16

There is one right here and that’s because the whole disk is one big extended partition (no primary).
But since your grub works well without os-prober, we can conclude it’s something to do with os-prober; whether it’s the way manjaro os-prober is modified, we don’t know.

So let’s leave it here. At least custom.cfg works (fast) for you.
Take care.


#17

Yup, os-prober seems to contain the problem.
The custom.cfg works as fast and well as /etc/grub.d/40_custom_my did, but seems to have some other advantages.

Thanks for your time and help!
Cheers!


#18

Hi,
I just looked at os-prober source code and made some ad hoc experiments.

More or less accidentally I found out that if the Antergos partition is mounted before update-grub is executed, then the 12 minute delay problem doesn’t exist!

So the problem in os-prober must be somehow related to mount handling, it is not done properly. I didn’t look at it further, but left it as an exercise to someone interested and properly initiated. :wink:
I just made a simple script to work around the problem.

Hopefully this proves to be a useful observation to someone struggling with this problem.


Grub Update Hangs - Takes 10+min To Generate
#19

Good! Then I suppose we have to find out why it took Manjaro update-grub such a long time to mount Antergos for the process. Perhaps there is something in Antergos system (not in Manjaro) that is the issue?

But good you found out.


#20

My guess is that os-prober is somehow flawed, and the flaw is not specific to Manjaro nor Antergos. However, Antergos seems to use some features that the os-prober just doesn’t handle the right way.
The developers of os-prober (Debian people?) would be the right persons to study this further and solve it.
Anyway, currently I don’t have enough time to investigate it any further. Maybe later when I have more time. :slight_smile:


#21

Hi,
not being blunt here, but after some more analysis on the initial “os-probe” issue I found even more strange behaviour…

calling the formal “update-grub” script I get this :

~]$ sudo update-grub
Generating grub configuration file …
Found background: /usr/share/grub/background.png
Found Intel Microcode image
Found linux image: /boot/vmlinuz-4.10-x86_64
Found initrd image: /boot/initramfs-4.10-x86_64.img
Found initrd fallback image: /boot/initramfs-4.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.9-x86_64
Found initrd image: /boot/initramfs-4.9-x86_64.img
Found initrd fallback image: /boot/initramfs-4.9-x86_64-fallback.img
Found Windows 8 (loader) on /dev/sda1
Found antiX 16.1 (16.1) on /dev/sdc2
Found Arch on /dev/sdd2
Found Linux Mint 18 Sarah (18) on /dev/sdd3
Found CentOS Linux release 7.2.1511 (Core) on /dev/sdd4
Found Arch Linux (rolling) on /dev/sdd5
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

but the /boot/grub.cfg misses several entries as shown in here :
( edited a bit, showing only the os-probe section and “removing” the submenus for each entry )

~]$ sudo cat /boot/grub/grub.cfg

# # BEGIN /etc/grub.d/30_os-prober

menuentry ‘Windows 8 (loader) (on /dev/sda1)’ --class windows --class os $menuentry_id_option ‘osprober-chain-AE3818E43818ACF9’ {
savedefault
insmod part_msdos
insmod ntfs
set root='hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 AE3818E43818ACF9
else
search --no-floppy --fs-uuid --set=root AE3818E43818ACF9
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry ‘antiX 16.1 (16.1) (on /dev/sdc2)’ --class antix --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-simple-739f47a8-d14e-4652-bbb8-61de9a9b9969’ {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 739f47a8-d14e-4652-bbb8-61de9a9b9969
else
search --no-floppy --fs-uuid --set=root 739f47a8-d14e-4652-bbb8-61de9a9b9969
fi
linux /boot/vmlinuz-4.4.10-antix.1-amd64-smp root=UUID=739f47a8-d14e-4652-bbb8-61de9a9b9969 ro zswap.zpool=zsmalloc vga=788
initrd /boot/initrd.img-4.4.10-antix.1-amd64-smp
}
menuentry ‘Arch (on /dev/sdd2)’ --class arch --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-simple-cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
else
search --no-floppy --fs-uuid --set=root cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
fi
linux /boot/vmlinuz-linux root=UUID=cf9c2892-e244-4f01-bfcc-87cd2d21f1c0 rw quiet
initrd /boot/initramfs-linux.img
}
submenu ‘Advanced options for Arch (on /dev/sdd2)’ $menuentry_id_option ‘osprober-gnulinux-advanced-cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
menuentry ‘Antergos Linux (on /dev/sdd2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-linux–cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
else
search --no-floppy --fs-uuid --set=root cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
fi
linux /boot/vmlinuz-linux root=UUID=cf9c2892-e244-4f01-bfcc-87cd2d21f1c0 rw quiet
initrd /boot/initramfs-linux.img
}
menuentry ‘Antergos Linux (on /dev/sdd2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-linux–cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
else
search --no-floppy --fs-uuid --set=root cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
fi
linux /boot/vmlinuz-linux root=UUID=cf9c2892-e244-4f01-bfcc-87cd2d21f1c0 rw quiet
initrd /boot/initramfs-linux.img
}
menuentry ‘Linux Mint 18 Sarah (18) (on /dev/sdd3)’ --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-simple-a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-45-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘CentOS Linux release 7.2.1511 (Core) (on /dev/sdd4)’ --class redhat --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-simple-6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt4’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt4 --hint-efi=hd3,gpt4 --hint-baremetal=ahci3,gpt4 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
else
search --no-floppy --fs-uuid --set=root 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
fi
linux /boot/vmlinuz-0-rescue-9b5645c716734b41a8e1deea1f7de715 root=/dev/sdd4
initrd /boot/initramfs-0-rescue-9b5645c716734b41a8e1deea1f7de715.img
}

> ### END /etc/grub.d/30_os-prober ###

> ### BEGIN /etc/grub.d/40_custom ###
> # This file provides an easy way to add custom menu entries.  Simply type the
> # menu entries you want to add after this comment.  Be careful not to change
> # the 'exec tail' line above.
> ### END /etc/grub.d/40_custom ###

> ### BEGIN /etc/grub.d/41_custom ###
> if [ -f  ${config_directory}/custom.cfg ]; then
>   source ${config_directory}/custom.cfg
> elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
>   source $prefix/custom.cfg;
> fi
> ### END /etc/grub.d/41_custom ###

> ### BEGIN /etc/grub.d/60_memtest86+ ###
> if [ "${grub_platform}" == "pc" ]; then
>     menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
>         search --fs-uuid --no-floppy --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  f4bc51ae-9d55-400c-b716-e17bcf600731
>         linux16 /boot/memtest86+/memtest.bin 
>     }
> fi
> ### END /etc/grub.d/60_memtest86+ ###

So my questions are :

Why is Antergos being displayed as “Arch” in the original menu ? As the Submenu are correctly identified as Antergos ???

Why is the the real Arch from sdd 5 missing from the List ?? After the CentOs entry ?

Another detail :
it takes more than 8 minutes between the

Found initrd fallback image: /boot/initramfs-4.9-x86_64-fallback.img
To the
Found Windows 8 (loader) on /dev/sda1 in the list …
This behaviour ( longer times ) started about 6 months ago or similar …

In a multi core processor system using “htop” in those minutes the “OS-probe” script is in the 100% busy with something like “tr td” part …

Any comments ?


#22

Quick short answers. (without thorough check) [quote=“markmarques, post:21, topic:19521”]
Why is Antergos being displayed as “Arch” in the original menu ?
[/quote]
os-prober takes name form "$(echo “${LONGNAME}” which is derived from the OS lsb-release or os-release (one of them - changed some time ago) and if the OS used their ‘derived OS’ (in this case “Arch” without changing it to “Antergos”) then os-prober will continue to use what it searched and found.

Sorry, don’t know. you may want to check details of Manjaro’s /usr/sbin/grub-mkconfig to see what script goes missing or some Manjaro developer may want to take a look at it.

May be related to above.

Someone may want to take a look at it.
As said, I don’t have Arch or Antergos.
Works fine in my case without these.

[edit] - perhaps it will be good if someone else having Antergos and/or Arch confirm if he/she have same problem (or none) as markmarques ?

[hint] - without affecting your system or change any file and just to test to provide feedback, at terminal
sudo os-prober
sudo grub-mkconfig


#23

As requested here are the commands :
os-prober and
grub-mkconfig

~]$ sudo os-prober
/dev/sda1:Windows 8 (loader):Windows:chain
/dev/sdc2:antiX 16.1 (16.1):antiX:linux
/dev/sdd2::Arch:linux
/dev/sdd3:Linux Mint 18 Sarah (18):LinuxMint:linux
/dev/sdd4:CentOS Linux release 7.2.1511 (Core) :RedHat:linux
/dev/sdd5:Arch Linux (rolling):Arch1:linux

Took about 6 minutes between the Anti X-16 and Arch ( Antergos ) …

~]$ sudo grub-mkconfig

Generating grub configuration file …

DO NOT EDIT THIS FILE

It is automatically generated by grub-mkconfig using templates

from /etc/grub.d and settings from /etc/default/grub

BEGIN /etc/grub.d/00_header

insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ “${next_entry}” ] ; then
set default="${next_entry}“
set next_entry=
save_env next_entry
set boot_once=true
else
set default=”${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="–id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ “${prev_saved_entry}” ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z “${boot_once}” ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

set menu_color_normal=light-gray/black
set menu_color_highlight=light-green/black

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 f4bc51ae-9d55-400c-b716-e17bcf600731
else
search --no-floppy --fs-uuid --set=root f4bc51ae-9d55-400c-b716-e17bcf600731
fi
font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=640x480x16
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_GB
insmod gettext
fi
terminal_input console
terminal_output gfxterm
Found background: /usr/share/grub/background.png
insmod part_msdos
insmod ext2
set root='hd0,msdos3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 f4bc51ae-9d55-400c-b716-e17bcf600731
else
search --no-floppy --fs-uuid --set=root f4bc51ae-9d55-400c-b716-e17bcf600731
fi
insmod png
background_image -m stretch /usr/share/grub/background.png
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5

Fallback normal timeout code in case the timeout_style feature is

unavailable.

else
set timeout=5
fi

END /etc/grub.d/00_header

BEGIN /etc/grub.d/10_linux

Found Intel Microcode image
Found linux image: /boot/vmlinuz-4.10-x86_64
Found initrd image: /boot/initramfs-4.10-x86_64.img
menuentry ‘Manjaro Linux’ --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-simple-f4bc51ae-9d55-400c-b716-e17bcf600731’ {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 f4bc51ae-9d55-400c-b716-e17bcf600731
else
search --no-floppy --fs-uuid --set=root f4bc51ae-9d55-400c-b716-e17bcf600731
fi
echo 'Loading Linux 4.10.3-1-MANJARO x64 …'
linux /boot/vmlinuz-4.10-x86_64 root=UUID=f4bc51ae-9d55-400c-b716-e17bcf600731 rw quiet splash
echo 'Loading initial ramdisk …'
initrd /boot/intel-ucode.img /boot/initramfs-4.10-x86_64.img
}
submenu ‘Advanced options for Manjaro Linux’ $menuentry_id_option ‘gnulinux-advanced-f4bc51ae-9d55-400c-b716-e17bcf600731’ {
menuentry ‘Manjaro Linux (Kernel: 4.10.3-1-MANJARO x64)’ --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-4.10.3-1-MANJARO x64-advanced-f4bc51ae-9d55-400c-b716-e17bcf600731’ {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 f4bc51ae-9d55-400c-b716-e17bcf600731
else
search --no-floppy --fs-uuid --set=root f4bc51ae-9d55-400c-b716-e17bcf600731
fi
echo 'Loading Linux 4.10.3-1-MANJARO x64 …'
linux /boot/vmlinuz-4.10-x86_64 root=UUID=f4bc51ae-9d55-400c-b716-e17bcf600731 rw quiet splash
echo 'Loading initial ramdisk …'
initrd /boot/intel-ucode.img /boot/initramfs-4.10-x86_64.img
}
Found initrd fallback image: /boot/initramfs-4.10-x86_64-fallback.img
menuentry ‘Manjaro Linux (Kernel: 4.10.3-1-MANJARO x64 - fallback initramfs)’ --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-4.10.3-1-MANJARO x64-fallback-f4bc51ae-9d55-400c-b716-e17bcf600731’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 f4bc51ae-9d55-400c-b716-e17bcf600731
else
search --no-floppy --fs-uuid --set=root f4bc51ae-9d55-400c-b716-e17bcf600731
fi
echo 'Loading Linux 4.10.3-1-MANJARO x64 …'
linux /boot/vmlinuz-4.10-x86_64 root=UUID=f4bc51ae-9d55-400c-b716-e17bcf600731 rw quiet splash
echo 'Loading initial ramdisk …'
initrd /boot/intel-ucode.img /boot/initramfs-4.10-x86_64-fallback.img
}
Found linux image: /boot/vmlinuz-4.9-x86_64
Found initrd image: /boot/initramfs-4.9-x86_64.img
menuentry ‘Manjaro Linux (Kernel: 4.9.15-1-MANJARO x64)’ --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-4.9.15-1-MANJARO x64-advanced-f4bc51ae-9d55-400c-b716-e17bcf600731’ {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 f4bc51ae-9d55-400c-b716-e17bcf600731
else
search --no-floppy --fs-uuid --set=root f4bc51ae-9d55-400c-b716-e17bcf600731
fi
echo 'Loading Linux 4.9.15-1-MANJARO x64 …'
linux /boot/vmlinuz-4.9-x86_64 root=UUID=f4bc51ae-9d55-400c-b716-e17bcf600731 rw quiet splash
echo 'Loading initial ramdisk …'
initrd /boot/intel-ucode.img /boot/initramfs-4.9-x86_64.img
}
Found initrd fallback image: /boot/initramfs-4.9-x86_64-fallback.img
menuentry ‘Manjaro Linux (Kernel: 4.9.15-1-MANJARO x64 - fallback initramfs)’ --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-4.9.15-1-MANJARO x64-fallback-f4bc51ae-9d55-400c-b716-e17bcf600731’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 f4bc51ae-9d55-400c-b716-e17bcf600731
else
search --no-floppy --fs-uuid --set=root f4bc51ae-9d55-400c-b716-e17bcf600731
fi
echo 'Loading Linux 4.9.15-1-MANJARO x64 …'
linux /boot/vmlinuz-4.9-x86_64 root=UUID=f4bc51ae-9d55-400c-b716-e17bcf600731 rw quiet splash
echo 'Loading initial ramdisk …'
initrd /boot/intel-ucode.img /boot/initramfs-4.9-x86_64-fallback.img
}
}

END /etc/grub.d/10_linux

BEGIN /etc/grub.d/20_linux_xen

END /etc/grub.d/20_linux_xen

BEGIN /etc/grub.d/30_os-prober

Found Windows 8 (loader) on /dev/sda1
menuentry ‘Windows 8 (loader) (on /dev/sda1)’ --class windows --class os $menuentry_id_option ‘osprober-chain-AE3818E43818ACF9’ {
savedefault
insmod part_msdos
insmod ntfs
set root='hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 AE3818E43818ACF9
else
search --no-floppy --fs-uuid --set=root AE3818E43818ACF9
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
Found antiX 16.1 (16.1) on /dev/sdc2
menuentry ‘antiX 16.1 (16.1) (on /dev/sdc2)’ --class antix --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-simple-739f47a8-d14e-4652-bbb8-61de9a9b9969’ {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 739f47a8-d14e-4652-bbb8-61de9a9b9969
else
search --no-floppy --fs-uuid --set=root 739f47a8-d14e-4652-bbb8-61de9a9b9969
fi
linux /boot/vmlinuz-4.4.10-antix.1-amd64-smp root=UUID=739f47a8-d14e-4652-bbb8-61de9a9b9969 ro zswap.zpool=zsmalloc vga=788
initrd /boot/initrd.img-4.4.10-antix.1-amd64-smp
}
submenu ‘Advanced options for antiX 16.1 (16.1) (on /dev/sdc2)’ $menuentry_id_option ‘osprober-gnulinux-advanced-739f47a8-d14e-4652-bbb8-61de9a9b9969’ {
menuentry ‘antiX 16.1 GNU/Linux (on /dev/sdc2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.10-antix.1-amd64-smp–739f47a8-d14e-4652-bbb8-61de9a9b9969’ {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 739f47a8-d14e-4652-bbb8-61de9a9b9969
else
search --no-floppy --fs-uuid --set=root 739f47a8-d14e-4652-bbb8-61de9a9b9969
fi
linux /boot/vmlinuz-4.4.10-antix.1-amd64-smp root=UUID=739f47a8-d14e-4652-bbb8-61de9a9b9969 ro zswap.zpool=zsmalloc vga=788
initrd /boot/initrd.img-4.4.10-antix.1-amd64-smp
}
menuentry ‘antiX 16.1 GNU/Linux, with Linux 4.4.10-antix.1-amd64-smp (on /dev/sdc2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.10-antix.1-amd64-smp–739f47a8-d14e-4652-bbb8-61de9a9b9969’ {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 739f47a8-d14e-4652-bbb8-61de9a9b9969
else
search --no-floppy --fs-uuid --set=root 739f47a8-d14e-4652-bbb8-61de9a9b9969
fi
linux /boot/vmlinuz-4.4.10-antix.1-amd64-smp root=UUID=739f47a8-d14e-4652-bbb8-61de9a9b9969 ro zswap.zpool=zsmalloc vga=788
initrd /boot/initrd.img-4.4.10-antix.1-amd64-smp
}
menuentry ‘antiX 16.1 GNU/Linux, with Linux 4.4.10-antix.1-amd64-smp (sysvinit) (on /dev/sdc2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.10-antix.1-amd64-smp–739f47a8-d14e-4652-bbb8-61de9a9b9969’ {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 739f47a8-d14e-4652-bbb8-61de9a9b9969
else
search --no-floppy --fs-uuid --set=root 739f47a8-d14e-4652-bbb8-61de9a9b9969
fi
linux /boot/vmlinuz-4.4.10-antix.1-amd64-smp root=UUID=739f47a8-d14e-4652-bbb8-61de9a9b9969 ro zswap.zpool=zsmalloc vga=788 init=/lib/sysvinit/init
initrd /boot/initrd.img-4.4.10-antix.1-amd64-smp
}
}

Found Arch on /dev/sdd2
menuentry ‘Arch (on /dev/sdd2)’ --class arch --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-simple-cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
else
search --no-floppy --fs-uuid --set=root cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
fi
linux /boot/vmlinuz-linux root=UUID=cf9c2892-e244-4f01-bfcc-87cd2d21f1c0 rw quiet
initrd /boot/initramfs-linux.img
}
submenu ‘Advanced options for Arch (on /dev/sdd2)’ $menuentry_id_option ‘osprober-gnulinux-advanced-cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
menuentry ‘Antergos Linux (on /dev/sdd2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-linux–cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
else
search --no-floppy --fs-uuid --set=root cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
fi
linux /boot/vmlinuz-linux root=UUID=cf9c2892-e244-4f01-bfcc-87cd2d21f1c0 rw quiet
initrd /boot/initramfs-linux.img
}
menuentry ‘Antergos Linux (on /dev/sdd2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-linux–cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
else
search --no-floppy --fs-uuid --set=root cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
fi
linux /boot/vmlinuz-linux root=UUID=cf9c2892-e244-4f01-bfcc-87cd2d21f1c0 rw quiet
initrd /boot/initramfs-linux.img
}
menuentry ‘Antergos Linux - Fallback (on /dev/sdd2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-linux–cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
else
search --no-floppy --fs-uuid --set=root cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
fi
linux /boot/vmlinuz-linux root=UUID=cf9c2892-e244-4f01-bfcc-87cd2d21f1c0 rw quiet
initrd /boot/initramfs-linux-fallback.img
}
menuentry ‘Antergos Linux LTS Kernel (on /dev/sdd2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-linux-lts–cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
else
search --no-floppy --fs-uuid --set=root cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
fi
linux /boot/vmlinuz-linux-lts root=UUID=cf9c2892-e244-4f01-bfcc-87cd2d21f1c0 rw quiet
initrd /boot/initramfs-linux-lts.img
}
menuentry ‘Antergos Linux LTS Kernel - Fallback (on /dev/sdd2)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-linux-lts–cf9c2892-e244-4f01-bfcc-87cd2d21f1c0’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
else
search --no-floppy --fs-uuid --set=root cf9c2892-e244-4f01-bfcc-87cd2d21f1c0
fi
linux /boot/vmlinuz-linux-lts root=UUID=cf9c2892-e244-4f01-bfcc-87cd2d21f1c0 rw quiet
initrd /boot/initramfs-linux-lts-fallback.img
}
}

Found Linux Mint 18 Sarah (18) on /dev/sdd3
menuentry ‘Linux Mint 18 Sarah (18) (on /dev/sdd3)’ --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-simple-a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-45-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-45-generic
}
submenu ‘Advanced options for Linux Mint 18 Sarah (18) (on /dev/sdd3)’ $menuentry_id_option ‘osprober-gnulinux-advanced-a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
menuentry ‘Linux Mint 18 Xfce 64-bit (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-45-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-45-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Linux Mint 18 Xfce 64-bit, with Linux 4.4.0-45-generic (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-45-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-45-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Linux Mint 18 Xfce 64-bit, with Linux 4.4.0-45-generic (upstart) (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-45-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-45-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Linux Mint 18 Xfce 64-bit, with Linux 4.4.0-45-generic (recovery mode) (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-45-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-45-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro recovery nomodeset
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Linux Mint 18 Xfce 64-bit, with Linux 4.4.0-43-generic (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-43-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-43-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-43-generic
}
menuentry ‘Linux Mint 18 Xfce 64-bit, with Linux 4.4.0-43-generic (upstart) (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-43-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-43-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.4.0-43-generic
}
menuentry ‘Linux Mint 18 Xfce 64-bit, with Linux 4.4.0-43-generic (recovery mode) (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-43-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-43-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro recovery nomodeset
initrd /boot/initrd.img-4.4.0-43-generic
}
menuentry ‘Linux Mint 18 Xfce 64-bit, with Linux 4.4.0-21-generic (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-21-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry ‘Linux Mint 18 Xfce 64-bit, with Linux 4.4.0-21-generic (upstart) (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-21-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry ‘Linux Mint 18 Xfce 64-bit, with Linux 4.4.0-21-generic (recovery mode) (on /dev/sdd3)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-4.4.0-21-generic–a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt3’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt3 --hint-efi=hd3,gpt3 --hint-baremetal=ahci3,gpt3 a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
else
search --no-floppy --fs-uuid --set=root a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b
fi
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=a1f9ff10-ce0e-4914-984b-5a8ee26c5f7b ro recovery nomodeset
initrd /boot/initrd.img-4.4.0-21-generic
}
}

Found CentOS Linux release 7.2.1511 (Core) on /dev/sdd4
menuentry ‘CentOS Linux release 7.2.1511 (Core) (on /dev/sdd4)’ --class redhat --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-simple-6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt4’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt4 --hint-efi=hd3,gpt4 --hint-baremetal=ahci3,gpt4 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
else
search --no-floppy --fs-uuid --set=root 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
fi
linux /boot/vmlinuz-0-rescue-9b5645c716734b41a8e1deea1f7de715 root=/dev/sdd4
initrd /boot/initramfs-0-rescue-9b5645c716734b41a8e1deea1f7de715.img
}
submenu ‘Advanced options for CentOS Linux release 7.2.1511 (Core) (on /dev/sdd4)’ $menuentry_id_option ‘osprober-gnulinux-advanced-6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8’ {
menuentry ‘CentOS Linux release 7.2.1511 (Core) (on /dev/sdd4)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-0-rescue-9b5645c716734b41a8e1deea1f7de715–6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt4’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt4 --hint-efi=hd3,gpt4 --hint-baremetal=ahci3,gpt4 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
else
search --no-floppy --fs-uuid --set=root 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
fi
linux /boot/vmlinuz-0-rescue-9b5645c716734b41a8e1deea1f7de715 root=/dev/sdd4
initrd /boot/initramfs-0-rescue-9b5645c716734b41a8e1deea1f7de715.img
}
menuentry ‘CentOS Linux release 7.2.1511 (Core) (on /dev/sdd4)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-3.10.0-123.el7.x86_64–6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt4’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt4 --hint-efi=hd3,gpt4 --hint-baremetal=ahci3,gpt4 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
else
search --no-floppy --fs-uuid --set=root 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
fi
linux /boot/vmlinuz-3.10.0-123.el7.x86_64 root=/dev/sdd4
initrd /boot/initramfs-3.10.0-123.el7.x86_64.img
}
menuentry ‘CentOS Linux release 7.2.1511 (Core) (on /dev/sdd4)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-3.10.0-327.28.3.el7.x86_64–6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8’ {
savedefault
insmod part_gpt
insmod ext2
set root='hd3,gpt4’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt4 --hint-efi=hd3,gpt4 --hint-baremetal=ahci3,gpt4 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
else
search --no-floppy --fs-uuid --set=root 6ec9ab3d-452a-4e18-8019-92f7c5c9f2a8
fi
linux /boot/vmlinuz-3.10.0-327.28.3.el7.x86_64 root=/dev/sdd4
initrd /boot/initramfs-3.10.0-327.28.3.el7.x86_64.img
}
}

Found Arch Linux (rolling) on /dev/sdd5

END /etc/grub.d/30_os-prober

BEGIN /etc/grub.d/40_custom

This file provides an easy way to add custom menu entries. Simply type the

menu entries you want to add after this comment. Be careful not to change

the ‘exec tail’ line above.

END /etc/grub.d/40_custom

BEGIN /etc/grub.d/41_custom

if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z “${config_directory}” -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi

END /etc/grub.d/41_custom

BEGIN /etc/grub.d/60_memtest86+

Found memtest86+ image: /boot/memtest86+/memtest.bin
if [ “${grub_platform}” == “pc” ]; then
menuentry “Memory Tester (memtest86+)” --class memtest86 --class gnu --class tool {
search --fs-uuid --no-floppy --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 f4bc51ae-9d55-400c-b716-e17bcf600731
linux16 /boot/memtest86+/memtest.bin
}
fi

END /etc/grub.d/60_memtest86+

done

This time I did not ommited the Manjar install nor the submenu details from the file …
This is the same thing present in the grub.cfg file …

Noticed that the end on the Os-probe script the Arch ( Arch Linux ) entry is empty …
Took about 8 minutes between the header of the 30_Os-probe until the end …

more ideas ?


#24

I mean for others who had antergos and arch to test os-prober and grub-mkconfig; not for you..

But I’m glad you printed the output because I was under the impression from your post #5 that your disks are all msdos.

Disk /dev/sda: 64,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Disk /dev/sdb: 64,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Disk /dev/sdc: 64,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Disk /dev/sdd: 64,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Now I noticed there is a mixture of gpt and msdos.

menuentry 'Windows 8 (loader) (on /dev/sda1)'
set root='hd0,msdos1'

menuentry 'antiX 16.1 (16.1) (on /dev/sdc2)'
set root='hd2,msdos2'

menuentry 'Arch (on /dev/sdd2)'
set root='hd3,gpt2'

menuentry 'Antergos Linux (on /dev/sdd2)' 
set root='hd3,gpt2'


menuentry 'Linux Mint 18 Sarah (18) (on /dev/sdd3)' 
set root='hd3,gpt3'

menuentry 'CentOS Linux release 7.2.1511 (Core) (on /dev/sdd4)'
set root='hd3,gpt4'

So, how did the disk sdd became gpt from msdos?
What partitioning is Manjaro disk?

I’ve stated many times in other topics (not this because I thought you’ve shown your disks are all msdos - now obviously they are not)

o do not mix uefi and bios-legacy boots in same system
o do not mix msdos and gpt partitioned disks

It is in fact quite a feat your system can pick up OS’s from other different partitioning disks.
My bios in my system would not pick up a single OS from another different partitioned disk at all.

We’ve gone through a lot already and the information is somehow incorrect or not communicated.
Would you explain?

Reminder - My first post.

@manaaja Even if you think it appears alright, provide
    sudo parted -l
    ls /etc/grub.d
Also do not modify any output or leave out anything from the commands.

#25

There is a solution.
Copy the Antergos (and Arch) menuentry from its /boot/grub/grub.cfg and put it into the custom.cfg of Manjaro /boot/grub, ie. Manjaro’s /boot/grub/custom.cfg

Though I don’t have antergos and arch, their use (reuse) of ‘vmlinuz-linuz’ and ‘initramfs-linux’ would always ensure that it is the latest kernel and you won’t have to keep modifying this custom.cfg after each of their kernel updates.


#26

Hi, I would like just confirm all @markmarques remarks. Manjrao grub-mount stuck for about 20 minutes or more. First it takes a long time to find Windows 7 (sda1), next quick Debian (sda2), but Antergos (sda3) takes extremely long (recognized as “Arch”), Solus (sda5) fast. On the other hand, grub-mkconfig on Antergos is quick, all systems are recognized, but unfortunately it don’t append propper initrd for Manjaro (only intel-ucode.img).

Sometimes ago I thougt it’s default Arch’s filesystem Reiserfs is to blame. But there is no more truth. Now all my systems runs on ext4 (except ntfs Windows of course). Truly, I’ve no idea what’s the reason, because “grub-mount stuck” isn’t Manjaro specific, it happaned on other distro when they have to manage with multi systems boot.


#27

20 minutes is a very long time.
Somewhere it was reported that if the partition is mounted first, then the os-prober (or update-grub) takes much faster. If that is the case and the OS is on another disk, it may be that the disk is sleeping. (link relevance is just to show spinning disks sleeps - content not relevant).

I have 3 (or more) disks and many OS’s in them, but I do not have much delay as you faced.
I sometimes suspect that if the (new, unallocated, raw) disks are not partitioned right (gparted - device tab…) at the beginning, it may cause problems, but I’ve not done that (not partitioned right) on purpose to test that out.
Others have any other idea or opinion?


#28

Hi Gohlip,
why not install Antergos in another partition (but keep Manjaro in control of booting) and see what happens? Should be very easy to try.
Would be interesting to know what happens in your machine. :wink:


#29

Ha! Just did that (while answering other forum posts here at the same time).
You owe me 2 rounds of beer! :yum:

Installed Antergos Minimal.
Yes, this time had 3 disks, disconnected one from it.
From grub-legacy Manjaro Plasma.

After installation, os-prober took a looong time of 3 minutes 40 secs.
Here’s the result

[pop@Eight ~]$ katesu /etc/default/grub
[sudo] password for pop:
[pop@Eight ~]$ sudo os-prober
/dev/sda1:Ubuntu 17.04 (17.04):Ubuntu:linux
/dev/sda2:Ubuntu 17.04 (17.04):Ubuntu1:linux
/dev/sda3:Ubuntu 17.04 (17.04):Ubuntu2:linux
/dev/sda6:Manjaro Linux (17.0.1):ManjaroLinux:linux
/dev/sda7:Manjaro Linux (17.0.1):ManjaroLinux1:linux
/dev/sdb1:Windows 8 (loader):Windows:chain
/dev/sdb10:Manjaro Linux (17.0.1):ManjaroLinux2:linux
/dev/sdb11:Antergos Linux release 17.4 (Minimal-ISO-Rolling):Arch:linux
/dev/sdb2:Mageia 6 (6):Mageia:linux
/dev/sdb7:Manjaro Linux (17.0.1):ManjaroLinux3:linux
/dev/sdb9:Manjaro Linux (17.0.1):ManjaroLinux4:linux
/dev/sdc10:Manjaro Linux (16.10):ManjaroLinux5:linux
/dev/sdc11:Manjaro Linux (17.0.1):ManjaroLinux6:linux
/dev/sdc12:Manjaro Linux (17.0.1):ManjaroLinux7:linux
/dev/sdc8:Ubuntu 17.04 (17.04):Ubuntu3:linux
/dev/sdc9:openSUSE Linux (20170322):SUSE:linux
[pop@Eight ~]$

Aha! took look at Antergos /etc/, found there’s no /etc/lsb-release file created one and redid os-prober.
This time it took 25 secs.

[pop@Eight ~]$ sudo os-prober
[sudo] password for pop:
/dev/sda1:Ubuntu 17.04 (17.04):Ubuntu:linux
/dev/sda2:Ubuntu 17.04 (17.04):Ubuntu1:linux
/dev/sda3:Ubuntu 17.04 (17.04):Ubuntu2:linux
/dev/sda6:Manjaro Linux (17.0.1):ManjaroLinux:linux
/dev/sda7:Manjaro Linux (17.0.1):ManjaroLinux1:linux
/dev/sdb1:Windows 8 (loader):Windows:chain
/dev/sdb10:Manjaro Linux (17.0.1):ManjaroLinux2:linux
/dev/sdb11:Antergos Linux (12345):Antergos:linux
/dev/sdb2:Mageia 6 (6):Mageia:linux
/dev/sdb7:Manjaro Linux (17.0.1):ManjaroLinux3:linux
/dev/sdb9:Manjaro Linux (17.0.1):ManjaroLinux4:linux
/dev/sdc10:Manjaro Linux (16.10):ManjaroLinux5:linux
/dev/sdc11:Manjaro Linux (17.0.1):ManjaroLinux6:linux
/dev/sdc12:Manjaro Linux (17.0.1):ManjaroLinux7:linux
/dev/sdc8:Ubuntu 17.04 (17.04):Ubuntu3:linux
/dev/sdc9:openSUSE Linux (20170322):SUSE:linux
[pop@Eight ~]$

Now, here’s what I (simply put into Antergos /etc/lsb-release

DISTRIB_ID=Antergos
DISTRIB_RELEASE=12345
DISTRIB_CODENAME=Antergos code
DISTRIB_DESCRIPTION=“Antergos Linux”

You may want to put in something more useful for yourself.

Cheers.

ps: remember, you owe me 2 beers.

[edit] - Come back here and let us know if your os-prober (update-grub) has improved significantly.
Don’t just keep quiet about it, of course.


#30

Hi there!

Interesting! However, in my Antergos install there is /etc/lsb-release with the following content:

LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"

Didn’t try your contents just yet, but soon will!
Oh, just remembered that Antergos didn’t have lsb_release program installed by default, so I installed it with pamac.


#31

And yes, running update-grub in Manjaro no more gives 12 minute extra wait because of Antergos.
The solution seems to be to install lsb-release package into Antergos, which is not installed by default.
Timewise it helps about as much as pre-mounting Antergos partition, but of course is a much cleaner and better solution.

What the actual reason is, I don’t know. Something in os-prober must be relying on the existence of lsb-release just a little too much.
Anyway, this is a step forward, and I don’t need my previous workaround anymore.

Nice find, Gohlip!
And I’m also a big fan of beer!


Grub Update Hangs - Takes 10+min To Generate
#32

I’m also not very sure as I disable os-prober in all my OS’s.
I enabled it here just to test out for you; and found the lsb-release issue.

But if I understand correctly, the ‘correct’ file to use should be /etc/os-release not /etc/lsb-release.
(and /etc/os-release to be sym-linked from /usr/lib/os-release).
To explain further, I also tried /etc/os-release (without /etc/lsb-release) but the os-prober (update-grub also) still takes a much longer time. That’s the reason I suggest /etc/lsb-release in my previous post.

Having explained that, I am of the suspicion that there might be an issue with Manjaro ‘rendition’ of os-prober (and update-grub/grub-mkconfig) though I am not absolutely sure of it. This suspicion is also driven by the fact that Manjaro needs to modify grub-mkconfig from the upstream packages so that it can correctly configure the intel-code ‘kernel’ that the other OS cannot do without this modification. (Other OS’s ‘makes’ intel-ucode into the kernel itself and don’t need the modification that Manjaro (and Arch) requires).

I know this is a long explanation of my understanding, but that’s just my nature to get things clear and accurate.

But in summary, let’s just have the beers.
Cheers.

Reference:

freedesktop/os-release
Blog of the developer, sigh …Lennart Poeterring


Updating kernel resulted in missing distros on Grub menu
[Stable Update] 2017-09-08 - Mesa, Kernels, PulseAudio, LibreOffice, KDE Apps, Cinnamon
#33

As a side note about the intel-ucode generation into the initrd line, I have looked at Ubuntu’s implementation of it. I had a Lubuntu installation and found that all Debian based systems actually have all the needed information to generate correct initrd line for Manjaro, too. But for some unknown reason, in the last phase of generation they just strip many essential parameters! For Manjaro this means they strip the intel-ucode part from the initrd line…
It can be fixed quite easily and I wrote the fix to askubuntu/launchpad for Ubuntu. Lets just see how long it takes for them to integrate the fix.


#34

No, what others are doing is to use the upstream packages (grub-mkconfig,…) and that is correct.
If we want changes, the correct thing to do is to ask the upstream developers to incorporate into the packages.
But as you found out as well, other distros handle the intel-ucode into the kernels itself without needing to modify upstream packages to do so.

But need to mention distros have the ‘right’ to modify (all kernels are modified by the distros) though IMO, for application packages, upstream packages should not be modified. You can imagine the chaos if each distro modify libreoffice or kdesu (heh heh).