Jump to content

Help me to "bless" my non booting partition


enb14
 Share

2 posts in this topic

Recommended Posts

Hi I'm trying to bless my non booteable partition (HPFS+), first I have a booteable partition (disk0s1) and I would like to make booteable my partition (disk1s1), this second one has all the files of disk0s1 but I can't boot so I did this:

 

 

disk0s1 = /Volumes/Working

disk1s1 = /Volumes/NotWorking

 

 

Code:

 

sudo bless -folder /Volumes/NotWorking/System/Library/CoreServices \

-bootinfo /Volumes/NotWorking/usr/standalone/ppc/bootx.bootinfo

 

 

I've tryied also with:

/i386/boot

/i386/boot0

/i386/chain0

 

 

but it doesn't works on my OS X for intel, can somebody help me please

Link to comment
Share on other sites

Hi I'm trying to bless my non booteable partition (HPFS+), first I have a booteable partition (disk0s1) and I would like to make booteable my partition (disk1s1), this second one has all the files of disk0s1 but I can't boot so I did this:

disk0s1 = /Volumes/Working

disk1s1 = /Volumes/NotWorking

Code:

 

sudo bless -folder /Volumes/NotWorking/System/Library/CoreServices \

-bootinfo /Volumes/NotWorking/usr/standalone/ppc/bootx.bootinfo

I've tryied also with:

/i386/boot

/i386/boot0

/i386/chain0

but it doesn't works on my OS X for intel, can somebody help me please

 

Did you manage to solve this problem ? I'm really interested in a solution aswell.

Pretty sure you're not suppose to use the bootx tho, that's only used for ppc/openfirmware

 

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

Ok! I have a solution! :)

 

1) boot up in safemode from the cd

2) mount your 10.4.3 disk ( ie, the one without bootcode)

3) mount your other disk

4) copy /usr/standalone/i386 to your "other disk"

4.5) copy startupfiletool to your "other disk" (see below)

5) unmount 10.4.3 disk

6) dd if=path/to/i386/boot1h of=/dev/rdiskID_OF_YOUR_10_4_3_DISK bs=512 count=1

7) startupfiletool /dev/rdisk_ID_OF_yeahyouknowthisnow /path/to/i386/boot

8) bless -device /dev/disk_ID_OF_YOUR_(NOTE_WE_ARE_NOT_USING_RDISK!) -setBoot

 

eventually you'll need to bless the disk using -mount aswell, but that you can do from like inside macosx

(bless -mount /Volumes/YourNewPart -setBoot )

 

** startupfiletool

This excellent utility by the OpenDarwin people rocks. rocks rocks rocks.

You can find source by searching on the web. attached a compiled version.

 

 

Goodluck and don't hesitate to contact me on IRC if something arises.

and ohyeahy, I don't take any responsibility if you f***up your harddrive, this is pretty icky stuff :P

Link to comment
Share on other sites

 Share

×
×
  • Create New...