Click to See Complete Forum and Search --> : fdisk response file


crokett
07-03-2001, 01:30 PM
i need to script fdisk to delete any existing partitions on a disk, then create a partition at the end of the disk. i checked google and man pages, nada. any sites that might have what i am looking for?

thanks

Strike
07-03-2001, 01:38 PM
Yes, my article here (http://www.linuxnewbie.org/nhf/intel/installation/fdisk_nhf/Fdisk.html) sounds like it would help.

crokett
07-03-2001, 06:49 PM
Originally posted by Strike:
<STRONG>Yes, my article here (http://www.linuxnewbie.org/nhf/intel/installation/fdisk_nhf/Fdisk.html) sounds like it would help.</STRONG>

actually after i posted i saw your article.
thanks. i did figure out the response file i ended up with a perl script that creates a 2 gig partition at the end of an empty disk - it is for a project i am working on. i can post the code if you want to see it. it will work on both SCSI and IDE systems and on any size disk (it is hardwired to go to the first disk though)