Submitted by Cyt0plas as a potential addition to the original Native tutorial.
 How I dual booted, and ran off second partition
Here's how I set up dual booting. If you don't know what you are doing, you can destroy your whole Operating System. You have been warned. If you have more than one partition on your HDD, adjust these numbers or you will lose data.
 What's required
 Getting Started
Create a new FreeBSD virtual machine in vmware, with a hard drive mapped directly to your real hard drive. Map the second hard drive to the vmware image.
Grab the Gentoo Livecd, and mount the ISO as the primary cdrom for the VM.
 Booting the VM
When the VM starts, hit escape (to get the boot menu), and select CDROM. Upon boot, run "fdisk /dev/hda" "n" for new "p" for primary "2" for secondary partition [enter] for first available sector "+6200M" for a slightly larger than 6GB partition "t" to change the type "2" to select secondary "af" to change to an apple style partition "w" to write changes
 Required Restart
RESTART YOUR PC (NOT JUST THE VM) NOW! FAILURE TO DO SO CAN RESULT IN CORRUPT PARTITION TABLES!
 Drive Duplication
Re-run vmware, start gentoo livecd again. This time, run "dd if=/dev/hdb1 of=/dev/hda2 bs=8192". This will duplicate the contents of the VMWare image to your hard drive.
 Installing the Bootloader
Now, grab the Grub Windows Installer. I extracted to c:\Windows\Grub
Go to a command prompt, and run:
C:\WINDOWS\Grub>grubinstall -d (hd0,0) -1 C:\Windows\Grub\stage1 -2 C:\Windows\Grub\stage2 -m C:\Windows\Grub\menu.lst
Now, you will need to create a menu.lst file in the grub directory. Here's what mine looks like:
default=0 timeout=3 title Mac OS rootnoverify (hd0,1) chainloader +1
Now, just add the line
To your c:\boot.ini file
 Finishing Up
You're all done. Reboot, and enjoy!
22.214.171.124 00:18, 12 Aug 2005 (CDT)
 User Questions
I have a 120GB HD, with one single partition on it. I assume that I would have to have some unpartitioned space for fdisk to make a new partition, but the guide does not say that. How does it make a new partition if only one partition exists and it takes up the entire drive?
==> You first have to divide your HD in multiple partitions. You can do this with for example Partition Magic
This page was last modified on 1 March 2006, at 17:16.
This page has been accessed 11,098 times.