InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 05-20-2010, 04:23 PM
flackend's Avatar
flackend flackend is offline
Cheetah
 
Join Date: Sep 2009
Location: Ohio
Posts: 4
MBR disk dual boot messed up, SL and Vista

Hi,

I've had Snow Leopard and Vista dual booting for awhile, but I messed it up yesterday. I went to edit Vista's BCD with the BCDEdit command-line tool, but I got an error. Google said I needed to to set my Windows partition as active so I used the Windows Disk Management tool. But when I restarted the computer PC EFI didn't load. So I used the Windows Disk Management tool to set my SL partition as active...hence my problem.

Now PC EFI loads in GUI mode (before it loaded in non-GUI) with two options: Windows and Windows NTFS. The first loads Vista and the second (presumably SL) loads a black screen with a blinking cursor.

If I use the Windows Disk Management tool to set the Windows partition as active, it goes straight to windows. I booted into the SL install disk and used fdisk to set the SL partition as active. But I get the PC EFI same as described before.

I also tried to 'Repair Disk' from the Disk Utility on the installation disk and I get an error saying it failed the file system validation (because it thinks it's NTFS but it's actually HFS+).

The disk is MBR.

Is there a way for me to fix my problem? A tool to repair the partition or partition map?

I have an extra partition if it would help to have another installation of OS X to work from.

I also posted this question at insanelymac.

Dell Inspiron 1525  OS X
Mobile Intel® GM965 Express Chipset
Mobile Intel® Graphics Media Accelerator X3100
Dell Wireless 1390 WLAN MiniCard (BCM4312)
2.0GHz Core 2 Duo T7250 processor
3 GB 667 MHz DDR2 SDRAM
Reply With Quote
  #2  
Old 05-20-2010, 11:38 PM
srs5694 srs5694 is offline
Puma
 
Join Date: Jan 2010
Location: Woonsocket, RI
Posts: 29
I'd try re-installing your boot loader, or installing another one (Chameleon, Boot Think, or maybe even GRUB 2).
Reply With Quote
  #3  
Old 05-21-2010, 02:35 AM
flackend's Avatar
flackend flackend is offline
Cheetah
 
Join Date: Sep 2009
Location: Ohio
Posts: 4
Fixed!

fdisk manual page

Boot to OS X installation disk.
Boot to OS X installation disk.
Open Terminal.
Code:
# fdisk -e /dev/rdisk0
-e Edit MBR interactively.
rdisk0 0 is the disk number. If you only have one hard drive 0 is most likely the correct number.
Code:
# print
Prints the disk partition map.
Note the number (#) of the partition to be changed.
Code:
# setpid 1
1 The partition number.
Code:
# AF
AF The ID for HFS+.
Code:
# write
Code:
# exit
Reboot.



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


Dell Inspiron 1525  OS X
Mobile Intel® GM965 Express Chipset
Mobile Intel® Graphics Media Accelerator X3100
Dell Wireless 1390 WLAN MiniCard (BCM4312)
2.0GHz Core 2 Duo T7250 processor
3 GB 667 MHz DDR2 SDRAM

Last edited by flackend; 05-21-2010 at 08:01 PM.
Reply With Quote
Reply