batch file - How can I create a bootable dvd with custom DOS boot script? -
we have bootable usb stick works perfectly. boot, ask user options, write files hard drive accordingly. did using rufus-2.1, throwing freedos usb stick, , hijacking autoexec.bat. autoexec.bat executes separate .bat scripts based on user input.
the problem is, want have option allow users burn iso cd or dvd. we've been trying create image of usb stick , burn dvd.
we found plenty of information on subject, nothing has worked. started extracting bootimage various bootable iso files using imgburn. none of these worked. tried extracting bootimage our usb stick, , didn't work.
next tried winimage. extracted boot information boot98.exe, hijacked autoexec.exe, created new image , injected files. saved files bootimage , tried above method again, didn't work.
is there perhaps more straightforward way execute dos .bat scripts through cd/dvd boot? we'd open other dos well, long can write files hard drive based on user input through simple boot interface.
note: computer not contain operating system.
thanks.
we found slick setup need. unfortunately, cd-rom drivers not work on modern dvd drives. using method, should possible put scripts directly in autoexec.bat , run commands directly on "simulated" floppy drive. whatever reason, can boot "floppy" section of cd-rom, cannot copy files a: c:. believe close, no cigar.
http://www.hiren.info/pages/bootablecd
first method produced bootable cd , allowed scripts run choice entered user.
Comments
Post a Comment