Jump to content

[How to] Setting Your Partition "Active" Using Fdisk in MacOSX


161 posts in this topic

Recommended Posts

reboot with the installation dvd inside.

 

should boot into leopard

if not press f8 and type

cpus=1

should now boot! :angel:

 

i got it to boot using this method now what should i should i do to fix the booting problem so i dont have to boot this way all the time

Link to comment
Share on other sites

  • 2 weeks later...
i got it to boot using this method now what should i should i do to fix the booting problem so i dont have to boot this way all the time
hey mate,the 1st page will solve your problems.  I had the same pro too and it worked like a charm for me.  Replies on this forum is hard to come by and I do my best to help others who have helped me

 

 

 

when I go into terminal and type diskutil list it comes up saying bus error?
hey mate,That is one prob I have not encountered before.  Strange.  All I can suggest is try a reformat and reinstall and take it from there?
Link to comment
Share on other sites

  • 3 weeks later...
Or for the people that don't like to wait for the MacOSX disc to boot. You can just use a Win98 Boot Disk. Run FDISK and set partition active. Just My :thumbsup_anim:.

 

This is by far the easiest to set it active for those first timer and familiar with it. :)

Link to comment
Share on other sites

  • 4 weeks later...
OK I blooody well got IT!!

 

 

1) During install, the installer seems to timeout. you have to keep moving the mouse every couple of minutes (weird I know - read it in another part of the forums). If I don't do this, the installer will lock up. It may be due to the SATA settings on my MB, but I dunno.

If you watch the logs, you can actually see the script that sets the partition to active exactly as described in this post (at the top). My install I think would timeout and never get that far, but I never noticed cause I was'nt watching.

In short - Keep moving the mouse every couple of minutes during the install.

 

 

This worked!

After several attempts at different techniques this worked!

I can't believe it was that simple.

Thank you.

Link to comment
Share on other sites

  • 2 weeks later...
There are a lot of people who experience a b0 error on their first boot up after installation. Or the bootloader immediately takes them back to the Windows installation (on dual boot).

 

These people probably forgot to set the MacOSX partition "Active"

 

A common mantra provided here to newbies for setting up for installation is:

  • Make the partition Primary
  • Make the partition ID=AF (signifies an HFS partition)
  • Make the partition Active

There is a built-in Unix utility in MacOSX that can be used to set your partition "Active". It is called Fdisk

 

 

Setting Your Partition "Active" Using Fdisk

 

Words in bold below are things you must type (followed by Enter).

 

1. Boot your Mac OS X install dvd

2. Once the installer is running, go to the Utilities menu and open Terminal

 

3. Determine which disk your MacOSX partition is on

Type
diskutil list

 

Verify which disk number holds your partition (disk
0
, disk
1
, etc.)

 

4. Start using Fdisk

Assuming the MacOSX disk is the first disk ("disk0"), then

type
fdisk -e /dev/rdisk0
<== use "rdisk" with your disk number here !!

 

Ignore the error "fdisk: could not open MBR file ..."

 

5. Determine which partition for MacOSX needs to be set "Active"

Type
p

 

Verify which partition is for MacOSX (1, 2, 3, etc.)

 

6. Set the partition "Active"

Assuming it is partition 1, then

type
f 1
<== use your partition number here !!

 

7. Save and exit

Type
write

 

Type
y
(yes you are sure)

 

Type
exit
(to quit)

 

8. Remove the install DVD and reboot

 

 

Hi,

Can you Rammjet help me? Thats my problem : after installing the MAC OS X it says it can't be installed. Then i restart my pc and it says b0 error. After this i have take the CD from Windows to install it back (Bicose i don't wont the MAC OS X anymore, i wont my Windows Vista). After installing Windows Vista i reboot the pc and it's says b0 error. Then i put the cd in from MAC OS X and i have found somewhere during the installation to look wath is inside the hard disk. And all the files from Windows are on partition C:// and partition D:// is clear (On partition D:// i have installed MAC OS X). Now when i reboot my pc i thinked that when the Mac OS X is deleted i sould turn Windows on, buth the b0 error is coming always. I doing that : 1.Boot from CD with Mac OS X. 2.I click on Utilities Menu and then on Terminal. 3.Than i whrite like this : 1.diskutil list

2.disk0 (after typing disk0 there comes an info : command not found)

3.fdisk -e /dev/rdisk0 (after typing this there comes an info : Enter 'help' for information)

4.p

