srihariram Posted April 15, 2010 Share Posted April 15, 2010 Hello,I am trying to automate windows 2008 installation using unattended.xml. I am trying to collect information on the which disk to install (disk 0 or 1) from a linux boot environment and update the unattended.xml. But when it comes to windows environment, the disk numbering gets changed and the installation fails.Is there any correlation between linux disk numbering and windows 2008 disk numbering?How does the disk numbering happen in windows 2008 boot environment. (if i have multiple disks, plus USB connected)Thanks in advance.-Ram Link to comment Share on other sites More sharing options...
srihariram Posted April 15, 2010 Author Share Posted April 15, 2010 Hi,Is there any way to run an executable to update autounattented.xml before inputs are taken from it. I have a issue with disk number on which windows needs to be installed. Is there any way to update autounattented.xml with proper disk number, before the windows installation uses the xml?Thanks in advance.-Ram Link to comment Share on other sites More sharing options...
Tripredacus Posted April 15, 2010 Share Posted April 15, 2010 How are you installing? From the DVD? You will probably need to make a custom install, I don't think you can make this change with just the XML itself. Link to comment Share on other sites More sharing options...
Tripredacus Posted April 15, 2010 Share Posted April 15, 2010 It has to do with the timing the motherboard enumerates the drives to the OS. You will need to find out what the disk numbers are from the Server 2008 install. You can find this info by running the install without your AUTOUNATTEND.XML file, so that it boots and wants input. Then you can get the command prompt open (CTRL+SHIFT+F10 I believe) and run DISKPART to see how it sees the drives. Then use those values in your file. Link to comment Share on other sites More sharing options...
cluberti Posted April 15, 2010 Share Posted April 15, 2010 I've merged these two topics, as they're quite similar in request. Also, I would strongly suggest using WinPE rather than Linux as your preboot environment for the reasons Tripredacus mentioned - it's far easier to get the "right" disk information from diskpart in WinPE than to trust that Linux will get the same info and disk order when it boots. Link to comment Share on other sites More sharing options...
srihariram Posted April 16, 2010 Author Share Posted April 16, 2010 Is there any way to set the target disk for OS installation based on the volume label that is assigned in linux environment?Does autounattended.xml take volume label? 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