Terminal - Bless - Cannot get the "-nextb…
Imported from the Apple Support Forums via the Wayback Machine 🔗
My computer: MacBook Air with Windows XP SP3 installed on a NTFS Bootcamp partition, and I'm currently under Mac OS X 10.5.4
Hi all!
I searched all around the Internet to find a quick way to reboot my computer from Mac OS X to Windows XP with the lowest user interaction possible, and I came up with the following Terminal script (for instance):
*bless -mount "/Volumes/Windows HD" -legacy -setBoot -nextonly*
*shutdown -r now*
This actually works with no error output, but the thing is that my computer (MacBook Air, 10.5.4) reboots in Mac OS X each time intead of booting in Windows XP.
So I tried the following:
*bless -mount "/Volumes/Windows HD" -legacy -setBoot*
*shutdown -r now*
This worked perfectly, the system rebooted in Windows, but the problem is that Windows becomes the default system, which is wrong for me.
Since I use a NTFS partition for XP, I also tried the following:
*bless -device /dev/disk0s3 -legacy -setBoot -nextonly*
*shutdown -r now*
I had the same results with this script, the computer does not restart in Windows as intended. So here is my question:
Is there a way to make the "-nextonly" swith work properly on my computer? Is this issue OS-specific or a hardware specific problem? I'd like some other people with a MacBook Air AND Windows XP (NTFS) to test this, so we could see if this only occurs to me and try to find a proper workaround for this problem (I don't want to use either the preference pane nor the command key at startup).
Note: In Script Editor, I also used the "with admistrator privileges" option that come along with "do shell script", and I repaired permission with Disk Utility without any apparent results.
For those who are using similar scripts to those above, did you experienced problems in the newest Leopard version?
Thanks a lot for your help!
Kind regards,
Yannick
3 replies
Sign in or join Beachball Help to reply.
- 0
- 0
- 0