• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: bless command and target mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bless command and target mode


  • Subject: Re: bless command and target mode
  • From: Stéphane Thiell <email@hidden>
  • Date: Mon, 6 Jun 2005 12:12:09 +0200

I've found the problem. :) An OS 9 "System Folder" was on the source volume and was blessed automatically by my "script" _after_ the OS X's bless (cf. my bless command). Blessing an OS 9 system folder seems to cancel the OS X bless and thus result in a non-bootable volume.

All bless command returns 0, no error. Thanks for the '--' tip, I'll change it as needed.

Stéphane

On 1 juin 05, at 21:07, Kevin Van Vechten wrote:

Can you provide more details?  What system version is on the G5?

At least on Tiger, the documented options to bless have two -- instead of a single -, are you sure the bless command is even succeeding? Try adding --verbose to the command and inspect the output for further clues...

- Kevin

On Jun 1, 2005, at 1:49 AM, Stéphane Thiell wrote:



On 31 mai 05, at 19:37, Kevin Van Vechten wrote:



The --setBoot argument (which used to be called --setOF) does not change the on-disk representation at all, but instead changes the boot-device open firmware variable (`nvram boot-device`). It's not possible (as far as I know) to modify an open firmware variable on a machine that is in target disk mode.



OK thanks for the info.



Thus, I don't think your problem has any relation to the bootx.bootinfo file, but instead is due to the open firmware variable not being set on the PowerBook (until you set it via the option key and clicking the icon at boot).



The thing is, the disk doesn't even appear when I boot the PowerBook with the option key. I need to select it on the startup disk preferences pane to make it work (so another boot volume is needed on the PowerBook).


I use the bless command from the G5 like this:

bless -folder "%s/System/Library/CoreServices" -bootinfo "/usr/ standalone/ppc/bootx.bootinfo" -label "%@"

%s being the mount point of the PowerBook in target mode.

Thanks,
Stéphane Thiell






_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: bless command and target mode (From: Stéphane Thiell <email@hidden>)
 >Re: bless command and target mode (From: Kevin Van Vechten <email@hidden>)

  • Prev by Date: Re: Compilation of kext.
  • Next by Date: Re: setjmp/longjmp changed in Tiger
  • Previous by thread: Re: bless command and target mode
  • Next by thread: pdisk vs pdisk.8
  • Index(es):
    • Date
    • Thread