Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
mobious99

system reserved partition drive letter

Recommended Posts

mobious99    0

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.

diskpart

sel disk 0

sel vol 1

attributes vol set nodefaultdriveletter

Share this post


Link to post
Share on other sites

Tripredacus    286

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?

Share this post


Link to post
Share on other sites
mobious99    0

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 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.

Share this post


Link to post
Share on other sites
Tripredacus    286

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.

Share this post


Link to post
Share on other sites
mobious99    0

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.

Share this post


Link to post
Share on other sites
mobious99    0

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.

Share this post


Link to post
Share on other sites
Tripredacus    286

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.

Share this post


Link to post
Share on other sites
JFX    67

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.

cheers.gif

Share this post


Link to post
Share on other sites
mobious99    0

I'm going to add this to my startup script

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.

Share this post


Link to post
Share on other sites
Tripredacus    286

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×