Find the answer to your Linux question:
Results 1 to 2 of 2
Partition layout. 2 Sata drives Primary drive, first partition Windows XP, second partition OSX86 Secondary Drive, first partition xUbuntu, second linux swap. OSX86 partition has bootable flag xUbuntu partition has ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    a10
    a10 is offline
    Just Joined!
    Join Date
    Aug 2007
    Posts
    16

    Tri booting Grub funnies :(


    Partition layout.
    2 Sata drives
    Primary drive, first partition Windows XP, second partition OSX86
    Secondary Drive, first partition xUbuntu, second linux swap.
    OSX86 partition has bootable flag
    xUbuntu partition has bootable flag

    /boot/grub/device.map:
    (hd0) /dev/sda
    (hd1) /dev/sdb

    Linux should be second drive, first partition but I can only boot into it with root (hd0,0)
    The part in menu.lst looks like this:
    title Ubuntu 8.04.2, kernel 2.6.24-23-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=0983f9[. . .]
    quiet

    My windows and OSX86 entries in grub are pointless since they don't work. Booting into the primary drive boots windows. This is odd because the OSX86 partition has the bootable flag! I think I broke chameleon and it's booting windows by default. Trying to boot osx86 with:
    title blah blah blah
    rootnoverify (hd1,1)
    chainloader +1

    doesn't work. I figured I'd try hd1,1 since hd0,0 was booting linux. How can I fix this? What can I do to boot into my windows and OSX86 partitions with grub?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Add this code in menu.lst of Ubuntu :
    Code:
    title Windows OS
             rootnoverify (hd1,0)
             map (hd0) (hd1)
             map (hd1) (hd0)
             chainloader +1
    
    title OSX86
           rootnoverify (hd1,1)
           map (hd0) (hd1)
           map (hd1) (hd0)
           chainloader +1
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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