5.f... (wath sould be here for Windows? First is = 1. Unknow ID

Second is = 2. HPFS/QNX/AUX

Next is = 3. Win95 FAT-32

And the last is = 4. Compaq Diag. (i don't have an Compaq, i have an Acer)

)(i think it sould be 3, buth maybe it isn't 3, can you help me?)

6.write (then this comming out: Device could not be accessed exclusively)

7.y (then comes this out : Writhing MBR at offset 0)

8.exit

 

Can you help me please? Thank You very much!!! Please!!! Always when i restart the pc the b0 error comes out. Help me pleaseee!!! :)

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
There are a lot of people who experience a b0 error on their first boot up after installation. Or the bootloader immediately takes them back to the Windows installation (on dual boot).

 

These people probably forgot to set the MacOSX partition "Active"

 

A common mantra provided here to newbies for setting up for installation is:

  • Make the partition Primary
  • Make the partition ID=AF (signifies an HFS partition)
  • Make the partition Active

There is a built-in Unix utility in MacOSX that can be used to set your partition "Active". It is called Fdisk

Setting Your Partition "Active" Using Fdisk

 

Words in bold below are things you must type (followed by Enter).

 

1. Boot your Mac OS X install dvd

2. Once the installer is running, go to the Utilities menu and open Terminal

 

3. Determine which disk your MacOSX partition is on

Type
diskutil list

 

Verify which disk number holds your partition (disk
0
, disk
1
, etc.)

 

4. Start using Fdisk

Assuming the MacOSX disk is the first disk ("disk0"), then

type
fdisk -e /dev/rdisk0
<== use "rdisk" with your disk number here !!

 

Ignore the error "fdisk: could not open MBR file ..."

 

5. Determine which partition for MacOSX needs to be set "Active"

Type
p

 

Verify which partition is for MacOSX (1, 2, 3, etc.)

 

6. Set the partition "Active"

Assuming it is partition 1, then

type
f 1
<== use your partition number here !!

 

7. Save and exit

Type
write

 

Type
y
(yes you are sure)

 

Type
exit
(to quit)

 

8. Remove the install DVD and reboot

 

could you explain it again but in noob form?

(I'm really just and expert with XP and Vista. all I want to do is switch to make because I think its better for my purposes. so could you please explain it to me simpler in a P.M.)

Link to comment
Share on other sites

A GUI way to do this would be to get Acronis Disk Director Suite and make a recovery disk with it. In that you just go to the first option (the one that says (recommended) and then go into manual mode and right click the partition you want to be active, go to advanced and click "set as active"

Link to comment
Share on other sites

I tried installing as dual boot with vista on 1st partition, installation went smooth but now I get the b0 error .... Partition n disk that have my mac is rdisk3s5 according to terminal I set it active and restart still b0 error ... I do not get it .. what am I doing wrong ? btw I tried many partition managers all tell me that partition is set to active ... but still I cannot log on either to vista nor to MAc ... Plz help I need it asap like in 30 mins or so ...

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

ok mm i need some help i do what it says but when i reboot a screen comes up and it says

¨Darwin/x86

256 MB (nVidia) and somethings more¨

but it also says

¨Press any key to start from start up option¨

and if i dont press anything it just reboots

i need help pls

im using JaS OS x86 10.5.4

on a HP Pavilion m7160n:

 

Motherboard Asus P5LP-LE Limestone-GL8E

Chipset Intel 945G

Pentium D 2.8 GHz

250 GB SATA

2 GB RAM

NVIDIA GeForce 7600GS

 

HELP ME PLEASE!!!!

 

 

Thank you for your time.

Link to comment
Share on other sites

  • 1 month later...

hello guys, i've been trying to install mac on my pc since ages, anyway i am now trying to do it using iatkos 5i (10.5.5) i've had this boot0 mbr boot0 done error and it just stucks there with a blinking cursor, i have 3 partitions win xp on the first, osx on the second and data on the 3rd, when i flag the 1st partition as active win xp boots normally, when i flag the 2nd i get the boot0 mbr error. i ve read this thread a 100 time i've googled 100s of pages with the same {censored} results.

kindly can anyone help me with the situation???????

Link to comment
Share on other sites

  • 2 weeks later...
Same problem...

 

boot:0 MBR

boot:0 done

 

Thank you for futur help!

Keven

 

Yeah same with me.

 

This is my disk:

 

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *931.5 Gi disk0

1: Apple_HFS Macintosh HD 185.1 Gi disk0s1

2: Windows_NTFS 120.0 Gi disk0s2

3: Apple_HFS Downloads 625.6 Gi disk0s3

4: DOS_FAT_32 EFI 249.7 Mi disk0s5

 

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: AF 0 1 1 - 1023 254 63 [ 63 - 388235264] HFS+

2: 07 1023 254 63 - 1023 254 63 [ 388235358 - 251658240] HPFS/QNX/AUX

3: AF 1023 254 63 - 1023 254 63 [ 639893646 - 1312051696] HFS+

*4: 05 1023 254 63 - 1023 254 63 [1951945342 - 511913] Extended DOS

 

 

But Im still just getting:

 

boot0: MBR

boot0: done

 

Any ideas? Thanks in advance :).

Link to comment
Share on other sites

Just an FYI to all the people saying to use a gparted linux boot disk. The problem is that most of those distros are based off of Knoppix, which as of this writing doesn't support SATA. If you're running a jmicron mobo, chances are you're also running SATA drives, which means gparted isn't going to work for those people. The installer disk is the best option.

 

emotional friend

Link to comment
Share on other sites

The partition IS set as MBR too. All I've done is CCC the drive to a new one, and it's not working.

 

 

Hey did you ever figure this one out? I just restored an entire disk from time machine and I'm having the same problerm. Sounded similar to your CCC situation. Partition IS active etc. etc.

Link to comment
Share on other sites

  • 2 weeks later...
Setting Your Partition "Active" Using Fdisk

 

Words in bold below are things you must type (followed by Enter).

 

1. Boot your Mac OS X install dvd

2. Once the installer is running, go to the Utilities menu and open Terminal

 

3. Determine which disk your MacOSX partition is on

Type
diskutil list

 

Verify which disk number holds your partition (disk
0
, disk
1
, etc.)

 

4. Start using Fdisk

Assuming the MacOSX disk is the first disk ("disk0"), then

type
fdisk -e /dev/rdisk0
<== use "rdisk" with your disk number here !!

 

Ignore the error "fdisk: could not open MBR file ..."

 

5. Determine which partition for MacOSX needs to be set "Active"

Type
p

 

Verify which partition is for MacOSX (1, 2, 3, etc.)

 

6. Set the partition "Active"

Assuming it is partition 1, then

type
f 1
<== use your partition number here !!

 

7. Save and exit

Type
write

 

Type
y
(yes you are sure)

 

Type
exit
(to quit)

 

 

 

 

Is it possible for someone to make this a script so all i have to to is click-n-run, i mean beyonfd the obvious I change the diskname to match mines..

Link to comment
Share on other sites

  • 1 month later...
 Share

×
×
  • Create New...