[Casper] Dual-boot deployments

Weber, Jason Jason.Weber at district196.org
Thu Mar 26 12:57:08 PDT 2009


As Dusty has mentioned below, I have been working with the dual boot deployment for the past few weeks and thanks to the JAMF resource kit, as well as Mr. Larkins help I have been able to successfully deploy some test images. I haven’t used this in large scale yet, but as far as testing a couple machines out things seem to be coming together..

 

However, there are a few issues I would like to point out from my own experience.. So if anyone has any ideas or suggestions to streamline this, please let me know..

 

The first thing that I have noticed in talking to people and looking through others scripts is that it appears most people are still deploying Windows XP. While running the unix script to split partitions and lay the image down, I believe the script is only splitting the partition into a FAT32 partition. (Correct me if I’m wrong..). In digging through the script, I do not see anything that references a convert process from FAT32 to NTFS.

 

But since we are trying to dual deploy Windows Vista, the Windows partition must be NTFS. The only way I have been able to do this is to run the Windows disk, and format the partition from FAT32 to NTFS.

 

The other issue I have not been able to resolve is the issue with updating the MBR. With XP you can update the MBR file by pulling info from the dmadmin.exe file. All the scripts I have seen utilize this.. But again, Vista is different. Vista uses the BCD, instead of the boot.ini file that was used in previous versions of Windows.. As far as I can tell, it’s not as easy (or possible?) to update the BCD file other than from within Vista..

 

The main problem with that is you seem to lose the ability to change your Windows partition size at deployment.  If I create the image on a 30.0GB partition, it must be deployed to a 30.0GB partition. If I do this, the image will work. If you partition the Windows drive at any other size than the original, it will error out upon boot.  Basically I cut the parts referencing the MBR and boot.ini file creation out of my script. (also eliminates the need for the gptrefresh.c file)

 

At this point, it is fairly well automated other than the ability to format the drive. From there it all depends on its usage.. If you will be using a simple Windows image not bound to AD, things will be fairly easy (since you can eliminate the need for Sysprep). In our environment we will need to bind or join our AD environment, therefore I will need to run sysprep so each machine gets a unique ID. This creates more work yet for me as Vista will have to run through a bit of automated setup during its first boot. Then we will need to manually rename each machine and join it to AD.

 

Basically my workflow looks something like this..

1.)    Split single Mac partition into 2.  (1-Mac Journaled HFS+ partition, and 1 MS-DOS FAT32 partition) – (Automated script from within Casper)

2.)    Run Vista Boot disk to convert the FAT32 partition to an NTFS partition. (Manual)

3.)    Run my Casper config to lay down the Mac setup, then upon reboot start to load my Vista image. (Automated with Casper)

4.)    After imaging I then boot into Vista, which will run it’s setup (requiring a couple more reboots..)  - (Manual)

5.)    Once setup is complete I rename the computer. - (Manual)

6.)    Join to AD - (Manual)

 

Not the ideal situation for mass deployment.. But it will work for the few machines we plan to do at the moment..

 

If anyone has any pointer on how to streamline this more, please let me know! I’m sure once a few dual-booted machines are out, the demand will go up. 

 

Jason

 

From: casper-bounces at list.jamfsoftware.com [mailto:casper-bounces at list.jamfsoftware.com] On Behalf Of Criss Myers
Sent: Wednesday, March 25, 2009 1:47 PM
To: Dorey, Dustin
Cc: Casper List
Subject: Re: [Casper] Dual-boot deployments

 


I sent jeff my scripts and article so he should be able to get going 

 

Dustin can u give mr ur coworkers email , I'd be interested on talking to him about issues I came across

 

Cheers

Criss 
On 25 Mar 2009, at 18:07, "Dorey, Dustin" <Dustin.Dorey at district196.org> wrote:

	Casper is able to deploy dual boot environments as well, my coworker here has been working on it and is currently out otherwise I’m sure he’d respond.   And it doesn’t matter what imaging solution you use whether it’s Casper imaging or Deploy studio, certain things are going to be the same.   You need to boot to something other than the drive your imaging so either way you’re netbooting or using a restore partition.   You need to partition the drive, you need to format the partitions correctly (NTFS for the windows side I believe you use NTFSprog ) and lay down the images (configsJAMF has put together in the resource kit much of what you’ll need to do dual boot deployments, and Thomas Larkin also has some resources on his website, and knowing Thomas I’m sure he will respond to this. J

	                One thing we’ve encountered is that it’s not too difficult to lay down a monolithic windows image in a dual boot deployment.   But when you add in needing to do things like binding to AD etc… where UID is concerned it makes things a little bit more difficult.  Then you really have to start messing with Sys Prep and stuff.   Again my co-worker has been doing the work on developing that here so I don’t have the intimate knowledge he has, but I do know that there are several people on this list serv that have done it and do regularly deploy dual boot with Casper, so I’d check the archives.

	   There has been lots of talk about deploy studio lately, and from everything I’ve seen it makes no sense to me to use it in a Casper environment.  It has far less to offer and Casper can do anything it can do.    With all the talk about deploy studio lately I asked a couple Apple Systems Engineers about it, and both of the Apple SE’s I asked about it in comparison to Casper Suite said not to bother with it if you have Casper available.   It’s a step down.    And you won’t have the great support that JAMF provides.    It does make for a nice presentation and all since it is pretty, but in practice no matter what system you use to do the imaging you’re going to run into the same pitfalls that need to be overcome.

	                Definitely check through the archives on this, check out the resource kit and I know Thomas has some good info, maybe my co-worker Jason will weigh in if he has time as he can speak with more authority on the matter, but I’m not sure when that might be.  From our conversations about how his testing and development of the process for our needs here I know he said that having to Bind to AD increased the amount of setup.  But I can’t say why since I’ve been keeping my nose out of it while he worked on it.

	 

	Good luck.

	 

	Dustin  Dorey

	Technology Support Cluster Specialist

	Independant School District 196

	Rosemount-Apple Valley-Eagan Public Schools

	dustin.dorey at district196.org

	651|423|7971

	 

	 

	 

	From: casper-bounces at list.jamfsoftware.com [mailto:casper-bounces at list.jamfsoftware.com] On Behalf Of Clinton Blackmore
	Sent: Wednesday, March 25, 2009 12:08 PM
	To: Jeff Strauss
	Cc: Casper List
	Subject: Re: [Casper] Dual-boot deployments

	 

	My coworker recently returned from a week of training, and in a lab, they used DeployStudio ( http://www.deploystudio.com/Home.html ) to create triple-boot machines!  I gather that DeployStudio is the spiritual successor to NetRestore, but haven't used it myself.

	 

	I'm not sure how you'd use it in conjunction with Casper Imaging.

	 

	Clinton Blackmore

	 

	 

	On 23-Mar-09, at 12:07 PM, Jeff Strauss wrote:

	
	
	
	

	Are there any strategies you all use to deploy dual-boot machines? I’d like to create a Boot Camp partition with Windows SP3 and all of our software to be created during Casper Imaging. 
	
	Thanks for your continued help, everyone!
	
	Jeffrey A. Strauss
	Department of Educational Technology
	Systems Administrator
	Loyola High School of Los Angeles
	1901 Venice Blvd.
	Los Angeles, Ca 90006
	(213) 381-5121 x265
	
	 Apple Certified Support Professional
	 Apple Certified Technical Coordinator
	 
	Please consider the environment before printing this e-mail.

	_______________________________________________
	Casper mailing list
	Casper at list.jamfsoftware.com
	http://list.jamfsoftware.com/mailman/listinfo/casper

	 

	_______________________________________________
	Casper mailing list
	Casper at list.jamfsoftware.com
	http://list.jamfsoftware.com/mailman/listinfo/casper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090326/542cc65c/attachment.html 


More information about the Casper mailing list