Jump to content

Install Windows 7


2o2
 Share

19 posts in this topic

Recommended Posts

I have a successful osx install on my computer, a 200GB GUID partition, however I wanna install windows 7. Is there a guide for dual booting once osx has already been installed for guid? I couldn't find any.

Link to comment
Share on other sites

Just install Windows 7 on another partition. It will take over the MBR, then you re-install Chameleon to the MBR using the fdisk command included in the binaries package (it writes only the first 440 bytes not to mess with Windows 7 boot).

cd Downloads/Chameleon-2.0-RC4-r684-bin/i386/
sudo ./fdisk -f boot0 -u -y /dev/rdisk0

Use a boot CD or USB drive to boot into Mac OS after installing Windows.

Link to comment
Share on other sites

On a BIOS-based computer, no version of Windows will install to a strictly GUID Partition Table (GPT) disk. You can work around this by converting the disk into a hybrid MBR disk, but that poses its own risks. Note that Apple's Disk Utility seems to convert any GPT disk into an MBR disk if you use Disk Utility to create a FAT partition on the disk, so a lot of people are using hybrid MBRs and don't even realize it.

Link to comment
Share on other sites

On a BIOS-based computer, no version of Windows will install to a strictly GUID Partition Table (GPT) disk. You can work around this by converting the disk into a hybrid MBR disk, but that poses its own risks. Note that Apple's Disk Utility seems to convert any GPT disk into an MBR disk if you use Disk Utility to create a FAT partition on the disk, so a lot of people are using hybrid MBRs and don't even realize it.

 

any way to use bootcamp, it would be much easier since i don't have any external usb drives. i have vanilla snow which doesnt need dsdt patch, its pretty much as vanilla as it gets, why won't bootcamp work? i tried editing plists and everything.

Link to comment
Share on other sites

method 1#

long method... if u hav installed osx first thn install win 7 on other partition... now again bot from osx hacked dvd and select osx drive and go to customize and uncheck all options jus check Chameleon bootloader which u hav selected earlier and install it..... now os x will run but win 7 drive will no boot,,, for this again boot from win 7 dvd and go to repair option and select command option and type diskpart and press enter , now type "select disk 0" and enter. thn type "select partition 1"and enter or on which number of partition u hav installed win7... now type "active" and enter

now type exit and close command window and go to repair.... this will rapair ur windows boot now logon to windows 7 and open command window wit administrator and again type diskpart and press enter , now type "select disk 0" and enter. thn type "select partition 3"or other number where osx is installed(win 7 occupies 2 partitions 1 system reservd)...

and now type active thn exit.... now u can dual boot

method 2

if u install win 7 1st

thn install osx on other partition

boot from win 7 dvd and go to repair option and select command option and type diskpart and press enter , now type "select disk 0" and enter. thn type "select partition 1"and enter or on which number of partition u hav installed win7... now type "active" and enter

now type exit and close command window and go to repair.... this will rapair ur windows boot now logon to windows 7 and open command window wit administrator and again type diskpart and press enter , now type "select disk 0" and enter. thn type "select partition 3"or other number where osx is installed(win 7 occupies 2 partitions 1 system reserved)...

hope u understand the no of partitions that where is osx and where is win7 boot partition(system reserved)

sory 4 poor english

Link to comment
Share on other sites

karamat thanks so much. I eventally got impatient with bootcamp not working and time machined my disk, wiped it and freshly installed win7. Im now gonna install snow over that and restore from my time machine then use ur steps above to get windows working again.

Link to comment
Share on other sites

I can confirm Karamat's method as working, although I used slightly different steps, that's pretty much what I ended up with. Only downside is that Windows 7 sleep won't work with Windows on a non-active partition, no biggie for me since Windows 7 sleep crashes my computer with or without the Windows partition as active anyway. OSX and Linux sleep works fine though, kind of weird really.

Link to comment
Share on other sites

Well, if you like Chameleon, go ahead. But I wouldn't do all this trouble just to use Chameleon! What I did was partition the drive in two partitions, one for Snow Leopard (MacOS Extended Journaled) and on for Windows 7 (MS-DOS or FAT32) in GUID scheme. After successful installation of Snow Leopard, I booted with Windows 7 DVD-ROM and I got a message that they cannot install because the partition is FAT32.

 

