Let me first say that I've just installed Mint 14, and it kicks butt! Awesome, and the install was flawless-something that hasn't happened in a while for me, unfortunately. Glad to see someone sweated the small stuff, everything works without a hitch. Now I can start installing Linux on friend's computers without having to worry about a lot of weird stuff happening, and believe me, there's been plenty of weirdness lately, on all fronts with systemd, gnome, kernel foo-boos and whatnot. Glad to see something "just working," and if there's anything I want to "just work," it's Mint! Let the others re-invent the wheel every ten minutes, but leave Mint alone, dammit. Hats off to Clem and crew. Someone owes them a beer. Lots of beers. Beers with beers in their beers.
Now for what I'm trying to do. Simple, enough, I've got Fedora on another hard drive, and after installing Mint, I ran "grub-mkconfig -o /boot/grub/grub.cfg," hoping to get grub to see Fedora and all would be good. That didn't work. I seem to remember a program called (something like...) osfinder, but Google and Synaptic didn't show anything by that name. Is there such a critter, or am I hallucinating. And if I am hallucinating, give me a bit, I want to enjoy it.
I know that grub used to have a problem finding ext4 file systems, but I though that had been fixed. Don't know if that's what I'm dealing with, but how do I get grub to find Fedora?
Thanks.
[Solved]Grub-Can't find other operating system
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved]Grub-Can't find other operating system
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Grub-Can't find other operating system
os-prober. If that doesn't work, please follow the steps here and share the output of that for more pointed help: http://forums.linuxmint.com/viewtopic.p ... 74#p592970
Re: Minimal Bash-Like Editing is Supported
Code: Select all
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 72 for .
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 99 for .
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 14 Nadia
Boot files: /boot/grub/grub.cfg /etc/fstab
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub2/grub.cfg
sdb2: __________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders, total 58633344 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 63 57,576,959 57,576,897 83 Linux
/dev/sda2 57,576,960 58,621,184 1,044,225 5 Extended
/dev/sda5 57,577,023 58,621,184 1,044,162 82 Linux swap / Solaris
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders, total 58633344 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 2,048 1,026,047 1,024,000 83 Linux
/dev/sdb2 1,026,048 58,632,191 57,606,144 8e Linux LVM
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 cc5b70ec-5a77-45d7-a144-6406038f0fea ext4
/dev/sda5 12b6f3b5-5886-417d-8b3d-c85cf682be59 swap
/dev/sdb1 db0215e1-d48a-4b11-becb-83af3ce4e289 ext4
/dev/sdb2 UbBUTl-Jiss-Lv8u-oqxk-gAR8-Un49-5bUtTM LVM2_member
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 / ext4 (rw,errors=remount-ro)
=========================== sda1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# 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 ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
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 recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
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 cc5b70ec-5a77-45d7-a144-6406038f0fea
else
search --no-floppy --fs-uuid --set=root cc5b70ec-5a77-45d7-a144-6406038f0fea
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="$1"
if [ "$1" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 14 Cinnamon 32-bit, 3.5.0-17-generic (/dev/sda1)' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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 cc5b70ec-5a77-45d7-a144-6406038f0fea
else
search --no-floppy --fs-uuid --set=root cc5b70ec-5a77-45d7-a144-6406038f0fea
fi
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=cc5b70ec-5a77-45d7-a144-6406038f0fea ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry 'Linux Mint 14 Cinnamon 32-bit, 3.5.0-17-generic (/dev/sda1) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
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 cc5b70ec-5a77-45d7-a144-6406038f0fea
else
search --no-floppy --fs-uuid --set=root cc5b70ec-5a77-45d7-a144-6406038f0fea
fi
echo 'Loading Linux 3.5.0-17-generic ...'
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=cc5b70ec-5a77-45d7-a144-6406038f0fea ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-17-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
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 cc5b70ec-5a77-45d7-a144-6406038f0fea
else
search --no-floppy --fs-uuid --set=root cc5b70ec-5a77-45d7-a144-6406038f0fea
fi
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
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 cc5b70ec-5a77-45d7-a144-6406038f0fea
else
search --no-floppy --fs-uuid --set=root cc5b70ec-5a77-45d7-a144-6406038f0fea
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### 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 ###
--------------------------------------------------------------------------------
=============================== sda1/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=cc5b70ec-5a77-45d7-a144-6406038f0fea / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=12b6f3b5-5886-417d-8b3d-c85cf682be59 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
10.200232983 = 10.952416768 boot/grub/grub.cfg 1
1.560935497 = 1.676041728 boot/initrd.img-3.5.0-17-generic 1
0.799769878 = 0.858746368 boot/vmlinuz-3.5.0-17-generic 1
1.560935497 = 1.676041728 initrd.img 1
1.560935497 = 1.676041728 initrd.img.old 1
0.799769878 = 0.858746368 vmlinuz 1
============================= sdb1/grub2/grub.cfg: =============================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
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
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod lvm
insmod ext2
set root='lvm/vg_upstairsbox-lv_root'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvm/vg_upstairsbox-lv_root' 45bc1041-bc4c-4a4e-a6cb-df64049c22cd
else
search --no-floppy --fs-uuid --set=root 45bc1041-bc4c-4a4e-a6cb-df64049c22cd
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (3.6.7-4.fc17.i686)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-45bc1041-bc4c-4a4e-a6cb-df64049c22cd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 --hint='hd0,msdos1' db0215e1-d48a-4b11-becb-83af3ce4e289
else
search --no-floppy --fs-uuid --set=root db0215e1-d48a-4b11-becb-83af3ce4e289
fi
echo 'Loading Fedora (3.6.7-4.fc17.i686)'
linux /vmlinuz-3.6.7-4.fc17.i686 root=/dev/mapper/vg_upstairsbox-lv_root ro rd.md=0 rd.dm=0 rd.lvm.lv=vg_upstairsbox/lv_swap KEYTABLE=us rd.lvm.lv=vg_upstairsbox/lv_root rd.luks=0 SYSFONT=True LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.6.7-4.fc17.i686.img
}
menuentry 'Fedora' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-45bc1041-bc4c-4a4e-a6cb-df64049c22cd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 --hint='hd0,msdos1' db0215e1-d48a-4b11-becb-83af3ce4e289
else
search --no-floppy --fs-uuid --set=root db0215e1-d48a-4b11-becb-83af3ce4e289
fi
echo 'Loading Linux 3.6.6-1.fc17.i686 ...'
linux /vmlinuz-3.6.6-1.fc17.i686 root=/dev/mapper/vg_upstairsbox-lv_root ro rd.md=0 rd.dm=0 rd.lvm.lv=vg_upstairsbox/lv_swap KEYTABLE=us rd.lvm.lv=vg_upstairsbox/lv_root rd.luks=0 SYSFONT=True LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.6.6-1.fc17.i686.img
}
submenu 'Advanced options for Fedora' $menuentry_id_option 'gnulinux-advanced-45bc1041-bc4c-4a4e-a6cb-df64049c22cd' {
menuentry 'Fedora, with Linux 3.6.6-1.fc17.i686' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.6-1.fc17.i686-advanced-45bc1041-bc4c-4a4e-a6cb-df64049c22cd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 --hint='hd0,msdos1' db0215e1-d48a-4b11-becb-83af3ce4e289
else
search --no-floppy --fs-uuid --set=root db0215e1-d48a-4b11-becb-83af3ce4e289
fi
echo 'Loading Linux 3.6.6-1.fc17.i686 ...'
linux /vmlinuz-3.6.6-1.fc17.i686 root=/dev/mapper/vg_upstairsbox-lv_root ro rd.md=0 rd.dm=0 rd.lvm.lv=vg_upstairsbox/lv_swap KEYTABLE=us rd.lvm.lv=vg_upstairsbox/lv_root rd.luks=0 SYSFONT=True LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.6.6-1.fc17.i686.img
}
menuentry 'Fedora, with Linux 3.6.6-1.fc17.i686 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.6-1.fc17.i686-recovery-45bc1041-bc4c-4a4e-a6cb-df64049c22cd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 --hint='hd0,msdos1' db0215e1-d48a-4b11-becb-83af3ce4e289
else
search --no-floppy --fs-uuid --set=root db0215e1-d48a-4b11-becb-83af3ce4e289
fi
echo 'Loading Linux 3.6.6-1.fc17.i686 ...'
linux /vmlinuz-3.6.6-1.fc17.i686 root=/dev/mapper/vg_upstairsbox-lv_root ro single rd.md=0 rd.dm=0 rd.lvm.lv=vg_upstairsbox/lv_swap KEYTABLE=us rd.lvm.lv=vg_upstairsbox/lv_root rd.luks=0 SYSFONT=True LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.6.6-1.fc17.i686.img
}
menuentry 'Fedora, with Linux 3.3.4-5.fc17.i686' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.i686-advanced-45bc1041-bc4c-4a4e-a6cb-df64049c22cd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 --hint='hd0,msdos1' db0215e1-d48a-4b11-becb-83af3ce4e289
else
search --no-floppy --fs-uuid --set=root db0215e1-d48a-4b11-becb-83af3ce4e289
fi
echo 'Loading Linux 3.3.4-5.fc17.i686 ...'
linux /vmlinuz-3.3.4-5.fc17.i686 root=/dev/mapper/vg_upstairsbox-lv_root ro rd.md=0 rd.dm=0 rd.lvm.lv=vg_upstairsbox/lv_swap KEYTABLE=us rd.lvm.lv=vg_upstairsbox/lv_root rd.luks=0 SYSFONT=True LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.3.4-5.fc17.i686.img
}
menuentry 'Fedora, with Linux 3.3.4-5.fc17.i686 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.i686-recovery-45bc1041-bc4c-4a4e-a6cb-df64049c22cd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 --hint='hd0,msdos1' db0215e1-d48a-4b11-becb-83af3ce4e289
else
search --no-floppy --fs-uuid --set=root db0215e1-d48a-4b11-becb-83af3ce4e289
fi
echo 'Loading Linux 3.3.4-5.fc17.i686 ...'
linux /vmlinuz-3.3.4-5.fc17.i686 root=/dev/mapper/vg_upstairsbox-lv_root ro single rd.md=0 rd.dm=0 rd.lvm.lv=vg_upstairsbox/lv_swap KEYTABLE=us rd.lvm.lv=vg_upstairsbox/lv_root rd.luks=0 SYSFONT=True LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.3.4-5.fc17.i686.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/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Slackware Linux (Slackware 14.0)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-a6fd1270-c832-4d65-9f40-0cb2bd8b3917' {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a6fd1270-c832-4d65-9f40-0cb2bd8b3917
else
search --no-floppy --fs-uuid --set=root a6fd1270-c832-4d65-9f40-0cb2bd8b3917
fi
linux /boot/vmlinuz root=/dev/sda1 ro vt.default_utf8=0 vga = normal
}
submenu 'Advanced options for Slackware Linux (Slackware 14.0)' $menuentry_id_option 'osprober-gnulinux-advanced-a6fd1270-c832-4d65-9f40-0cb2bd8b3917' {
menuentry 'Linux (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--a6fd1270-c832-4d65-9f40-0cb2bd8b3917' {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 a6fd1270-c832-4d65-9f40-0cb2bd8b3917
else
search --no-floppy --fs-uuid --set=root a6fd1270-c832-4d65-9f40-0cb2bd8b3917
fi
linux /boot/vmlinuz root=/dev/sda1 ro vt.default_utf8=0 vga = normal
}
}
### 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 ###
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
0.024920464 = 0.026758144 grub2/grub.cfg 2
0.039919853 = 0.042863616 initramfs-3.3.4-5.fc17.i686.img 4
0.075786591 = 0.081375232 initramfs-3.6.6-1.fc17.i686.img 5
0.101252556 = 0.108719104 initramfs-3.6.7-4.fc17.i686.img 4
0.020897865 = 0.022438912 vmlinuz-3.3.4-5.fc17.i686 1
0.052303314 = 0.056160256 vmlinuz-3.6.6-1.fc17.i686 3
0.083555222 = 0.089716736
Last edited by xenopeek on Sun Nov 25, 2012 11:28 am, edited 1 time in total.
Reason: Moved here from http://forums.linuxmint.com/viewtopic.php?f=46&t=104957&p=592874#p592970.
Reason: Moved here from http://forums.linuxmint.com/viewtopic.php?f=46&t=104957&p=592874#p592970.
Re: Grub-Can't find other operating system
Got it! I tried coming at the problem from another angle, and unplugged the drive that Mint is on, and then booted into Fedora, and tried to get grub to "see" Mint from there. At first I was stumped, as Fedora's version of the grub update command ( grub2-mkconfig -o /boot/grub2/grub.cfg ) didn't find Mint any better than Mint could find Fedora. Then I found a post saying that I have to mount the drive that the operating system I'm trying to get grub to find is installed on. So I found the hard drive that I have Mint on and mounted it, and then ran the grub update command. Now I have Mint and Fedora showing in my grub menu when I start. Too simple, after I found what I was missing.