"Missing Operating System" iMac Tri-Boot, GRUB issue?!

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
afroman7600

"Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by afroman7600 »

So i am running on a late 2009, 1Tb, 2.8 GHz Core i7 iMac (11,1), and currently have Mac OS X dual-booting with Windows 8 from rEFIt quite nicely. I have been able to customize rEFIt and all of that and everything has worked seamlessly. However, I have been attempting to install Mint 14 KDE Nadia as well and triple boot. I can run the live CD very nicely (apple wireless mouse, airport extreme all worked from the start), so I went ahead and decided to install it fully. After obtaining all available system updates, I began the installation process. During the installation, I have created the following partitions/sizes in Mb:
/boot = 700
(swap) = 20000
/home = 100000
/usr = 20000
/usr/local = 20000
/opt = 20000
/tmp = 10000
/ = 30000
I have told the installer to install the bootloader to both the root directory and the /boot directory on two separate attempts to install
The installation then goes through its deal and gets to where it tells me to restart, remove the Live DVD, etc.
Mac OS X & Win8 still work from rEFIt as described previously, and linux is detected as my third option on rEFIt. However, when I select it the penguin comes up and then one of two things happen, seemingly arbitrarily:
1.) Penguin remains on the screen forever (was still there in the morning after I had let it stay all night
2.) The penguin disappears, and then I get a screen that says "Missing operating system..._" and computer is unresponsive, save the rear power button to shut down.

I have also selected the drive icon that told me there was some sore of mismatch on my MBR and asked to fix it. I said yes, but problem still persists.

Using rEFIt's partition inspector, here are my results:

Code: Select all

*** Report for internal hard disk ***

Current GPT partition table:
 #      Start LBA      End LBA  Type
 1             40       409639  EFI System (FAT)
 2         409640    657929631  Mac OS X HFS+
 3      657929632    659199167  Mac OS X Boot
 4     1243867136   1953523711  Basic Data
 5      659200000    660566015  Basic Data
 6      660566016    699627519  Linux Swap
 7      699627520    894939135  Basic Data
 8      894939136    934000639  Basic Data
 9      934000640    973062143  Basic Data
 10      973062144   1012123647  Basic Data
 11     1012123648   1031655423  Basic Data
 12     1031655424   1129312255  Basic Data

Current MBR partition table:
 # A    Start LBA      End LBA  Type
 1              1       409639  ee  EFI Protective
 2 *       409640    657929631  af  Mac OS X HFS+
 3      657929632    659199167  ab  Mac OS X Boot
 4     1243867136   1953523711  07  NTFS/HPFS

MBR contents:
 Boot Code: Unknown, but bootable

Partition at LBA 40:
 Boot Code: None (Non-system disk message)
 File System: FAT32
 Listed in GPT as partition 1, type EFI System (FAT)

Partition at LBA 409640:
 Boot Code: None
 File System: HFS Extended (HFS+)
 Listed in GPT as partition 2, type Mac OS X HFS+
 Listed in MBR as partition 2, type af  Mac OS X HFS+, active

Partition at LBA 657929632:
 Boot Code: None
 File System: HFS Extended (HFS+)
 Listed in GPT as partition 3, type Mac OS X Boot
 Listed in MBR as partition 3, type ab  Mac OS X Boot

Partition at LBA 1243867136:
 Boot Code: Windows BOOTMGR (Vista)
 File System: NTFS
 Listed in GPT as partition 4, type Basic Data
 Listed in MBR as partition 4, type 07  NTFS/HPFS

Partition at LBA 659200000:
 Boot Code: GRUB
 File System: ext4
 Listed in GPT as partition 5, type Basic Data

Partition at LBA 660566016:
 Boot Code: None
 File System: Unknown
 Listed in GPT as partition 6, type Linux Swap

Partition at LBA 699627520:
 Boot Code: None
 File System: ext4
 Listed in GPT as partition 7, type Basic Data

Partition at LBA 894939136:
 Boot Code: None
 File System: ext4
 Listed in GPT as partition 8, type Basic Data

