{"id":304,"date":"2006-12-21T12:33:00","date_gmt":"2006-12-21T20:33:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/how-to-create-automated-restore-cd-dvd-discs\/"},"modified":"2021-09-10T16:40:23","modified_gmt":"2021-09-10T23:40:23","slug":"how-to-create-automated-restore-cd-dvd-discs","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/how-to-create-automated-restore-cd-dvd-discs\/","title":{"rendered":"How to Create Automated Restore CD\/DVD Discs"},"content":{"rendered":"<p><strong><span style=\"color: #ff0000;\">Please Note:<\/span><\/strong> <span style=\"color: #ff0000;\">This article describes how to create bootable CD\/DVD discs that, when booted from, will automatically perform a restore operation and overwrite existing data, if any, <em>without prompting<\/em>. Please keep this in mind and handle your restore disc(s) carefully.<\/span><\/p>\r\n<hr size=\"2\" width=\"100%\" \/>\r\n<h1>Overview<\/h1>\r\n<p>The basis of an automated restore disc is a customized bootable floppy diskette image. The basic steps involved in creating an automated restore disc are as follows (please note that this is just an outline, with detailed instructions to follow):<\/p>\r\n<ol>\r\n\t<li>Create a bootable floppy diskette image containing a specialized restore command line for TBIREST.EXE. There are two primary methods to create this bootable floppy diskette image:<br \/>\r\n<br \/>\r\n<ul type=\"disc\">\r\n\t<li>Use\u00a0the <a href=\"https:\/\/www.terabyteunlimited.com\/tbosdt\/\" target=\"_blank\" rel=\"noopener\">TeraByte OS Deployment Tool Suite<\/a> (TBOSDT)\u00a0to edit a preexisting copy of CDBOOT.F35<span style=\"color: #ff0000;\">*<\/span>.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Create a bootable floppy diskette and then create an image of that floppy diskette using the freeware utility <a href=\"https:\/\/www.terabyteunlimited.com\/downloads-free-software\/#imgflpyd\" target=\"_blank\" rel=\"noopener\">IMGFLPYD<\/a> (or another image editor).<br \/>\r\n<br \/>\r\n<\/li>\r\n<\/ul>\r\n\r\n\r\nBoth methods are explained below, in the section titled <strong>Creating a Bootable Floppy Diskette Image<\/strong>.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Burn the image set to CD\/DVD disc(s), using the bootable floppy diskette image as a boot file. This can be done using the freeware utility <a href=\"http:\/\/www.terabyteunlimited.com\/downloads\/bingburn.zip\">BINGBURN<\/a> (or some other burning software -- being sure to use ISO 9660 format). Using BINGBURN is described below, in the section titled <strong>Burning the Automated Restore Disc(s)<\/strong>.<\/li>\r\n<\/ol>\r\n<h1>Creating a Bootable Floppy Diskette Image<\/h1>\r\n<h2><span style=\"color: #005858;\">Using a Preexisting CDBOOT.F35 Image<\/span><\/h2>\r\n<ol>\r\n\t<li>Make a copy of CDBOOT.F35 (to keep the original intact).<br \/>\r\n<br \/>\r\n<ul type=\"disc\">\r\n\t<li>If you are creating images with Image for DOS, the desired copy of CDBOOT.F35 can be found in the Image for DOS archive. If you are a registered user of Image for DOS, be sure to use a <a href=\"http:\/\/www.terabyteunlimited.com\/product-download.php\" target=\"_blank\" rel=\"noopener\">registered<\/a> copy of CDBOOT.F35, rather than a trial copy.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If you are creating images with Image for Windows, you may obtain CDBOOT.F35 either from the Image for DOS archive (as mentioned above) or from the Image for Windows installation directory. If you are a registered user of Image for Windows, be sure that CDBOOT.F35 has been converted from a trial copy to a registered copy before proceeding. If you are a registered user of Image for Windows, CDBOOT.F35 will automatically be updated to a registered copy when either of the following events takes place:<br \/>\r\n<br \/>\r\n<ul type=\"square\">\r\n\t<li>Your Image for Windows registration information is successfully applied, after having been typed\/pasted into the Image for Windows registration window.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>You run Image for Windows after configuring IMAGEW.INI with valid registration information.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>You run Image for Windows at any point after either of the two events above have taken place.<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<\/li>\r\n\t<li>Extract the file TBOS.STR from CDBOOT.F35. If you're using <a href=\"https:\/\/www.terabyteunlimited.com\/tbosdt\/\" target=\"_blank\" rel=\"noopener\">TBOSDT<\/a> in Windows to modify CDBOOT.F35, you may extract TBOS.STR as follows:<br \/>\r\n<br \/>\r\n<ol type=\"a\">\r\n\t<li>Extract the contents of the TBOSDTS_EN.ZIP or TBOSDTS_PRO_EN.ZIP archive. Extract the contents of the TBOSDT.ZIP or TBOSDT_PRO.ZIP archive. Use Explorer, browse to the final extraction folder, and then open the folder named <strong>win<\/strong> that has been created by the archive extraction.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Double-click on TBOSDTW.EXE to run it and then issue the following commands at the TBOSDT command line:<br \/>\r\n<br \/>\r\n<span style=\"color: #006600;\"><span style=\"font-family: Courier New, Courier, monospace;\"><strong>mount 1: \"c:&#92;some folder1&#92;cdboot.f35\"<br \/>\r\ncopy 1:&#92;tbos.str \"c:&#92;some folder2\"<\/strong><\/span><br \/>\r\n<\/span><br \/>\r\nThe commands above will mount CDBOOT.F35 as drive number 1 (in the TBOS environment) and then extract TBOS.STR to \"c:&#92;some folder2\" on the Windows file system. You will have to supply the applicable path to CDBOOT.F35 (in place of \"c:&#92;some folder1\"). You can supply whatever path you like in place of \"c:&#92;some folder2\".<\/li>\r\n<\/ol>\r\n<\/li>\r\n\t<li>Make the changes specified in the section titled <strong>Creating the Custom Command Line<\/strong>.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Update CDBOOT.F35 with the new copy of TBOS.STR. If you're using TBOSDT, then at the same command line from Step 2b above, issue the following commands:<br \/>\r\n<br \/>\r\n<span style=\"color: #006600;\"><span style=\"font-family: Courier New, Courier, monospace;\"><strong>copy \"c:&#92;some folder2&#92;tbos.str\" 1:&#92;<br \/>\r\numount 1:<br \/>\r\nexit<\/strong><br \/>\r\n<\/span><\/span><br \/>\r\nThe commands above will copy the modified TBOS.STR back into CDBOOT.F35 and then dismount the image and exit TBOSDT. Please note the spelling of the command \"<strong>umount 1:<\/strong>\" (not \"<strong>u<em>n<\/em>mount 1:<\/strong>\").<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>To create the automated restore disc, proceed to the section titled <strong>Burning the Automated Restore Disc(s)<\/strong>.<\/li>\r\n<\/ol>\r\n<h2><span style=\"color: #005858;\">Using a Bootable Floppy Diskette to Create a New Image<\/span><\/h2>\r\n<ol>\r\n\t<li>Create an Image for DOS floppy diskette using MakeDisk.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>After the Image for DOS floppy diskette has been created, open the file TBOS.STR, found on the floppy diskette, in a text editor such as Notepad.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Make the changes specified in the section titled <strong>Creating the Custom Command Line<\/strong>.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Create an image file from the floppy diskette. This can be done using either the freeware utility <a href=\"https:\/\/www.terabyteunlimited.com\/downloads-free-software\/#imgflpyd\" target=\"_blank\" rel=\"noopener\">IMGFLPYD<\/a>, or a third-party image editor utility. If you use IMGFLPYD, the command line you need to run will be of the following format:<br \/>\r\n<br \/>\r\n<span style=\"color: #006600; font-family: Courier New;\"><strong>imgflpyd.exe &lt;floppy drive letter&gt; &lt;image file name&gt;<\/strong><\/span><br \/>\r\n<br \/>\r\nFor example:<br \/>\r\n<br \/>\r\n<span style=\"color: #006600; font-family: Courier New;\"><strong>imgflpyd.exe a: c:&#92;folder&#92;autorest.f35<\/strong><\/span><br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>To create the automated restore disc, proceed to the section titled <strong>Burning the Automated Restore Disc(s)<\/strong>.<\/li>\r\n<\/ol>\r\n<h1>Creating the Custom Command Line<\/h1>\r\n<p>Open TBOS.STR in a text editor such as Notepad. You will be creating a copy of TBOS.STR that contains a single line. This line will run TBIREST.EXE (which is a restore-only version of Image for DOS) with appropriate command line parameters to carry out an automated restore. A full list of available command line parameters can be found in the <a href=\"http:\/\/www.terabyteunlimited.com\/downloads\/ifd_en_manual.pdf\">Image for DOS User Manual<\/a>, but here are the required parameters, as well as optional parameters you may want to use for the automated restore disc:<\/p>\r\n<table border=\"2\" cellspacing=\"2\" cellpadding=\"2\">\r\n<tbody>\r\n<tr style=\"border: 1px solid black;\">\r\n<td>\u00a0\/r<\/td>\r\n<td><strong>Required.<\/strong> \u00a0Indicates that a restore operation is to be performed.<\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td valign=\"top\">\u00a0\/uy<\/td>\r\n<td valign=\"top\"><strong>Optional.<\/strong> \u00a0Use this parameter to perform an unattended backup and tell Image for DOS to assume the answer to all Yes\/No prompts is Yes and the answer to all OK\/Cancel messages is OK.<\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td>\u00a0\/ui<\/td>\r\n<td><strong>Optional.<\/strong> \u00a0Use this parameter when performing an unattended backup to tell Image for DOS to assume the answer to all Abort\/Retry\/Ignore prompts is Ignore. Use this parameter in conjunction with \/uy (or \/un).<\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td>\u00a0\/um<\/td>\r\n<td><strong>Optional.<\/strong> \u00a0During an unattended backup using CD\/DVD discs, use this parameter to tell Image for DOS to ignore the first request for media.<\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td>\u00a0\/ubi<\/td>\r\n<td><strong>Optional.<\/strong>\u00a0 Instructs Image for DOS to update all partition(n) references in the restored partition's boot.ini file, to accommodate a partition layout that differs from that of the original drive.<\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td>\u00a0\/clr<\/td>\r\n<td><strong>Optional.<\/strong> \u00a0Clears the MBR (and EMBR, if present) prior to restoring.<\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td>\u00a0\/a<\/td>\r\n<td><strong>Optional.<\/strong> \u00a0Sets the restored partition active.<\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td>\u00a0\/t<\/td>\r\n<td><strong>Optional.<\/strong> \u00a0Installs standard MBR code after completing the restore operation.<\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td>\u00a0\/rft<\/td>\r\n<td><strong>Optional.<\/strong> \u00a0Restores the first track when it restores the partition.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p>An example command line:<br \/>\r\n<br \/>\r\n<span style=\"color: #006600; font-family: Courier New;\"><strong>tbirest.exe \/r \/uy \/d:0 \/f:\"o0:&#92;filename.tbi\" \/cds<\/strong><\/span><\/p>\r\n<p>As you can see in the <a href=\"http:\/\/www.terabyteunlimited.com\/downloads\/ifd_en_manual.pdf\">Image for DOS User Manual<\/a> (because TBIREST.EXE is based on IFD), the parameters used above specify that:<\/p>\r\n<ul type=\"disc\">\r\n\t<li>A restore operation is to be performed [<span style=\"color: #006600;\">\/r<\/span>]<\/li>\r\n\t<li>An unattended restore will be performed [<span style=\"color: #006600;\">\/uy<\/span>]<\/li>\r\n\t<li>The target for the restore will be hard drive 0 [<span style=\"color: #006600;\">\/d:0<\/span>]<\/li>\r\n\t<li>The source image is on a CD\/DVD and named filename.tbi [<span style=\"color: #006600;\">\/f:\"o0:&#92;filename.tbi\"<\/span>]<\/li>\r\n\t<li>IFD will query all available CD\/DVD drives when trying to locate the appropriate source backup [<span style=\"color: #006600;\">\/cds<\/span>]<\/li>\r\n<\/ul>\r\n<h1>Burning the Automated Restore Disc(s)<\/h1>\r\n<p>If you're using\u00a0<a href=\"http:\/\/www.terabyteunlimited.com\/downloads\/bingburn.zip\">BINGBURN<\/a>:<\/p>\r\n<ol>\r\n\t<li>Insert a CD\/DVD disc for burning.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Run <a href=\"http:\/\/www.terabyteunlimited.com\/downloads\/bingburn.zip\">BINGBURN<\/a>.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Supply the path to the floppy diskette image in the <strong>Boot Image<\/strong> text box (i.e. click the <strong>Browse<\/strong> button next to the <strong>Boot Image<\/strong> text box, locate the floppy image, and click the <strong>Open<\/strong> button).<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Set the other BINGBURN options as desired and burn your image set. <strong>Note:<\/strong> If an image file is larger than 4 GB you will receive a warning from BINGBURN. It is safe to ignore this warning.<\/li>\r\n<\/ol>\r\n<p>If you're using third-party burn software, rather than BINGBURN, ensure that you burn the disc(s) in ISO 9660 format.<\/p>\r\n<hr size=\"2\" width=\"100%\" \/>\r\n<p><span style=\"color: #ff0000;\">*<\/span> CDBOOT.F35 is a file consisting of a bootable floppy image.\u00a0 The use of CDBOOT.F35 is explained in the <a href=\"http:\/\/www.terabyteunlimited.com\/downloads\/ifd_en_manual.pdf\">Image for DOS User's Guide<\/a> and the <a href=\"http:\/\/www.terabyteunlimited.com\/downloads\/ifw_en_manual.pdf\">Image for Windows User's Guide<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Please Note: This article describes how to create bootable CD\/DVD discs that, when booted from, will automatically perform a restore operation and overwrite existing data, if any, without prompting. Please keep this in mind and handle your restore disc(s) carefully. Overview The basis of an automated restore disc is a customized bootable floppy diskette image. [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1792],"lsvr_kba_tag":[2122],"class_list":["post-304","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-general-information-image-for-dos","lsvr_kba_tag-image-for-dos"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=304"}],"version-history":[{"count":3,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/304\/revisions"}],"predecessor-version":[{"id":6691,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/304\/revisions\/6691"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=304"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=304"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}