Talk:Native Installation

From OSx86
Jump to: navigation, search

Submitted by Cyt0plas as a potential addition to the original Native tutorial.

Contents

[edit] 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.

[edit] What's required

[edit] Installation

[edit] 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.

[edit] 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

[edit] Required Restart

RESTART YOUR PC (NOT JUST THE VM) NOW! FAILURE TO DO SO CAN RESULT IN CORRUPT PARTITION TABLES!

[edit] 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.


[edit] 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

C:\Windows\Grub\Stage1="MacOS"

To your c:\boot.ini file

[edit] Finishing Up

You're all done. Reboot, and enjoy!

70.176.54.129 00:18, 12 Aug 2005 (CDT)

[edit] 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.
Powered by MediaWiki © 2015 OSx86 Project  |   InsanelyMac  |   Forum  |   OSx86 Wiki  |   PHP hosting by CatN  |   Designed by Ed Gain   |   Privacy policy   |   About OSx86   |   Disclaimers