mediaman Posted June 25, 2006 Share Posted June 25, 2006 I have a few things that don't run happy in Vista (although the OS itself seams far better than XP), so I want to go back to XP. To do this and get BootCamp back to 100% functionality I need to restore the EFI partition, I found the below instructions both here and on the macrumors forums. 1. In Vista, open up Computer Management and format the 200MB empty drive that was once your EFI partition as FAT32 (You can also do this with the Vista Disc, in case your Vista install is corrupted).2. Reboot off of the Mac OS X Disc 3. Switch to Console 4. Type in "diskutil list" and note which partition is your Macintosh HD. In my case it was /dev/disk0. 5. Type in "fdisk -e <partition>". However it is important to note that you will need to insert an 'r' before the disk device name. For example, in my case I typed "fdisk -e /dev/rdisk0". 6. Type "print". This should list the partitions of your Macintosh HD. You should see a FAT32 200MB partition, followed by an HFS+ partition and the partition you used for Vista. If this does not match up, stop here and retry fdisk with another disk or give up. Note the start and size of the partition and write them down. 7. CAUTION (fdisk is very dangerous): type "edit <#>" where number is the number of the 200MB partition used for the EFI. In my case I typed "edit 1". 8. CAUTION: You will be prompted for a System identifier (id) for that partition. Type in EE, which is not in the list provided by the help. Once again, I am retyping the last line to ensure there are no typos. Type in EE, which is not in the list provided by the help. Choose the default [n] for the next question about editing. Enter in the identical start and stop numbers you recorded in the previous step. In my case the start was 2048, although I don't recall the end. 9. CAUTION: You are done, but the changes have not been written. If you might have made a mistake, cancel now and exit and nothing will be lost. I would type "print" and ensure that the starts and stops match the previous print done before the edit. If you as sure you entered everything correctly, type "write" and fdisk will write the new partition table. Please do not proceed with this step if you are not sure about the procedure. 10. Reboot into hard drive Mac OS X. 11. Use Boot Camp to remove Windows partition However I cant get past the fifth instruction. I get the below error in the fdisk console Could not open MBR file /usr/standalone/i386/boot0 no such file or directory anybody knoe how to resolve this? Link to comment https://www.insanelymac.com/forum/topic/20451-removing-vista-returning-to-xp/ Share on other sites More sharing options...
hatoncat Posted June 26, 2006 Share Posted June 26, 2006 Sorry, but that's the wrong way to do it. The right way to do it is to format the drive, zeroing all sectors, using the Mac OS X restore disc. Formatting your EFI partition for FAT32 is a temporary solution that will prevent installing firmware updates in the future, as well as cause the problems you are mentioning. Link to comment https://www.insanelymac.com/forum/topic/20451-removing-vista-returning-to-xp/#findComment-135107 Share on other sites More sharing options...
LasVegas Posted June 27, 2006 Share Posted June 27, 2006 "Could not open MBR file /usr/standalone/i386/boot0 no such file or directory" is normal and can be ignored. It simply indicates that the Boot code isn't available for writing Intel bootable partitions. Apple doesn't use that code anyway. The EFI boot code is built into the firmware. Those instructions don't fully correct the partition though. Instead, use my revised instructions in this thread. LasVegas Link to comment https://www.insanelymac.com/forum/topic/20451-removing-vista-returning-to-xp/#findComment-135584 Share on other sites More sharing options...
mediaman Posted June 27, 2006 Author Share Posted June 27, 2006 Thanks. I had seen and tried the updated instructions, but still got the same result. I am going to back up may OSX install to an external drive before trying again I think. Link to comment https://www.insanelymac.com/forum/topic/20451-removing-vista-returning-to-xp/#findComment-135991 Share on other sites More sharing options...
LasVegas Posted June 27, 2006 Share Posted June 27, 2006 Note that restore doesn't work properly when booted from the install DVD. If you backup your Mac partition to an image on another drive, boot the DVD and proceed to Partition your boot drive. Be sure to then Erase the partition to force the drive into GUID format. Now you will have to exit Disk Utility and enter Terminal to restore the drive. From terminal enter: > asr -source <compressedImage> -target <targetvol> -erase To make this a little easier to understand, let's say you backed up to the drive "External" and named the image "Backup". Then when you erased the drive, you didn't bother naming it (you don't have to) so it's named "Untitled 1". Then you would enter the following into Terminal: > asr -source "/dev/External/Backup.dmg" -restore "/dev/Untitled 1" -erase The result will be a single partition with your Mac OS fully restored. LasVegas Link to comment https://www.insanelymac.com/forum/topic/20451-removing-vista-returning-to-xp/#findComment-136168 Share on other sites More sharing options...
hatoncat Posted June 28, 2006 Share Posted June 28, 2006 It's a whole lot easier to do it in Disk Utility. Just click over to the Partition tab on the designated drive, partition it, then click the Restore tab and drag-n-drop the image (and mount it for good measure). It's also a bit more reliable too since Disk Utility will use perfect-proper syntax for ASR. Link to comment https://www.insanelymac.com/forum/topic/20451-removing-vista-returning-to-xp/#findComment-136185 Share on other sites More sharing options...
LasVegas Posted June 28, 2006 Share Posted June 28, 2006 As I pointed out. There is a bug on the Intel Install CD that does not allow dragging the disk icon to the restore destination field. It's necessary to us ASR instead. Link to comment https://www.insanelymac.com/forum/topic/20451-removing-vista-returning-to-xp/#findComment-136570 Share on other sites More sharing options...
daytonatrbo Posted November 20, 2007 Share Posted November 20, 2007 Sorry to dig up this thread but im having a somewhat similar issue. Ive installed osx86 on a sata HDD (by using a USB adapter) I used disk utility to format it. When i booted up i got a kernel panic about the CPUPWRmanagment, so i went back and installed that patch. Now im getting disk0s1 I/O error. If i "-v -s" the boot up, fdisk will discover my drives and partitions, but if i try to flag one of them, i get "fdisk could not open MBR file..." and if i try to wr the changes, it gives back a disk0s1 i/o error. When i formatted the drive with disk utility, i used a MSDOS partition table with mac os extended journaled partitions. I had previously tried it with GUID partition table, and UFS (iirc...the "darwin" intel boot format), but when i used that format and table, my mobo wouldnt even recognize the drive. This is why i switched back to msdos/journaled any help would be a appreciated on these these topics EDIT it would probably help to mention, im trynig to run uphuck 1.3 i have intel duo 6550 (2.33) nForce 680i SLI (plague, i know) im not running video drivers at all (since i have 8600gt) seagate 250g sata drive Link to comment https://www.insanelymac.com/forum/topic/20451-removing-vista-returning-to-xp/#findComment-511985 Share on other sites More sharing options...
Recommended Posts