Jump to content
7 posts in this topic

Recommended Posts

Hi everyone. Hope you'll understand what I want :P . So. I have 3 HDD. One - for Windows Vista or Windows 7 and Local disk D:, second HDD - Gentoo Linux and its /home and the last one is for my experiments with MacOSX Leopard - in fact has 3 partitions - 1Gb - Fat32 for syslinux etc, 20 - For Mac_Root and the rest - for data. Now the quesion. If Vista or Windows 7 and MacOS are already installed, how can I setup Grub on the second HDD to see Windows and MacOS? (For windows I know what to write to the menu.lst, but I don't know what to write for MacOS) And if someone knows manual setup of grub, please tell me what to do by steps. :)

for windows on a different hardrive than grub

 

title WINDOWS
	rootnoverify (hd1,0)
	map (hd1) (hd0)
	map (hd0) (hd1)
	makeactive
	chainloader +1

 

for osx on the same hardrive as grub

 

title OSX 
	rootnoverify (hd0,1)
	makeactive
	chainloader +1

 

unfortunately i have never gotten grub to boot osx then its on a different hhd, even with the mapping entry in the menu.lst, i usually just switch the hdd order in the bios, with the hdd which has osx installed booting 1st

Thanks a lot, but should i disconnect windows and macos Hdds when installing grub or there will be wrong partitions written to config? And there's (i hope) the last moment that i still don't understrand:

map (hd1) (hd0)

map (hd0) (hd1)

How will it look like if my linux hdd is recognized as (hd1,0) and windows is (hd0,0)?

Thanks a lot, but should i disconnect windows and macos Hdds when installing grub or there will be wrong partitions written to config?

 

Yes that would be a good idea, less confusion

 

And there's (i hope) the last moment that i still don't understrand:

map (hd1) (hd0)

map (hd0) (hd1)

How will it look like if my linux hdd is recognized as (hd1,0) and windows is (hd0,0)?

 

maybe

 

title WINDOWS
	rootnoverify (hd0,0)
	map (hd0) (hd1)
	map (hd1) (hd0)
	makeactive
	chainloader +1

 

but i usually have grub on the 1st hhd (hd0,0) with the linux install usually on there as well, so you may have try different settings until you find one that works for you

 

the easiest way and since you have linux and windows on different hdd would be to change the boot order in the bios and maybe install osx on a different hdd so each OS has its own hdd

I'm assuming you got vista to work with gentoo using grub?

After the osx install just install grub again and in the livecd or whatever you use to reinstall grub download PC efi v9 or PCEFI.

Download the file called 'boot' in the archive to /boot

(it's a single file called boot.)

 

Then simply add an entry to menu.lst for Mac OSX Leopard and under it add '(hd0,x)/boot/boot'

Where x is is where your ubuntu is installed. You can get the number by doing 'find /boot/grub/stage1' in grub :)

And your done!

 

Good luck

and maybe install osx on a different

Well, they all have their own HDDs.

 

gazzanova

Hmm, I got windows boot even without these maps.

 

 

About grub. Its installation is my main problem, because for now i can make linux boot only by setting rootnoverify in menu.lst. And any my attempts to reinstall it finish with the same result. Grub can't recognize my ext3 FS. And complete reinstall of gentoo doesn't seem the rightest way for repairing loader :) And a question about leopard. How did you all get it booting without FlashDrive? I created a FAT32 partition at the beginning of leopard's HDD: erased its 200mb EFI Boot Drive (from Ubuntu LiveCD, using Gparted), made a 1GB partition for booting (using windows partition manager), used syslinux and copied needed files. And still can't boot without FlashDrive :(

I'd try to dig up all the info you can by user "wmarsh" on these boards - he (she?) has a good grasp on booting PC EFI from GRUB. I've used his guides to get my iDeneb 10.5.5 booting on my 2nd hard drive from GRUB on my 1st hard drive (and XP and Linux as well). I'm still working on understanding how it all works so I can write my own guide, but wmarsh helped me the most on this topic.

×
×
  • Create New...