Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Use a free utility to easily boot into Windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use a free utility to easily boot into Windows
Authored by: jaguarcy on Jul 19, '07 01:46:37PM
Ok, I finally got it to work using the applescript from the above link (thanks supamonke!)

However the provided applescript did not work for me as-is. I believe there must be something wrong with the handling of ntfs drives on my computer, so trying to bless a mounted ntfs volume would always fail. Plus, my drive is never mounted. I therefore modified the applescript into something more portable and, in my opinion, more accurate. Simply change the first line to match the volume label of your own Windows XP installation, and the second to match the disk partition:

set WinDisk to "Windows XP"
set WinDevice to "disk0s3"
tell application "Finder"
	if disk WinDisk exists then
		eject disk WinDisk
	end if
end tell
do shell script "bless -device /dev/" & WinDevice & " -legacy -setBoot -nextonly" with administrator privileges
do shell script "shutdown -r now" with administrator privileges



[ Reply to This | # ]