Warning here, if you make the partition NTFS instead of FAT32, you will get a message that Windows cannot install because of GUID scheme! And no, you cannot format it again from Disk Utility! Weird eh?

 

So we click on the Advanced options, we select the FAT32 partition and format it. Now it is NTFS and Windows 7 will install without issue. After installation we can start Windows but not Snow Leopard. Use EasyBCD to create a new boot entry in Windows Boot Loader. It can be anything, as the original MacOS doesn't work anyway and we have to edit it. Also set convenient descriptions such as "Snow Leopard" and "Windows 7". Set the default you like (I prefer Windows 7 default) and the timer to a more appropriate count, such as 8 seconds instead of 30. Now we need to edit the Snow Leopard entry to load the chain0 file. This file can be found in all boot loaders, just copy it to a USB Flash within Snow Leopard (that is BEFORE installing Windows, otherwise you will have to extract it within Windows) and then copy it to the root folder of your hard disk, that is C:\ To start a command prompt window, press WINDOW+R to see the Run command and type cmd and execute it. Then type the following commands:

 

bcdedit /enum active

 

bcdedit set {copy-paste Snow Leopard GUID code here} path \chain0

 

The first command shows all entries in the Windows Boot Loader and their data. See the description in brackets {} for the Snow Leopard entry. To copy it right click on the window border and select Edit->Mark. Now mark it with the mouse and press Enter to copy it to the clipboard.

 

The second command changes the data of the Snow Leopard entry so the file chain0 is loaded. Start typing the command and paste the code in the brackets. To paste right click on the border again and select Edit->Paste. Then complete the command and press Enter to execute it.

 

Now reboot. If done correctly you should see the Windows Boot Loader counting down 8 seconds and if you select Snow Leopard and press Enter you should see Chameleon and after a while boot into Snow Leopard! This is much safer and much easier than reinstalling Chameleon again. Don't forget that if you are to reinstall Chameleon you'll have to also cache all the kexts all over again etc. And the worst part is that you might lose access to Windows and they will NOT be able to be restored! Believe me, I have tried and I was forced to format the Windows partition and reinstall!

 

Also this way, if you changed you mind and you rather boot into Windows, you simply select Windows from Chameleon, you don't have to reboot the computer again.

 

I hope that was helpful!

Link to comment
Share on other sites

I would still personally go with the method suggested by oldnapalm in post #2. It's by far the quickest and easiest option and Windows7 will still sleep ;)

 

The next version of Chameleon (RC5) will include a boot0hfs file, as an alternative to boot0, which enables it to boot Chameleon from a non-active partition, allowing Windows7 to remain the active partition. Also, the fdisk file oldnapalm refers to has been renamed fdisk440 to save confusion from the default fdisk supplied with OS X.

Link to comment
Share on other sites

(I you and I discussed this already but it needs to be said in this thread as well)

 

If you install Windows 7 to a clean drive, the Windows installer creates a partition called 'System Reserved', not sure about everything it does but the bootloader gets installed there and I heard some of the system repair stuff and Bitlocker uses it as well.

 

The thing is, this partition is active, and the Windows 7 partition itself, is not. Yet sleep and hibernate works.

 

So saying that Windows 7 will not enter S3 sleep if its not installed on an active partition, is wrong.

 

I'm guessing there must be more to the 'System Reserved' partition than just booting Windows...?

Link to comment
Share on other sites

(I you and I discussed this already but it needs to be said in this thread as well)

 

If you install Windows 7 to a clean drive, the Windows installer creates a partition called 'System Reserved', not sure about everything it does but the bootloader gets installed there and I heard some of the system repair stuff and Bitlocker uses it as well.

 

The thing is, this partition is active, and the Windows 7 partition itself, is not. Yet sleep and hibernate works.

 

So saying that Windows 7 will not enter S3 sleep if its not installed on an active partition, is wrong.

 

I'm guessing there must be more to the 'System Reserved' partition than just booting Windows...?

 

Well if you let Windows 7 to create that partition, then NO "Activation Assistant" will manage to activate Windows, so do it only if you have a genuine Windows 7 copy! Also some "Activation Assistants" require that the date is set to about 15 October 2009 BEFORE installation, or they don't work. Activate Windows and then restore the date to today.

 