Partition at LBA 934000640:
 Boot Code: None
 File System: ext4
 Listed in GPT as partition 9, type Basic Data

Partition at LBA 973062144:
 Boot Code: None
 File System: ext4
 Listed in GPT as partition 10, type Basic Data

Partition at LBA 1012123648:
 Boot Code: None
 File System: ext4
 Listed in GPT as partition 11, type Basic Data

Partition at LBA 1031655424:
 Boot Code: None
 File System: ext4
 Listed in GPT as partition 12, type Basic Data
Lastly, although likely irrelevant, I have two separate 1Tb external hard drives connected, which I use for Time Machine Backup, and Windows Backup, respectively.

I am guessing, based upon my limited experience with this, that there is a problem with the boot process, since the Linux operating system is clearly installed on my HD.

Any insight as to the problem here? I feel that I am sooooo close to this working...
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.
srs5694
Level 6
Level 6
Posts: 1386
Joined: Mon Feb 27, 2012 1:42 pm

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by srs5694 »

Try booting your Linux live CD, download Boot Info Script, and run it. This should produce a file called RESULTS.txt. Post that file here, either between code tags or as a link. This will provide critical diganostic information, such as the contents of your GRUB configuration file and your /etc/fstab file.
afroman7600

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by afroman7600 »

OK, about to perform that now...thanks for the reply!
afroman7600

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by afroman7600 »

Code: Select all

                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => Windows is installed in the MBR of /dev/sda.
 => No known boot loader is installed in the MBR of /dev/sdc.
 => No boot loader is installed in the MBR of /dev/sdd.
 => No boot loader is installed in the MBR of /dev/sde.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  According to the info in the boot sector, sda1 starts 
                       at sector 0. But according to the info from fdisk, 
                       sda1 starts at sector 40.
    Operating System:  
    Boot files:        

sda2: __________________________________________________________________________

    File system:       hfsplus
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda3: __________________________________________________________________________

    File system:       hfsplus
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99)
    Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda5 
                       and looks at sector 659519488 of the same hard drive 
                       for core.img. core.img is at this location and looks 
                       in partition 72 for .
    Operating System:  
    Boot files:        /grub/grub.cfg

sda6: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda8: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda9: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda10: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda11: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda12: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 14 Nadia
    Boot files:        /etc/fstab

sdd1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /boot/bcd

sdd2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sde1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sde2: __________________________________________________________________________

    File system:       hfsplus
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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                   1       409,639       409,639  ee GPT
/dev/sda2             409,640   657,929,631   657,519,992  af HFS / HFS+
/dev/sda3         657,929,632   659,199,167     1,269,536  ab Darwin boot
/dev/sda4    *  1,243,867,136 1,953,523,711   709,656,576   7 NTFS / exFAT / HPFS


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1              40       409,639       409,600 EFI System partition
/dev/sda2         409,640   657,929,631   657,519,992 Hierarchical File System Plus (HFS+) partition (Mac OS X)
/dev/sda3     657,929,632   659,199,167     1,269,536 Apple Boot partition (Mac OS X)
/dev/sda4   1,243,867,136 1,953,523,711   709,656,576 Data partition (Windows/Linux)
/dev/sda5     659,200,000   660,566,015     1,366,016 Data partition (Windows/Linux)
/dev/sda6     660,566,016   699,627,519    39,061,504 Swap partition (Linux)
/dev/sda7     699,627,520   894,939,135   195,311,616 Data partition (Windows/Linux)
/dev/sda8     894,939,136   934,000,639    39,061,504 Data partition (Windows/Linux)
/dev/sda9     934,000,640   973,062,143    39,061,504 Data partition (Windows/Linux)
/dev/sda10    973,062,144 1,012,123,647    39,061,504 Data partition (Windows/Linux)
/dev/sda11  1,012,123,648 1,031,655,423    19,531,776 Data partition (Windows/Linux)
/dev/sda12  1,031,655,424 1,129,312,255    97,656,832 Data partition (Windows/Linux)

Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 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

Invalid MBR Signature found.


