system reserved partition drive letter diskpart is adding a drive letter for the system reserved partition
#1
Posted 26 July 2012 - 12:52 PM
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.
diskpart
sel disk 0
sel vol 1
attributes vol set nodefaultdriveletter
#3
Posted 31 July 2012 - 06:01 AM
I've only been capturing the windows partition.
#4
Posted 31 July 2012 - 07:52 AM
#5
Posted 31 July 2012 - 08:26 AM
here's how I'm doing it
- boot into winpe
- map drive
- run diskpart script - standard script from microsoft
select disk 0
clean
create partition primary size=300
select partition 1
format fs=ntfs label="System Reserved"
assign letter=S
active
create partition primary size=102400
select partition 2
format fs=ntfs label="Windows" quick
assign letter=W
active
exit
- Then apply the wim file to the windows partition
imagex /apply f:\2008r2\2008r2ent.wim 1 w:\
- Then run these commands to make the device bootable
bcdboot w:\windows /s w:
bootsect /nt60 w:
after that re-boot and off I go.
#6
Posted 31 July 2012 - 01:47 PM
And you can't set 2 partitions to be active, so remove the active on the "W" volume.
#7
Posted 31 July 2012 - 04:54 PM
it's just strange that diskpart script is right from microsoft.
the w: drive changes to c: on bootup.
#9
Posted 01 August 2012 - 05:27 AM
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.
#10
Posted 01 August 2012 - 07:35 AM
Quote
to:
Quote
#11
Posted 01 August 2012 - 09:44 AM
#12
Posted 01 August 2012 - 10:52 AM
Tripredacus, on 01 August 2012 - 09:44 AM, said:
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.
#13
Posted 01 August 2012 - 04:59 PM
- imaged a 2008r2 device
- removed the drive letter
- rebooted
- boots no problem.
no idea why this is adding a drive letter.
#14
Posted 02 August 2012 - 07:11 AM
rem remove system reserved drive letter
diskpart /s removehiddent.txt
removehidden.txt has the following lines in it..
SEL VOL 0
REMOVE LETTER=D
Where 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.
#15
Posted 02 August 2012 - 08:16 AM
- ← 3rd party drivers
- Unattended Windows 7/Server 2008R2
- Issue with Windows 2008 R2 Unattended installation for Japanese Langua →



Help
Back to top










