mobious99 Posted July 26, 2012 Share Posted July 26, 2012 has anyone found a way to get the system reserved partition to create w/o assigning a drive letter to it?I'm trying to get the install so that it looks like a standard windows install and cannot for the life of me figure this out.I've even tried this on the volume - in the pre and post configuration.diskpartsel disk 0sel vol 1attributes vol set nodefaultdriveletter Link to comment Share on other sites More sharing options...
Tripredacus Posted July 27, 2012 Share Posted July 27, 2012 How are you installing? Are you using an answer file? Link to comment Share on other sites More sharing options...
mobious99 Posted July 31, 2012 Author Share Posted July 31, 2012 I'm using an answer file, and then capturing the image with gimagex.I've only been capturing the windows partition. Link to comment Share on other sites More sharing options...
Tripredacus Posted July 31, 2012 Share Posted July 31, 2012 Ok, so you have an image now and need to deploy it, is that where you are getting this problem? Are you using Gimagex or Setup to deploy your image? Link to comment Share on other sites More sharing options...
mobious99 Posted July 31, 2012 Author Share Posted July 31, 2012 I'm using imagex to do the deploy.here's how I'm doing it- boot into winpe- map drive- run diskpart script - standard script from microsoftselect disk 0cleancreate partition primary size=300select partition 1format fs=ntfs label="System Reserved"assign letter=Sactivecreate partition primary size=102400select partition 2format fs=ntfs label="Windows" quickassign letter=Wactiveexit- Then apply the wim file to the windows partitionimagex /apply f:\2008r2\2008r2ent.wim 1 w:\- Then run these commands to make the device bootablebcdboot w:\windows /s w:bootsect /nt60 w:after that re-boot and off I go. Link to comment Share on other sites More sharing options...
Tripredacus Posted July 31, 2012 Share Posted July 31, 2012 Don't assign the System Reserved a drive letter at all with your diskpart script. And you can't set 2 partitions to be active, so remove the active on the "W" volume. Link to comment Share on other sites More sharing options...
mobious99 Posted July 31, 2012 Author Share Posted July 31, 2012 I took out the drive letter for the system reserved and it's still assigning one on bootup.it's just strange that diskpart script is right from microsoft.the w: drive changes to c: on bootup. Link to comment Share on other sites More sharing options...
Tripredacus Posted July 31, 2012 Share Posted July 31, 2012 Is your image generalized? Link to comment Share on other sites More sharing options...
mobious99 Posted August 1, 2012 Author Share Posted August 1, 2012 yes the image is.I only capture the windows partition not the system reserved partition, I'm thinking about doing that next and then recreating the boot files.I've also tried not assigning a drive through diskpart and the drive is still getting created. Link to comment Share on other sites More sharing options...
JFX Posted August 1, 2012 Share Posted August 1, 2012 change your line:create partition primary size=300to:create partition msr size=300 Link to comment Share on other sites More sharing options...
Tripredacus Posted August 1, 2012 Share Posted August 1, 2012 The MSR setting is only used in a GPT type format. The user's posted diskpart script does not mention switching to GPT mode. I'm fairly certain that Diskpart is smart enough to throw an error if you try to make an MSR partition on an MBR disk. Link to comment Share on other sites More sharing options...
JFX Posted August 1, 2012 Share Posted August 1, 2012 The MSR setting is only used in a GPT type format. The user's posted diskpart script does not mention switching to GPT mode. I'm fairly certain that Diskpart is smart enough to throw an error if you try to make an MSR partition on an MBR disk.You right this is only for GPT and don't work with MBR.So i guess while the Windows Setup create the system reserved it also set a new registry setting for the new Windows installation, that prevents a drive letter. Link to comment Share on other sites More sharing options...
mobious99 Posted August 1, 2012 Author Share Posted August 1, 2012 I actually tried something today- imaged a 2008r2 device- removed the drive letter- rebooted - boots no problem.no idea why this is adding a drive letter. Link to comment Share on other sites More sharing options...
mobious99 Posted August 2, 2012 Author Share Posted August 2, 2012 I'm going to add this to my startup scriptrem remove system reserved drive letterdiskpart /s removehiddent.txtremovehidden.txt has the following lines in it..SEL VOL 0REMOVE LETTER=DWhere d: is the drive that always gets assigned to the system reserved partition.It's got to be something sysprep / winpe is doing because when I boot off my winpe cd I see two drive letters. Link to comment Share on other sites More sharing options...
Tripredacus Posted August 2, 2012 Share Posted August 2, 2012 It's got to be something sysprep / winpe is doing because when I boot off my winpe cd I see two drive letters.That is normal to see the System Reserved get a drive letter in WinPE when booting on a system with an existing OS. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now