Drive: sdd _____________________________________________________________________

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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/sdd1                   2   976,762,585   976,762,584   b W95 FAT32
/dev/sdd2    *    976,762,587 1,953,525,167   976,762,581   b W95 FAT32


Drive: sde _____________________________________________________________________

Disk /dev/sde: 15.7 GB, 15703474176 bytes
255 heads, 63 sectors/track, 1909 cylinders, total 30670848 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/sde1                   1    30,670,847    30,670,847  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sde1              40       409,639       409,600 EFI System partition
/dev/sde2         409,640    30,408,663    29,999,024 Hierarchical File System Plus (HFS+) partition (Mac OS X)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        70D6-1701                              vfat       EFI
/dev/sda10       2415e36f-120b-4a10-a18e-9a654341ae32   ext4       
/dev/sda11       865ca50f-a994-4ba2-ac0d-0ae85693dbcc   ext4       
/dev/sda12       4bcb2425-5501-4770-92cc-4a03309d803e   ext4       
/dev/sda2        15f14b23-ccce-3a42-b37f-ded8a605daf4   hfsplus    Macintosh HD
/dev/sda3        cf61ae8d-9f04-3c5e-b1fe-d9c0befa6fff   hfsplus    Recovery HD
/dev/sda4        6E92A70A92A6D63D                       ntfs       BOOTCAMP
/dev/sda5        419623ec-1a5b-4625-9cf6-2c68d588ee58   ext4       
/dev/sda6        6bd1842f-927b-4ef4-8373-4a5af5d81538   swap       
/dev/sda7        45eea0a2-53da-45e8-b7b5-2472498293ed   ext4       
/dev/sda8        23991fd5-7a91-4901-be6d-3400585ca9f7   ext4       
/dev/sda9        9a93c1b0-282d-4952-955f-7909044ac57e   ext4       
/dev/sdc3        ee2a9df2-f75f-309d-83a0-9956f4a6e063   hfsplus    Time Machine Backup
/dev/sdc4        be900db0-3633-3f3c-a650-1a09e1702caf   hfsplus    Boot OS X
/dev/sdc5        0f8539e6-c8ed-38ed-b5d2-814738e62faa   hfsplus    Storage & Resources
/dev/sdd1        3DC3-13FF                              vfat       WIN BACKUP
/dev/sdd2        0871-1B0E                              vfat       WIN STORAGE
/dev/sde1        D4FD-3EBF                              vfat       FLASH DRIVE
/dev/sde2        f7a11ab8-c8d0-3037-bb0a-7ccd841ecbc9   hfsplus    Flash Storage
/dev/sr0                                                iso9660    Linux Mint 14 KDE 64-bit

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


============================= sda5/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_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8  23991fd5-7a91-4901-be6d-3400585ca9f7
else
  search --no-floppy --fs-uuid --set=root 23991fd5-7a91-4901-be6d-3400585ca9f7
fi
    font="/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
if background_color 0,0,0; then
  clear
fi
### 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 'LinuxMint' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4bcb2425-5501-4770-92cc-4a03309d803e' {
recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  419623ec-1a5b-4625-9cf6-2c68d588ee58
	else
	  search --no-floppy --fs-uuid --set=root 419623ec-1a5b-4625-9cf6-2c68d588ee58
	fi
	linux	/vmlinuz-3.5.0-17-generic root=UUID=4bcb2425-5501-4770-92cc-4a03309d803e ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.5.0-17-generic
}
submenu 'Advanced options for LinuxMint' $menuentry_id_option 'gnulinux-advanced-4bcb2425-5501-4770-92cc-4a03309d803e' {
	menuentry 'LinuxMint, with Linux 3.5.0-17-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-4bcb2425-5501-4770-92cc-4a03309d803e' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  419623ec-1a5b-4625-9cf6-2c68d588ee58
		else
		  search --no-floppy --fs-uuid --set=root 419623ec-1a5b-4625-9cf6-2c68d588ee58
		fi
		echo	'Loading Linux 3.5.0-17-generic ...'
		linux	/vmlinuz-3.5.0-17-generic root=UUID=4bcb2425-5501-4770-92cc-4a03309d803e ro   quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.5.0-17-generic
	}
	menuentry 'LinuxMint, with Linux 3.5.0-17-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-4bcb2425-5501-4770-92cc-4a03309d803e' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  419623ec-1a5b-4625-9cf6-2c68d588ee58
		else
		  search --no-floppy --fs-uuid --set=root 419623ec-1a5b-4625-9cf6-2c68d588ee58
		fi
		echo	'Loading Linux 3.5.0-17-generic ...'
		linux	/vmlinuz-3.5.0-17-generic root=UUID=4bcb2425-5501-4770-92cc-4a03309d803e ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/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_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  419623ec-1a5b-4625-9cf6-2c68d588ee58
	else
	  search --no-floppy --fs-uuid --set=root 419623ec-1a5b-4625-9cf6-2c68d588ee58
	fi
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  419623ec-1a5b-4625-9cf6-2c68d588ee58
	else
	  search --no-floppy --fs-uuid --set=root 419623ec-1a5b-4625-9cf6-2c68d588ee58
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Mac OS X (32-bit) (on /dev/sda2)' --class osx --class darwin --class os $menuentry_id_option 'osprober-xnu-32-72dc02088460fc06'  {
	insmod part_gpt
	insmod hfsplus
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  72dc02088460fc06
	else
	  search --no-floppy --fs-uuid --set=root 72dc02088460fc06
	fi
        load_video
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume = 0 ]; then
           xnu_uuid 72dc02088460fc06 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           if [ /kernelcache -nt /System/Library/Extensions ]; then
              xnu_kernel /kernelcache boot-uuid=${uuid} rd=*uuid
           else
              xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
              if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
                xnu_mkext /System/Library/Extensions.mkext
              else
                xnu_kextdir /System/Library/Extensions
              fi
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}
menuentry 'Mac OS X (64-bit) (on /dev/sda2)' --class osx --class darwin --class os $menuentry_id_option 'osprober-xnu-64-72dc02088460fc06'  {
	insmod part_gpt
	insmod hfsplus
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  72dc02088460fc06
	else
	  search --no-floppy --fs-uuid --set=root 72dc02088460fc06
	fi
        load_video
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume = 0 ]; then
           xnu_uuid 72dc02088460fc06 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           if [ /kernelcache -nt /System/Library/Extensions ]; then
              xnu_kernel64 /kernelcache boot-uuid=${uuid} rd=*uuid
           else
              xnu_kernel64 /mach_kernel boot-uuid=${uuid} rd=*uuid
              if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
                xnu_mkext /System/Library/Extensions.mkext
              else
                xnu_kextdir /System/Library/Extensions
              fi
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}
menuentry 'Windows 8 (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-6E92A70A92A6D63D' {
	insmod part_gpt
	insmod ntfs
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  6E92A70A92A6D63D
	else
	  search --no-floppy --fs-uuid --set=root 6E92A70A92A6D63D
	fi
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (on /dev/sdd1)' --class windows --class os $menuentry_id_option 'osprober-chain-3DC3-13FF' {
	insmod part_msdos
	insmod fat
	set root='hd3,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1  3DC3-13FF
	else
	  search --no-floppy --fs-uuid --set=root 3DC3-13FF
	fi
	drivemap -s (hd0) ${root}
	chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

=================== sda5: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

 314.524425507 = 337.718030336  grub/grub.cfg                                  1
 314.492183685 = 337.683410944  initrd.img-3.5.0-17-generic                    2
 314.523334503 = 337.716858880  vmlinuz-3.5.0-17-generic                       1

=============================== sda12/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>
# / was on /dev/sda12 during installation
UUID=4bcb2425-5501-4770-92cc-4a03309d803e /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda5 during installation
UUID=419623ec-1a5b-4625-9cf6-2c68d588ee58 /boot           ext4    defaults        0       2
# /home was on /dev/sda7 during installation
UUID=45eea0a2-53da-45e8-b7b5-2472498293ed /home           ext4    defaults        0       2
# /opt was on /dev/sda10 during installation
UUID=2415e36f-120b-4a10-a18e-9a654341ae32 /opt            ext4    defaults        0       2
# /tmp was on /dev/sda11 during installation
UUID=865ca50f-a994-4ba2-ac0d-0ae85693dbcc /tmp            ext4    defaults        0       2
# /usr was on /dev/sda8 during installation
UUID=23991fd5-7a91-4901-be6d-3400585ca9f7 /usr            ext4    defaults        0       2
# /usr/local was on /dev/sda9 during installation
UUID=9a93c1b0-282d-4952-955f-7909044ac57e /usr/local      ext4    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=6bd1842f-927b-4ef4-8373-4a5af5d81538 none            swap    sw              0       0
--------------------------------------------------------------------------------

=================== sda12: Location of files loaded by Grub: ===================

           GiB - GB             File                                 Fragment(s)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown MBR on /dev/sdc

00000000  45 52 02 00 74 6f 68 00  00 00 00 00 00 00 00 00  |ER..toh.........|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000120  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000130  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000200

Unknown BootLoader on sda1

00000000  eb 58 90 42 53 44 20 20  34 2e 34 00 02 01 20 00  |.X.BSD  4.4... .|
00000010  02 00 00 00 00 f0 00 00  20 00 10 00 00 00 00 00  |........ .......|
00000020  00 40 06 00 4f 0c 00 00  00 00 00 00 02 00 00 00  |.@..O...........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 00 29 01 17 d6 70 45  46 49 20 20 20 20 20 20  |..)...pEFI      |
00000050  20 20 46 41 54 33 32 20  20 20 fa 31 c0 8e d0 bc  |  FAT32   .1....|
00000060  00 7c fb 8e d8 e8 00 00  5e 83 c6 19 bb 07 00 fc  |.|......^.......|
00000070  ac 84 c0 74 06 b4 0e cd  10 eb f5 30 e4 cd 16 cd  |...t.......0....|
00000080  19 0d 0a 4e 6f 6e 2d 73  79 73 74 65 6d 20 64 69  |...Non-system di|
00000090  73 6b 0d 0a 50 72 65 73  73 20 61 6e 79 20 6b 65  |sk..Press any ke|
000000a0  79 20 74 6f 20 72 65 62  6f 6f 74 0d 0a 00 00 00  |y to reboot.....|
000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Unknown BootLoader on sdd1

