Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: refit for triple boot - remove legacy os from boot menu

  1. #1
    Join Date
    May 2009
    Location
    Toronto, Canada
    Beans
    16
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Question refit for triple boot - remove legacy os from boot menu

    Hello,
    I've successfuly installed a triple boot of OSX, WinXP and Ubuntu Jaunty on my Mac Pro (the OSX is on it's own HD in the first drive bay, and the XP and Ubuntu are on a drive in the last bay)
    When I boot up using rEFIt, I get all three options, and they all boot fine, but I also get 2 extra options to "boot legacy OS from HD" which both boot XP when I select them. It's not a big deal, as I am able to use all three OSs I wanted to, but I'd love to get rid of those other two options in the boot menu since they are redundant.

    Any ideas would be appreciated
    thanks

    - I've discovered that when removing the storage drive from bay 3, one of the legacy OS options disappears. The other one appears to be coming from the HD in bay one that also has OSX on it. Is it possible that there is something in the formatting of these drives that somehow looks like an operating system to rEFIt even though none exists?
    Last edited by drewjurecka; June 27th, 2009 at 11:01 PM. Reason: more info

  2. #2
    Join Date
    May 2009
    Location
    Melbourne, Australia
    Beans
    112
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: refit for triple boot - remove legacy os from boot menu

    Hi.

    Can you tell us what partitions you have on each of the drives? And do any of those partitions have a /boot directory?

    It seems to me that you might have a boot loader such as GRUB installed on some spare partitions.

    Richard

  3. #3
    Join Date
    May 2009
    Location
    Toronto, Canada
    Beans
    16
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: refit for triple boot - remove legacy os from boot menu

    is there a terminal command I can use to output a comprehensive list of drive partitions?

  4. #4
    Join Date
    May 2009
    Location
    Toronto, Canada
    Beans
    16
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: refit for triple boot - remove legacy os from boot menu

    okay, here's what I found in gparted:

    drive in bay 1: /dev/sda 596.17 GB (with OSX installed on it - this drive does seem to contain one of the legacy os rEFIt is picking up)
    Partition: /dev/sda1
    File System: fat32
    Label: EFI
    Size: 200mb
    Used: 18.1mb
    Flags: boot

    Partition: /dev/sda2
    File System: hfs+
    Label: OSX
    Size: 595.73gb
    Used: 364.00gb

    and there's 253.51 MB of unallocated space

    The other drive that it seems to think there's a legacy os on is /dev/sdc (bay 3 - no OS installed on it. It's just used as a storage drive)

    Partition: /dev/sdc1
    File System: fat32
    Label: EFI
    Size: 200mb
    Used: 3.09mb
    Flags: boot

    Partition: /dev/sdc2
    File System: hfs+
    Label: Storage
    Size: 931.19gb
    Used: 318.96gb

    and there's 125.53 MB of unallocated space

    is this enough info?

    is the problem caused by the EFI partition? if so, can I safely delete it from the storage drive without screwing up the drive?

    Thanks!

  5. #5
    Join Date
    May 2009
    Location
    Toronto, Canada
    Beans
    16
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: refit for triple boot - remove legacy os from boot menu

    I can't seem to find a /boot folder on my OSX disk.
    Last edited by drewjurecka; June 28th, 2009 at 08:48 AM.

  6. #6
    Join Date
    May 2009
    Location
    Melbourne, Australia
    Beans
    112
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: refit for triple boot - remove legacy os from boot menu

    Drewjurecka,

    Can you go into OS X and get a Terminal and type "bless --info", and post the output here?

    With the configuration that you've just listed, what exactly do you see on the rEFIt boot screen? Do you have a drive in bay 2? Where are XP and Ubuntu installed?

    Richard

  7. #7
    Join Date
    Jul 2008
    Beans
    245
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: refit for triple boot - remove legacy os from boot menu

    Quote Originally Posted by drewjurecka View Post
    ..., but I also get 2 extra options to "boot legacy OS from HD" which both boot XP when I select them. It's not a big deal, as I am able to use all three OSs I wanted to, but I'd love to get rid of those other two options in the boot menu since they are redundant.

    Any ideas would be appreciated
    looks like windows XP and/or linux installed boot code into the disks' MBR. this is not needed as long as all OSes have their boot code on their partition (recommended, and seems to work). so just clear the MBRs' boot codes by running:
    Code:
    dd if=/dev/zero of=/dev/sda bs=440 count=1
    from within OSX or Ubuntu.

    Quote Originally Posted by drewjurecka View Post
    is the problem caused by the EFI partition? if so, can I safely delete it from the storage drive without screwing up the drive?
    no. yes.

    ciao,
    Mario
    Last edited by _mario_; June 29th, 2009 at 02:55 PM.

  8. #8
    Join Date
    May 2009
    Location
    Toronto, Canada
    Beans
    16
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: refit for triple boot - remove legacy os from boot menu

    Here's the output of the "bless --info" terminal command:

    finderinfo[0]: 149 => Blessed System Folder is /System/Library/CoreServices
    finderinfo[1]: 549303 => Blessed System File is /System/Library/CoreServices/boot.efi
    finderinfo[2]: 0 => Open-folder linked list empty
    finderinfo[3]: 0 => No OS 9 + X blessed 9 folder
    finderinfo[4]: 0 => Unused field unset
    finderinfo[5]: 149 => OS X blessed folder is /System/Library/CoreServices
    64-bit VSDB volume id: 0x347ADA2BF9D63B0A

    I have 4 drives installed:
    have figured out which ones cause rEFIt to see Legacy OSs by starting up the computer with various drives removed until I figured out which ones made a difference:

    *Drive in Bay 1: OSX, also causes one Legacy OS to appear on rEFIt menu
    Drive in Bay 2: storage, seems to have no effect on rEFIt menu
    *Drive in Bay 3: storage, seems to cause one Legacy OS to appear in rEFIt menu
    Drive in Bay 4: 2 partitions, one contains Ubuntu Linux, the other XP

    Thanks
    Drew

  9. #9
    Join Date
    May 2009
    Location
    Toronto, Canada
    Beans
    16
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: refit for triple boot - remove legacy os from boot menu

    Hi Mario,
    When I ran the script you sent me, I got the following message: "dd: /dev/sda: Operation not supported"

    what was supposed to happen and how can I fix it?

    thanks
    Drew

  10. #10
    Join Date
    May 2009
    Location
    Toronto, Canada
    Beans
    16
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: refit for triple boot - remove legacy os from boot menu

    is there some way I can check to see if any unnecessary boot codes are installed?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •