Manual partitioning during RIS installation


G

Guest

I have a working RIS service on a Windows Server 2003 R2 machine deploying
Windows XP Professional images. It all works fine except for this annoying
detail:

In CD-based RIS installations you can set up

[RemoteInstall]
Repartition = No
UseWholeDisk = No

to make sure that you are given the choice of partitioning and formatting
the hard drive MANUALLY during the text-based part of the installation; I am
trying to do the same with my RIPrep-created installation images.

I have tried several edits and looked for any documentation on RIS, but the
only thing I have found is
http://ist.uwaterloo.ca/~etbain/RIS_Notes.html#RISrepartition saying that the
[RemoteInstall] section does not work in RIPrep-created images.

Does anyone know a way of forcing RIS to allow a manual partitioning when
installing RIPrep-created images?

My current riprep.sif is (anonimized):

[data]
floppyless = "1"
msdosinitiated = "1"
OriSrc = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
OriTyp = "4"
LocalSourceOnCD = 1

[SetupData]
OsLoadOptions = "/noguiboot /fastdetect"
SetupSourceDevice
="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"
SysPrepDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%SYSPREPPATH%"
SysPrepDriversDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%SYSPREPDRIVERS%"

[Unattended]
DriverSigningPolicy=Ignore
OemPreinstall = no
FileSystem = LeaveAlone
ExtendOEMPartition = 0
TargetPath = \WINDOWS
OemSkipEula = yes
InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
LegacyNIC = 1
OemPnpDriversPath = Drivers\Nic

[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="Somewhere"
OrgName="Someother"
ComputerName ="%MACHINENAME%"

[GuiUnattended]
OemSkipWelcome = 1
OemSkipRegional = 1
TimeZone = %TIMEZONE%
AdminPassword = "*"

[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024
Vrefresh=60

[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
UserLocale_DefaultUser=00000809
InputLocale=0809:00000809
InputLocale_DefaultUser=0809:00000809

[Networking]

[NetServices]
MS_Server=params.MS_PSched

[Identification]
JoinDomain = %MACHINEDOMAIN%
DoOldStyleDomainJoin = Yes

[RemoteInstall]
Repartition = No
UseWholeDisk = No

[OSChooser]
Description ="Windows XP Professional + Service Pack 2"
Help ="Windows XP Professional + Service Pack 2 + Updates up to 08/03/2006"
LaunchFile ="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
ImageType =SYSPREP
Version="5.1 (2600)"
SysPrepSystemRoot="Mirror1\UserData\WINDOWS"
HalName=halmacpi.dll
ProductType=0

Thank you for your help.
 
Ad

Advertisements

G

Guest

Just an advice!
Instead of doing it manually!
Do it in an automatic way!

Launch through the "cmdlines.txt" a .cmd batch that will be using
"diskpart.exe" (that ships with WINXP) that enables you to create partitions,
assign volume labels, and so on via a command line...

Good luck!
J.

F. David del Campo Hill said:
I have a working RIS service on a Windows Server 2003 R2 machine deploying
Windows XP Professional images. It all works fine except for this annoying
detail:

In CD-based RIS installations you can set up

[RemoteInstall]
Repartition = No
UseWholeDisk = No

to make sure that you are given the choice of partitioning and formatting
the hard drive MANUALLY during the text-based part of the installation; I am
trying to do the same with my RIPrep-created installation images.

I have tried several edits and looked for any documentation on RIS, but the
only thing I have found is
http://ist.uwaterloo.ca/~etbain/RIS_Notes.html#RISrepartition saying that the
[RemoteInstall] section does not work in RIPrep-created images.

Does anyone know a way of forcing RIS to allow a manual partitioning when
installing RIPrep-created images?

My current riprep.sif is (anonimized):

[data]
floppyless = "1"
msdosinitiated = "1"
OriSrc = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
OriTyp = "4"
LocalSourceOnCD = 1

[SetupData]
OsLoadOptions = "/noguiboot /fastdetect"
SetupSourceDevice
="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"
SysPrepDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%SYSPREPPATH%"
SysPrepDriversDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%SYSPREPDRIVERS%"

[Unattended]
DriverSigningPolicy=Ignore
OemPreinstall = no
FileSystem = LeaveAlone
ExtendOEMPartition = 0
TargetPath = \WINDOWS
OemSkipEula = yes
InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
LegacyNIC = 1
OemPnpDriversPath = Drivers\Nic

[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="Somewhere"
OrgName="Someother"
ComputerName ="%MACHINENAME%"

[GuiUnattended]
OemSkipWelcome = 1
OemSkipRegional = 1
TimeZone = %TIMEZONE%
AdminPassword = "*"

[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024
Vrefresh=60

[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
UserLocale_DefaultUser=00000809
InputLocale=0809:00000809
InputLocale_DefaultUser=0809:00000809

[Networking]

[NetServices]
MS_Server=params.MS_PSched

[Identification]
JoinDomain = %MACHINEDOMAIN%
DoOldStyleDomainJoin = Yes

[RemoteInstall]
Repartition = No
UseWholeDisk = No

[OSChooser]
Description ="Windows XP Professional + Service Pack 2"
Help ="Windows XP Professional + Service Pack 2 + Updates up to 08/03/2006"
LaunchFile ="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
ImageType =SYSPREP
Version="5.1 (2600)"
SysPrepSystemRoot="Mirror1\UserData\WINDOWS"
HalName=halmacpi.dll
ProductType=0

Thank you for your help.
 
G

Guest

Julien,

I am trying to update the Windows installation in machines that have other
operating systems installed in separate partitions; since each machine is
partitioned differently, I need to be able to manually control where and how
Windows is installed to avoid overwritting those other operating systems. I
am afraid that scripting the whole thing is not possible without literally
having to create a script for each machine, and there are dozens of them!
Sorry, but though your scripting advice might be useful for most, I do need
to be able to manually partition RIPrep installations.


Julien said:
Just an advice!
Instead of doing it manually!
Do it in an automatic way!

Launch through the "cmdlines.txt" a .cmd batch that will be using
"diskpart.exe" (that ships with WINXP) that enables you to create partitions,
assign volume labels, and so on via a command line...

Good luck!
J.

F. David del Campo Hill said:
I have a working RIS service on a Windows Server 2003 R2 machine deploying
Windows XP Professional images. It all works fine except for this annoying
detail:

In CD-based RIS installations you can set up

[RemoteInstall]
Repartition = No
UseWholeDisk = No

to make sure that you are given the choice of partitioning and formatting
the hard drive MANUALLY during the text-based part of the installation; I am
trying to do the same with my RIPrep-created installation images.

I have tried several edits and looked for any documentation on RIS, but the
only thing I have found is
http://ist.uwaterloo.ca/~etbain/RIS_Notes.html#RISrepartition saying that the
[RemoteInstall] section does not work in RIPrep-created images.

Does anyone know a way of forcing RIS to allow a manual partitioning when
installing RIPrep-created images?

My current riprep.sif is (anonimized):

[data]
floppyless = "1"
msdosinitiated = "1"
OriSrc = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
OriTyp = "4"
LocalSourceOnCD = 1

[SetupData]
OsLoadOptions = "/noguiboot /fastdetect"
SetupSourceDevice
="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"
SysPrepDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%SYSPREPPATH%"
SysPrepDriversDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%SYSPREPDRIVERS%"

[Unattended]
DriverSigningPolicy=Ignore
OemPreinstall = no
FileSystem = LeaveAlone
ExtendOEMPartition = 0
TargetPath = \WINDOWS
OemSkipEula = yes
InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
LegacyNIC = 1
OemPnpDriversPath = Drivers\Nic

[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="Somewhere"
OrgName="Someother"
ComputerName ="%MACHINENAME%"

[GuiUnattended]
OemSkipWelcome = 1
OemSkipRegional = 1
TimeZone = %TIMEZONE%
AdminPassword = "*"

[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024
Vrefresh=60

[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
UserLocale_DefaultUser=00000809
InputLocale=0809:00000809
InputLocale_DefaultUser=0809:00000809

[Networking]

[NetServices]
MS_Server=params.MS_PSched

[Identification]
JoinDomain = %MACHINEDOMAIN%
DoOldStyleDomainJoin = Yes

[RemoteInstall]
Repartition = No
UseWholeDisk = No

[OSChooser]
Description ="Windows XP Professional + Service Pack 2"
Help ="Windows XP Professional + Service Pack 2 + Updates up to 08/03/2006"
LaunchFile ="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
ImageType =SYSPREP
Version="5.1 (2600)"
SysPrepSystemRoot="Mirror1\UserData\WINDOWS"
HalName=halmacpi.dll
ProductType=0

Thank you for your help.
 
Ad

Advertisements

G

Guest

David,

the thing is that with RIPREP, I don't think you can do it.
I may be wrong but it seems that what RIPREP does is deleting all partitions
existing on the 1st hardisk and then creating a Primary Partition of the size
of the Source RIPREP PC.

So I'm affraid that you may not be able to automate installation of your OS
onto PC that already have an OS installed on it.

But it should work on the contrary if you use a RIS Flat CD Image to install
your OS onto those PCs!
But I know it's different form using RIPREP given that you will have to find
another way to automate the installation of your Softwares/Applications.


David, if you have time could you do me a favor?
I am also using RIPREP to deploy my OS images.
But I noticed something really weird.
On my RIPREP Destination PCs, under the following Registry Key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards

the info of the NIC of my RIPREP Source PC remains so that when I do an
inventory of my PC, it appears as if the NIC of my RIPREP Source PC was
installed on my RIPREP Destination PCs.

Could you tell me if it is the same for you?

Of course, if you don't have time it's ok.
But I have this weird issue and cannot find anything neither on the net nor
her on MS Newsgroup.
Regards,
J.


F. David del Campo Hill said:
Julien,

I am trying to update the Windows installation in machines that have other
operating systems installed in separate partitions; since each machine is
partitioned differently, I need to be able to manually control where and how
Windows is installed to avoid overwritting those other operating systems. I
am afraid that scripting the whole thing is not possible without literally
having to create a script for each machine, and there are dozens of them!
Sorry, but though your scripting advice might be useful for most, I do need
to be able to manually partition RIPrep installations.


Julien said:
Just an advice!
Instead of doing it manually!
Do it in an automatic way!

Launch through the "cmdlines.txt" a .cmd batch that will be using
"diskpart.exe" (that ships with WINXP) that enables you to create partitions,
assign volume labels, and so on via a command line...

Good luck!
J.

F. David del Campo Hill said:
I have a working RIS service on a Windows Server 2003 R2 machine deploying
Windows XP Professional images. It all works fine except for this annoying
detail:

In CD-based RIS installations you can set up

[RemoteInstall]
Repartition = No
UseWholeDisk = No

to make sure that you are given the choice of partitioning and formatting
the hard drive MANUALLY during the text-based part of the installation; I am
trying to do the same with my RIPrep-created installation images.

I have tried several edits and looked for any documentation on RIS, but the
only thing I have found is
http://ist.uwaterloo.ca/~etbain/RIS_Notes.html#RISrepartition saying that the
[RemoteInstall] section does not work in RIPrep-created images.

Does anyone know a way of forcing RIS to allow a manual partitioning when
installing RIPrep-created images?

My current riprep.sif is (anonimized):

[data]
floppyless = "1"
msdosinitiated = "1"
OriSrc = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
OriTyp = "4"
LocalSourceOnCD = 1

[SetupData]
OsLoadOptions = "/noguiboot /fastdetect"
SetupSourceDevice
="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"
SysPrepDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%SYSPREPPATH%"
SysPrepDriversDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%SYSPREPDRIVERS%"

[Unattended]
DriverSigningPolicy=Ignore
OemPreinstall = no
FileSystem = LeaveAlone
ExtendOEMPartition = 0
TargetPath = \WINDOWS
OemSkipEula = yes
InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
LegacyNIC = 1
OemPnpDriversPath = Drivers\Nic

[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="Somewhere"
OrgName="Someother"
ComputerName ="%MACHINENAME%"

[GuiUnattended]
OemSkipWelcome = 1
OemSkipRegional = 1
TimeZone = %TIMEZONE%
AdminPassword = "*"

[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024
Vrefresh=60

[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
UserLocale_DefaultUser=00000809
InputLocale=0809:00000809
InputLocale_DefaultUser=0809:00000809

[Networking]

[NetServices]
MS_Server=params.MS_PSched

[Identification]
JoinDomain = %MACHINEDOMAIN%
DoOldStyleDomainJoin = Yes

[RemoteInstall]
Repartition = No
UseWholeDisk = No

[OSChooser]
Description ="Windows XP Professional + Service Pack 2"
Help ="Windows XP Professional + Service Pack 2 + Updates up to 08/03/2006"
LaunchFile ="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
ImageType =SYSPREP
Version="5.1 (2600)"
SysPrepSystemRoot="Mirror1\UserData\WINDOWS"
HalName=halmacpi.dll
ProductType=0

Thank you for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top