00000000  eb 58 90 42 53 44 20 20  34 2e 34 00 02 40 20 00  |.X.BSD  4.4..@ .|
00000010  02 00 00 00 00 f8 00 00  20 00 ff 00 02 00 00 00  |........ .......|
00000020  d8 36 38 3a a5 d1 01 00  00 00 00 00 02 00 00 00  |.68:............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 ff 13 c3 3d 43  41 4d 50 20 42 41 43 4b  |..)...=CAMP BACK|
00000050  55 50 46 41 54 33 32 20  20 20 fa 31 c0 8e d0 bc  |UPFAT32   .1....|
00000060  00 7c fb 8e d8 e8 00 00  5e 83 c6 19 bb 07 00 fc  |.|......^.......|
00000070  ac 84 c0 74 06 b4 0e cd  10 eb f5 30 e4 cd 16 cd  |...t.......0....|
00000080  19 0d 0a 4e 6f 6e 2d 73  79 73 74 65 6d 20 64 69  |...Non-system di|
00000090  73 6b 0d 0a 50 72 65 73  73 20 61 6e 79 20 6b 65  |sk..Press any ke|
000000a0  79 20 74 6f 20 72 65 62  6f 6f 74 0d 0a 00 00 00  |y to reboot.....|
000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Unknown BootLoader on sdd2

