Jump to content

Recommended Posts

Posted

Hi i looked around on the forums but i couldn't really find anything that did what i wanted.

I've finally got my unattended installation of Windows XP working, xcept for one bit. That is the creation of partitions. I always make all the drives 50% 50%, so for example my Harddisk would be 80GB, i wanna make it 40GB for C:\ and 40GB for d:\ automatically. But if its 40 GB, i wanna make 2 of 20GB.

Is there any way to accomplish this?


Posted

Absolutely.

Use AEFDisk in a DOS batch file to auto-partition your drives and format them prior to installation. Get the free app at http://www.aefdisk.com

I think the commands would be something like this:

AEFDISK /DELALL

AEFDISK /PRI:50%:0B /EXT:50% /LOG:50%:0B

AEFDISK /formatfat:1:HardDiskC

AEFDISK /formatfat:5:HardDiskD /reboot

That would delete all the partitions on the HD, recreate a 50% primary FAT32 C: drive and a FAT32 D: drive at 50%. You should then reboot after both volumes are quickformatted and you're ready to run your install script.

That's how you can do it, but you'll have to double-check my code. Do a search on my recent posts for more info on AEFDisk.

JP

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...