Jump to content
InsanelyMac Forum
  • Announcements

    • Allan

      Solution to create a topic or post.   04/24/2018

      Hello guys. The majority of you are having issues to create a topic or post here. This are a problem with our current theme InsanelyMac.  Now the theme will be the Default IPS. Sorry for any inconvenience.
Sign in to follow this  
enb14

Help me to "bless" my non booting partition

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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



×