As for the Sleep or Hibernate function, this works OK in my setup, there is no such relevance as it has to be the active partition! All you need to do to make it work is install chipset drivers in Windows.Also make sure the BIOS settings are correct.

 

I haven't tried to make the Mac partition active and use Chameleon. I wouldn't dare screwing Windows and not being able to fix them after too much trouble to make everything work!

Link to comment
Share on other sites

Well if you let Windows 7 to create that partition, then NO "Activation Assistant" will manage to activate Windows

 

IIRC you can choose not to activate during installation, and then you are given a 30-day grace period. After which you must activate of course.

 

Edit

 

I didn't get that you're talking about pirated Windows. You're wrong, it's totally possible to activate a pirated Windows 7 on a drive that has the System Reserved partition.

Link to comment
Share on other sites

Yes you can use boot camp in OS X. Search google for "modbin boot camp"

 

 

Why use bootcamp on a real PC? Just install Windows on a second partition and then use Windows Boot Loader (or Chameleon) to dual boot. To access the Mac partition from Windows install MacDrive.

 

As for the 200MB partition mentioned on the previous post, I would only do that with genuine Windows 7. If you don't have genuine Windows 7, then this partition will render any activation tool useless. You have to create the Windows partition outside Windows installation and when on installation only format it to NTFS if necessary. If you create the partition in Windows 7 installation, the special 200MB will also be made and then you may forget activation. After the 30-day grace period Windows will just lock and you won't be able to do anything. And no, working in Safe Mode is not supported as it was in Windows XP. It locks as well! The only option then is to format and reinstall. If you are lucky enough that the 30-day period is not over yet and you can login into Windows, you can also remove the genuine check with a special utility. Of course I won't tell you such details in this post, it's all illegal. We are off topic anyway. To summarise, the best is to create any partition you may need with Disk Utility before even installing MacOS X. If you want to use a separate disk, make sure you format it outside the Windows installation, so only they Windows partition exists and not any special partitions that will not allow you activate.

Link to comment
Share on other sites

Hi Beerkex'd :rolleyes:

 

(I you and I discussed this already but it needs to be said in this thread as well)

The thing is, this partition is active, and the Windows 7 partition itself, is not. Yet sleep and hibernate works.

 

So saying that Windows 7 will not enter S3 sleep if its not installed on an active partition, is wrong.

Yes we did discuss this before and you are right in that if you install Windows 7 to a clean drive then by default, without intervention, it will install the 'System Reserved' partition. And you are right that this is then the active partition and not Windows 7. Chameleon will then boot Windows 7 when the user selects the 'System Reserved' partition.

 

The last thing I want to do is give bad or misleading information so sorry if my post was taken that way. My post though, was referring to oldnapalm's suggestion of installing Windows 7 on another partition, where OS X has already been installed on the HDD. This way, Windows 7 is not installed to the first partition of the drive and the 'System Reserved' partition doesn't get installed, which results with Windows 7 being on the active partition.

Link to comment
Share on other sites

Exactly. Windows partition becomes the active partition, that's why I suggest using Windows Boot Loader to boot into both Windows 7 and Snow Leopard. You can try make the Snow Leopard partition active and use Chameleon, but if you do something wrong and Windows have a problem, the restore doesn't work! I have had this problem and I had to reinstall Windows. So be very carefull. I would rather avoid changing the active partition, unless you like Chameleon so much you want to risk.

Link to comment
Share on other sites

I currently have the Windows partition active and I select Windows 7 or Snow Leopard from Windows Boot Manager. Both standby (sleep) and hibernation work perfectly. When I had done hibernation, I immediatelly see the wakeup screen, the selection is only available after shutdown or restart. This is true in Windows 7. In Snow Leopard, the screen just freezes when I select sleep and pressing the power button resumes. So it isn't working properly (shutdown and restart work fine) but I don't care as I use Windows 7 as the main operating system. I have installed Snow Leopard just for the experience. Besides, I prefer to shutdown instead of sleep or hibernate.

As far as I understand Sleep works only if the Mac partition is the active partition. So the only way to have it working in both Windows and Snow Leopard is to install on separate disks (not on the same disk) and make their respective partitions both active. Again it might be an issue depending on which disk has higher booting priority...

Link to comment
Share on other sites

 Share

×
×
  • Create New...