@cyberspace1221, post #1
@FOrest, post #2
@echo off if exist auto.flg goto second cls echo Auto install echo. echo Your first drive will be cleared, and two partitions will be created: echo 1 - 10M, FAT for booting echo 1 - rest of drive, Amithlon virtual disk echo. echo This floppy must be write enabled, so please check that before continuing. echo. choice /n /c:YN"Are you sure you want to repartion your first drive (Y/N)?" if errorlevel 2 goto end echo. echo Are you ABSOLUTELY sure? You're going to destroy the following partitions echo from your first drive! fdisk /info 1 choice /n /c:GA"(G)o ahead or (A)bort?" if errorlevel 2 goto end echo All right, here we go.. echo 1 > auto.flg echo ..clearing partition table.. fdisk /clear 1 echo ..creating boot partition.. fdisk /pri:10M 1 echo ..creating Amithlon partition.. fdisk /pri:100,100 /spec:118 1 echo ..and now your first drive looks like this: fdisk /info 1 pause Please leave the disk in the drive and press reset.. fdisk /reboot goto end :second del auto.flg cls echo Welcome to the second phase of the installer! echo. echo Next, we'll format the boot partition. echo Quick doesn't check for bad sectors and Slow does. echo Most hard disks don't have errors on them, but the choice is yours. choice /n /c:QS"(Q)uick or (S)low format?" if errorlevel 2 goto slow echo y|format C: /Q /U /V:Amithlon goto formatted :slow echo y|format C: /U /V:Amithlon :formatted sys c: :checkforcd if exist z:isolinuxamithlon goto cdok pause Please insert the Amithlon CD into your first CD drive and press enter.. if exist z:isolinuxamithlon goto cdok echo Hmm.. This doesn't seem to be the Amithlon CD? goto checkforcd :cdok copy z:isolinuxamithlon c: copy z:isolinuxsmall c: copy z:isolinuxdebug c: copy z:isolinuxdebug2 c: copy z:isolinux*.gz c: copy z:isolinuxloadlin.exe c: copy a:te.exe c: echo Ok, now it's time to choose whether you would like the RAM based echo amithlon_hd or not. echo. echo If you choose small, you'll probably want to boot with the CD one more echo time to partition the virtual drive and install OS 3.9 from the CD. choice /n /c:SR"(S)mall boot or (R)amdrive?" if errorlevel 2 goto ramdrive echo @loadlin @small > c:autoexec.bat goto alldone :ramdrive echo @loadlin @amithlon > c:autoexec.bat :alldone cls
@cyberspace1221, post #5
@FOrest, post #8