Tuesday, March 30, 2010

boot0: error

When ever one tries to install a multiboot OSX Window box, you are most likely to run into the boot0:error, or a b0 error. what this means is that the partition that you intend to boot into did not have the active flag set.  Most of these errors arise after you have installed 2 systems and it wouldn't boot into either or both.  This can be easily fixed by the following steps

1. Boot with mac OSX boot disc
2. Goto Utilities and enter Terminal
3. in the terminal type

  diskutil list


Make a note of which disk has the partitions(rdisk0, rdisk1, etc)

4. type

  fdisk -e /dev/rdisk0


you might see the MBR error, don't worry about it.

5. type

  p


and you should see all your partitions.  At this point you would want to figure out which partitions you want to boot into first.  If you have 2 partitions then flag the one you want to be primary last.

For example, you have 2 partitions, 1 and 2.Partition 2 holds windows 7 and 1 holds OSX Snow Leopard.  You want to boot into OSX boot loader to choose which parition to boot, in this case you want to flag the windows partition active first, then flag the OSX partition active,

6. so you would type

   f 2
  write
  y
  f 1
  write
  y
  exit


This would fix your problem, eject your CD and reboot.

6 comments:

Abhishek Varanasi said...

wooow!!! It work's Dude ....Thank you

trol said...

boot: done

but its saying that insert windows installation disk to repair ??

but i installed mac os x ??

whats tht ??? replay fast

thnx.... :)

C said...

You might also be getting a boot0 error if your hard drive's sector format is 4096-byte. In which case, you'll have to modify your Chameleon installation.

Rey El King said...

Hey Guys,

Well here is what I have done.

I had a spare partition so I installed ideneb 10.5.7 on a HP Pavilion DV4-2140US with windows 7 currently installed on another partition.

I had no problems installing ideneb, once installed and after rebooting no OS's would boot so I put in the windows 7 DVD and repaired my windows 7 system. I now can boot back into windows 7. I read somewhere to try easyBCD for dual booting for ideneb. I tried it and setup to boot into my ideneb(MAC OSX).

I restarted it and choose to boot into ideneb it start but once it gets to the grey screen with the dark grey apple logo it stayed like that with no hard drive activity and nothing happened so not sure what is wrong. If anyone can shed some light on this, that would be great....

Thanks

Rey El King (Facebook)

KIRAN said...
This comment has been removed by the author.
KIRAN said...

when i enter "p" in terminal, my mac partition is not listed in the partition table !!
Please help, thanks..


unknownf04da24fc92d:~ root# diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *320.1 GB disk0
1: 0xDE 41.1 MB disk0s1
2: Windows_NTFS RECOVERY 13.2 GB disk0s2
3: Windows_NTFS 52.6 GB disk0s3
4: Windows_NTFS Data 200.1 GB disk0s5
5: Apple_HFS Macintosh 54.2 GB disk0s6
unknownf04da24fc92d:~ root# fdisk -e /dev/rdisk0
Enter 'help' for information
fdisk: 1> p
Disk: /dev/rdisk0 geometry: 38913/255/63 [625142448 sectors]
Offset: 0 Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: DE 0 1 1 - 1023 254 63 [ 63 - 80262]
2: 07 1023 254 63 - 1023 254 63 [ 81920 - 25690112] HPFS/QNX/AUX
*3: 07 1023 254 63 - 1023 254 63 [ 25772032 - 102828032] HPFS/QNX/AUX
4: 05 1023 254 63 - 1023 254 63 [ 128600064 - 496535552] Extended DOS
fdisk: 1> ^C