Jump to content

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


  • Please log in to reply
160 replies to this topic

#101
Islander

Islander

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Male
  • Location:Washington, US
when I go into terminal and type diskutil list it comes up saying bus error?

#102
adrian21

adrian21

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 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

#103
knobi

knobi

    InsanelyMac Protégé

  • Members
  • PipPip
  • 85 posts
  • Gender:Male

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?

#104
Stjohn

Stjohn

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
  • Gender:Male
  • Location:Los Angeles, CA
Bump! Thanks for the tip!

#105
Euthenics

Euthenics

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts

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. :)

#106
MJMurillo

MJMurillo

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts

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.

#107
Yimi Den

Yimi Den

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts

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 (disk0, disk1, 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!!! :)

#108
Cradle

Cradle

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:%windir%\home\
Okay now, i did everything above, but when i boot, i get this message:

boot0: done

What's the problem, what shall i do ?

thanks in advance..

#109
Naruto Uzumaki

Naruto Uzumaki

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts

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 (disk0, disk1, 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.)

#110
unsplosion

unsplosion

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
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"

#111
TechXero

TechXero

    InsanelyMac Protégé

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Location:Beirut Lebanon
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 ...

#112
shiretu

shiretu

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
There is a lot of joy down here... :) Worked for me too ;)

#113
adan sc

adan sc

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:Monterrey, NL. Mexico
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.

#114
ImKharn

ImKharn

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
GREAT SUCCESS!!!!

thanks.

#115
khue

khue

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
Hi, i followed your steps but it didn't work and so how do i boot from windows again since i made a diffrent drive active.

#116
wael111

wael111

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
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???????

#117
Supercar1000

Supercar1000

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
Same problem...

boot:0 MBR
boot:0 done

Thank you for futur help!
Keven

#118
Opes

Opes

    InsanelyMac Protégé

  • Members
  • PipPip
  • 89 posts

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 :).

#119
megadeth_sp

megadeth_sp

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
man you are the GREAT !

thx a lot !

save the day !

#120
emotional friend

emotional friend

    InsanelyMac Protégé

  • Members
  • PipPip
  • 71 posts
  • Gender:Male
  • Location:Austin, TX
  • Interests:Bass and Saltwater kayak fishing
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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy