fbcesco Posted June 24, 2005 Share Posted June 24, 2005 Hi,I need to partitioning and formatting with unattend mode my hard disk before installing OSIs this possible?Do anyone help me?Sorry for my english Link to comment Share on other sites More sharing options...
smashly Posted June 24, 2005 Share Posted June 24, 2005 Just add/edit your WINNT.SIF file[Data]AutoPartition = 1[Unattended]Repartition = YesFilesystem = NTFSGood Luck Link to comment Share on other sites More sharing options...
fbcesco Posted June 24, 2005 Author Share Posted June 24, 2005 But this is right only for system partitionI need to create at least other 2 partitions and fomatting them before run setup windows Link to comment Share on other sites More sharing options...
fbcesco Posted June 24, 2005 Author Share Posted June 24, 2005 Is this impossible? Link to comment Share on other sites More sharing options...
tguy Posted June 24, 2005 Share Posted June 24, 2005 No it is not impossible, I do it all the time. Use diskpart.exe, create a text file, eg: diskpart.txt, that looks something like this:select disk 0 create partition primary size=6144 select partition 2 assign letter dselect disk 0 create partition primary select partition 3 assign letter eThis will create a 6 GB D:\ drive and assign the rest of the free space on the disk to an E:\ drive.Run diskpart.exe from wherever you want with this syntax, diskpart.exe /s <path>\diskpart.txtGood luck. Link to comment Share on other sites More sharing options...
MOONLIGHT SONATA Posted June 24, 2005 Share Posted June 24, 2005 @tguyNice input, but can i not be able to use diskpart.txt to partition target partitions before Windows XP Setup puts its hand on the HDD? What you wrote in diskpart.txt and what you suggest for running diskpart.exe means that we can only use it after XP does install of itself. If i use a partition other than the system partition for installing Programs then its always better to partition the disk before installation of OS. Can it not be achieved? Link to comment Share on other sites More sharing options...
bilemke Posted June 25, 2005 Share Posted June 25, 2005 If you really want to do it before windows sees the drive, your best bet is a bootable floppy image on the cd with dos and Ranish Partition Manager (or some other tool of your choice) on a multiboot cd.. Or a seperate cd.Tell you the truth, wjhy do you want to set up all the partitions besides the bootable one before setup? Windows will isntall to the partition you choose and then change the letters of the drives (if this is what you are trying to do) after you first boot in to windows. Link to comment Share on other sites More sharing options...
Astalavista Posted June 25, 2005 Share Posted June 25, 2005 ok i thought this was not possible.pls more explaination Link to comment Share on other sites More sharing options...
ukg1jzj Posted June 25, 2005 Share Posted June 25, 2005 The only way i have seen this be done is with a dos tool prior to the unattended install, we are doing this at work for the reason of changing the path for "documents and settings" to go on drive D:This way only have OS and Programs on the C: drive.. This is perfect for ghosting and backup's, as for recovery we only ghost partition for C: drive and backup's are only done for D: in case where needed (e.g.: profile backup)rgdsJV. Link to comment Share on other sites More sharing options...
bilemke Posted June 25, 2005 Share Posted June 25, 2005 ok i thought this was not possible.pls more explaination<{POST_SNAPBACK}> Like Astalavista said.. Yes it can be done.. With a little more work.. To stat with you need a cd boot loader instead of jsut the "Windows Setup" cd boot loader.. Check out cdshellPlus, make a disk image (with winimage if you want) of a bootable dos floppy with your choice of dos based partitioning software like Ranish Partition Manager..Next, using info from above site, make a cdshell script for the boot loader and build the cd as also described in the above site (yes, I know, a lot of reading, but worth it).So, after this cd is constructed you can boot the floppy image off of the cd in emulation mode and run the dos based program to setup partitions and then reboot. Next, from the same cd, start windows setup this time with all your partitions already setup and pick the one in setup you normally would. Link to comment Share on other sites More sharing options...
Astalavista Posted June 25, 2005 Share Posted June 25, 2005 I need an aspirin... seems like a great deal of work. thank god for 300GB sata drives Link to comment Share on other sites More sharing options...
DonDamm Posted June 25, 2005 Share Posted June 25, 2005 One way to achive this is using a WinPE like Bart's PE (which is free!!) and integrating the unattended folder into the whole thing. It does take some extra work and that's why I decided for the one I built for a frined to just send along a copy of ERD Commander 2005. That boots first into WinXP-like environment and and has a good disk manager there. Then you can reboot and put in the unattended and away you go!If you build a CD/DVD with a boot manager, then you could put them both onto the same disk, as mentioned. If you are working with a single target machine, then ok, but it seems a lot of work and it would only be good on that machine. You'd have to write a new script for a different machine with a different number of partitions, etc. Link to comment Share on other sites More sharing options...
bilemke Posted June 26, 2005 Share Posted June 26, 2005 @AstalavistaNot a whole lot of work.. If you only want the two options in the boot loader it is not much more then remaking a 2000/XP/2003 bootable setup cd. Infact, after I setup the files as needed, I used cdimage.exe to make the ISO image. I cant legally help with the floppy image by making one for you and sending it you, buy maybe... Maybe, I could try my had cdshell again.. I actually liked its dredecessor (BootScriptor) much more and have yet to switch (even though I have been toying with cdshell and trying it out). Maybe, if all you want is the 2 options I could copy paste a cdshell script here if I get time in the next couple weeks, or someone with a little more experience with it could doctor a short one up for you.One way to achive this is using a WinPE like Bart's PE (which is free!!) and integrating the unattended folder into the whole thing. It does take some extra work and that's why I decided for the one I built for a frined to just send along a copy of ERD Commander 2005. That boots first into WinXP-like environment and and has a good disk manager there. Then you can reboot and put in the unattended and away you go!If you build a CD/DVD with a boot manager, then you could put them both onto the same disk, as mentioned. If you are working with a single target machine, then ok, but it seems a lot of work and it would only be good on that machine. You'd have to write a new script for a different machine with a different number of partitions, etc.<{POST_SNAPBACK}>but ERD Commander 2005 is a commercial product. Even BartPE is anice option, but a DOS 1.44 floppy image with a partition program on a cd boots a whole lot quicker. Link to comment Share on other sites More sharing options...
Vadikan Posted June 26, 2005 Share Posted June 26, 2005 bilemkeCorrect me, if I'm wrong. What you're talking here is multiboot in a. Windows Setupb. Partitioning toolFirst you boot into the partitioning tool, do whatever partitioning/formatting you need, then reboot and boot into Windows Setup. There's nothing new here, unless you completely automate the process and partition the drive with some predefined paramaters (i.e. 20 gb primary partition + an extended partition for the rest of the space). Link to comment Share on other sites More sharing options...
fbcesco Posted June 27, 2005 Author Share Posted June 27, 2005 Me too thing the best and faster solution is a DOS 1.44 floppy image with a partition program on a cd boots.Now my question is:which program to use what it allows unattend mode? 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