Jump to content
3 posts in this topic

Recommended Posts

I was wondering if anyone here can help me with my little project.

I am trying to make an 'OS Test' PC.

I want it to have the following:

Windows XP, Vista, 7 (RC), Ubuntu Linux and Mac OS X Leopard (Kalyway).

I already have them all installes as below:

Windows XP (hd0,0) - Primary, Active

Windows Vista (hd0,1) - Primary

Windows 7 (RC) (hd0,2) - Primary

Ubuntu Linux (hd0,4) - Logical

Mac OS X Leopard (hd0,6) - Logical

 

Using Grub4Dos, I have managed to get all OSs working, apart from Mac OS...

The Menu.lst is as below:

 

title Windows XP

root (hd0,0)

chainloader /ntldr

 

title Windows Vista

root (hd0,1)

chainloader /bootmgr

 

title Windows 7 (RC)

root (hd0,2)

chainloader /bootmgr

 

title Ubuntu Linux

root (hd0,4)

chainloader +1

 

title Mac OS X Leopard

root (hd0,6)

chainloader +1

 

Can Grub4Dos load Mac OS?

Is there something I have done wrong?

Is there something I should do?

 

Thanks

Simon

  • 1 month later...
I was wondering if anyone here can help me with my little project.

I am trying to make an 'OS Test' PC.

I want it to have the following:

Windows XP, Vista, 7 (RC), Ubuntu Linux and Mac OS X Leopard (Kalyway).

I already have them all installes as below:

Windows XP (hd0,0) - Primary, Active

Windows Vista (hd0,1) - Primary

Windows 7 (RC) (hd0,2) - Primary

Ubuntu Linux (hd0,4) - Logical

Mac OS X Leopard (hd0,6) - Logical

 

Using Grub4Dos, I have managed to get all OSs working, apart from Mac OS...

The Menu.lst is as below:

 

title Windows XP

root (hd0,0)

chainloader /ntldr

 

title Windows Vista

root (hd0,1)

chainloader /bootmgr

 

title Windows 7 (RC)

root (hd0,2)

chainloader /bootmgr

 

title Ubuntu Linux

root (hd0,4)

chainloader +1

 

title Mac OS X Leopard

root (hd0,6)

chainloader +1

 

Can Grub4Dos load Mac OS?

Is there something I have done wrong?

Is there something I should do?

 

Thanks

Simon

 

All Depends what kind of partitions have you made, GUID or MBR, MBR only permit use 4 O/S, GUID permit more then that... So... maybe yuo try to installs xp, vista, se7en, then Leo... and try to find here in the forums, some solution to make mac os x avalaible in the GRUB, i "think" the GRUB reconizes all the part-windows, but not the mac, but i read is a simple few steps to make it bootable from Linux (GRUB), or you can change all your partitions to GUID

It seems that you and I are working on somewhat similar projects. I am trying to get Windows 7, Debian Linux, and OS X Retail to multi-boot from a single hard drive using GRUB. Same as you, except you have more versions of windows. I was planning on writing a tutorial for this as soon as I understand it well enough to do so. Perhaps we could share some knowledge with each other. I've been dual-booting windows and linux for a long time, I'm just installing OS X to have some fun with.

 

Anyways, here are some tips from my experience. I currently have all 3 OSes running, but I'm having a bit of trouble figuring out my OS X kexts. Here is my partition scheme:

(hd0,0): Windows 7. ~300GB

(hd0,1): Boot-132 Bootloader partition ~128 MB

(hd0,2): Mac OS X partition ~80 GB

(hd0,3): Extended Partition Containing

-(hd0,4): Linux root ~10GB

-(hd0,5): Linux swap ~3GB

-(hd0,6): Linux home ~70GB

 

The drive uses a regular MBR partition scheme. I got OS X to boot by (loosely) following this tutorial. Essentially, you create a boot-132 bootable USB stick, and then disk dump that USB stick onto your boot-132 partition.

 

The tutorial I linked above does not mention GRUB or linux, so I had to adapt it. I would recommend installing linux last simply because it is least likely to complain about other OSes on the same hard drive. Also, I have both windows and OS X on primary partitions. I think windows will be OK on a secondary partition with GRUB, and I've heard varying reports about OS X or boot-132. If you get it working, let us know. Linux is for sure OK in an extended partition.

 

I would recommend installing the GRUB bootloader that comes with your linux distribution to the MBR. I'm not familiar with GRUB4DOS, other than with its GRUB roots. Perhaps you have a reason for using it. If you use regular GRUB and ever mess anything up in another OS, you should be able to flag your linux partition as boot with a live cd partitioner like PartedMagic and then re-do grub-install (hd0).

 

The entries for grub are relatively straightforward. I put mine before linux's automagic kernels list, and then change the default to whatever I want. Windows typically looks like:

# Windows 7 on /dev/sda1 (hd0,0)
title			Windows Seven
root			(hd0,0)
savedefault
makeactive
chainloader	+1

And for OS X, you simply tell it to boot your boot-132 partition, which can then boot OS X from the boot-132 loader:

# MAC OS X boots from /dev/sda2 (hd0,1) but OS on /dev/sda3
title			Mac OS X
root		(hd0,1)
chainloader	+1
boot

 

Right now, I can boot inso OS X using that, but the video driver is only vesa and my audio doesn't work, so I'm trying to figure out what the best way to fix that is. I don't think EFI strings work with the boot-132 loader. It might be possible to install a different bootloader to the boot 132 partition and boot that bootloader from grub...

 

I hope that helps you with your setup. Let me know if you figure anything out.

×
×
  • Create New...