00000000  eb 58 90 42 53 44 20 20  34 2e 34 00 02 40 20 00  |.X.BSD  4.4..@ .|
00000010  02 00 00 00 00 f8 00 00  20 00 ff 00 db 36 38 3a  |........ ....68:|
00000020  d5 36 38 3a a5 d1 01 00  00 00 00 00 02 00 00 00  |.68:............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 0e 1b 71 08 57  49 4e 20 52 45 44 59 42  |..)..q.WIN REDYB|
00000050  53 54 46 41 54 33 32 20  20 20 fa 31 c0 8e d0 bc  |STFAT32   .1....|
00000060  00 7c fb 8e d8 e8 00 00  5e 83 c6 19 bb 07 00 fc  |.|......^.......|
00000070  ac 84 c0 74 06 b4 0e cd  10 eb f5 30 e4 cd 16 cd  |...t.......0....|
00000080  19 0d 0a 4e 6f 6e 2d 73  79 73 74 65 6d 20 64 69  |...Non-system di|
00000090  73 6b 0d 0a 50 72 65 73  73 20 61 6e 79 20 6b 65  |sk..Press any ke|
000000a0  79 20 74 6f 20 72 65 62  6f 6f 74 0d 0a 00 00 00  |y to reboot.....|
000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


========= Devices which don't seem to have a corresponding hard drive: =========

sdb 

=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-qSuMm4VF/Tmp_Log: No such file or directory
  No volume groups found

srs5694
Level 6
Level 6
Posts: 1386
Joined: Mon Feb 27, 2012 1:42 pm

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by srs5694 »

I don't see anything obviously wrong with your configuration, but I may be missing something. Thus, my recommendation is to try another approach to booting Linux: Instead of booting via a BIOS-mode version of GRUB 2, which is what you're doing now, switch to an EFI-mode boot loader. The easiest one to try from your current situation is probably my rEFInd. You can do so without making any permanent changes to your disk:
  1. From the rEFInd download page, download the USB flash drive or CD-R image.
  2. Create a boot medium using this image.
  3. Insert the boot medium and boot from it. In theory, rEFIt should detect rEFInd as a generic boot loader; or you should be able to launch it by pressing Option as you start the computer.
  4. In rEFInd, you should see a Linux penguin icon that's labelled "vmlinuz-3.5.0-17-generic". Highlight it.
  5. Press F2 or Insert twice. This should open a text-mode line editor in which boot options are listed.
  6. Add "ro root=/dev/sda12" to the list of boot options.
  7. Press Enter. This should start the boot process.
If Linux still fails to boot, it should at least produce a more verbose set of startup messages that might provide a clue about what's going wrong. Report back with that information.

If Linux boots successfully using this method, you can permanently install rEFInd so that it replaces rEFIt. (rEFInd is a further development of rEFIt, since rEFIt hasn't been updated in three years.) Do so from OS X by following the instructions on the rEFInd Web site. Be sure to install the ext4fs driver along with rEFInd itself, since rEFInd needs to be able to read the kernel from your ext4 filesystem. Feel free to test rEFInd's ability to boot Windows and OS X first. Note that you're likely to have some extra entries in rEFInd. If you find them distracting, you can modify the rEFInd configuration to unclutter the display, but the details will depend on exactly what you see. Post back with details if you need help with this.

If you have problems getting rEFInd to boot from a CD-R or USB flash drive, you can install it alongside rEFIt by putting it on the OS X system partition, as described in the manual installation instructions, but do not run "bless." That will enable you to launch rEFInd from rEFIt, and if it doesn't work out you can just delete the rEFInd files.
afroman7600

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by afroman7600 »

OK - will perform tonight after I am home from work around 11:30. Thanks for the help!

It is superficial, and therefore not necessary, but is rEFInd customizable in the same ways as rEFIt? With the custom banner, images, etc. I will be sharing my computer with 5 roommates who are much less versed in this than I will be, so the simplicity achievable with rEFIt will be a huge plus. Of course, a working Linux OS is most important so if not, I will still be going through with whatever I can get operational.
srs5694
Level 6
Level 6
Posts: 1386
Joined: Mon Feb 27, 2012 1:42 pm

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by srs5694 »

afroman7600 wrote:It is superficial, and therefore not necessary, but is rEFInd customizable in the same ways as rEFIt? With the custom banner, images, etc.
Yes. Some of the details differ, but many of them are identical, too.
afroman7600

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by afroman7600 »

I've had some unexpected things come up, so I may not have time to perform this until late tonight or sometime tomorrow. Please stay posted, and I will have my results up as soon as possible!

Thanks again!
afroman7600

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by afroman7600 »

So I used the CD-R .iso image route to initiating rEFInd, and all went well. I was able to select the option and pressed F2, etc...
However, in this line editor I tried two things, both of which gave me the same result:

1.) I replaced the line of text in this menu with the "ro root=/dev/sda12" and pressed ENTER. A bunch of text (hundreds of lines of numbers, letters, etc.) That appeared and disappeared faster than I could read them. Then, instead of seeing the "Missing operating system" message, I just got a black screen. I could hear that the computer was still making noise, and my external drives were still turned on, so something was going on, but it stays at that unresponsive screen forever.

2.) I left the existing text there, hit SPACE, and then typed in the above line, before hitting ENTER. Same result occurred here.

I'll keep tinkering and trying different things here, but I am pretty sure I am in need of more advice, if possible!

Thanks
afroman7600

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by afroman7600 »

Do you think that sda5 or sda12 will be my proper directory for this?
afroman7600

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by afroman7600 »

I am sorry for the multiple replies here, but I finally was able to get a readable snapshot of the output that comes up as described above, just prior to the seemingly unresponsiveness. Just as an FYI, since we are dealing with a black screen here - I am currently running 8 GB 1067 MHz DDR3 RAM, and ATI Radeon HD 4850 512 MB graphics card. THere are two images, one where I used flash, and the other where I did not, although both are fairly readable.

http://i45.tinypic.com/2gxjz1w.jpg

http://i50.tinypic.com/1zldduo.jpg

**Click "view raw image" to enlarge and rotate to vertical orientation.**
srs5694
Level 6
Level 6
Posts: 1386
Joined: Mon Feb 27, 2012 1:42 pm

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by srs5694 »

srs5694 wrote: 6. Add "ro root=/dev/sda12" to the list of boot options.
afroman7600 wrote: I replaced the line of text in this menu with the "ro root=/dev/sda12" and pressed ENTER.
My instructions were to add text to the existing options, not to replace those options. The error messages you get just a bit before the end give you a clue about this:

Code: Select all

Kernel panic - not syncing: No init found. Try passing init= option to kernel.
The line automatically generated by rEFInd should include a suitable init= option, but you deleted it.
afroman7600

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by afroman7600 »

I figured that this may have been my mistake, but in my attempt #2 above, I received the same outcome. Is there a special way to add your advised command, other than just putting a space and then adding it?

Thanks!
srs5694
Level 6
Level 6
Posts: 1386
Joined: Mon Feb 27, 2012 1:42 pm

Re: "Missing Operating System" iMac Tri-Boot, GRUB issue?!

Post by srs5694 »

afroman7600 wrote:I figured that this may have been my mistake, but in my attempt #2 above, I received the same outcome. Is there a special way to add your advised command, other than just putting a space and then adding it?
I'm sorry; I must have missed that when reading your reply. Check for an existing initrd= entry in the options line that rEFInd generates. If there isn't one, try adding one, pointing to your initrd file. (It should read "initrd=initrd.img-3.5.0-17-generic", if the Boot Info Script output you posted earlier is still accurate.) Also, it's possible that your device identifiers are changing -- for instance, if you've repartitioned since running Boot Info Script, your Mint root (/) filesystem might no longer be /dev/sda12, so you might need to adjust that value as necessary. Using a UUID can work around this problem, but that's awkward in the extreme when you need to type it manually.

Alternatively, you can boot using an emergency system and mount your regular system's /boot partition (/dev/sda5) somewhere convenient. (I'll suppose it will be at /boot.) You can then create a /boot/refind_linux.conf file like this:

Code: Select all

"Boot with normal options"  "ro root=UUID=4bcb2425-5501-4770-92cc-4a03309d803e"
With that file in place, it should no longer be necessary to edit the options at boot time. You can add more options if you want to tweak the behavior, but starting with something basic should get the system booting. I've used the UUID reported by Boot Info Script in this example to avoid complications if the device IDs are changing on you.
Locked

Return to “Installation & Boot”