1. Can someone tell me how can I format this 40 GIG HDD and make it bootable to DOS/Win 95 Environment using knoppix CD.
I have already tried mkfs.vfat, mkdosfs, mkfs.msdos on /dev/hda but it doesn't work. May be I am doing something wrong as I am pretty new to Linux.![]()
I am actually given a task to automate the unattended Windows XP installation on new computers using linux bootable cd with a Perl Script. When the script runs, it should format HDD, Make It Bootable to DOS/Win95 and copy the windows Installation filles + unattended install script on HDD.![]()
I am using these commands in my script:
"dd if=/dev/zero of=/dev/hda && mkdosfs -F 32 /dev/hda && cp -rv /home/WinInstall/* /dev/hda && shutdown -r now"
2- Should I also use dosfsck -a /dev/hda after mkdosfs
3- Instead of dd if=/dev/zero of=/dev/hda can I use any alternative command?
3- Is it posible to automate fdisk for creating FAT32 partitions under linux. (Note. I only need one partition)
I would highly appreciate your help.
thx.
P.S. /home/WinInstall contains the unattended windows installation files.

HPE ProLiant MicroServer Gen10 Plus with Power Adapter
$600.00
HP ProLiant MicroServer Gen8 Tower Server Xeon E3-1220 v2 2.3GHz 16GB RAM
$289.99
HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD
$249.99
New Supermicro SuperServer E50-9AP-Wifi Mini PC Server
$175.00
Supermicro SYS-6048R-E1CR36N 36B LFF 4U Server -V3- Choose CPUs/RAM - Wholesale
$4574.00
Supermicro 510-2 U1 Rack Mount 3.30GHz 4-Core 4GB RAM No Drive No OS
$179.99
Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter
$225.00
Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server
$649.00
Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99
Supermicro 938-16 16-LFF MicroCloud SuperServer 5038MR-H8TRF *No Blade Servers*
$159.99