{"id":264,"date":"2005-09-01T23:16:00","date_gmt":"2005-09-02T06:16:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/how-to-create-a-bootable-restore-dvd-for-use-with-imageall-ide-sata-based-dvd-drives-only\/"},"modified":"2021-09-10T23:51:43","modified_gmt":"2021-09-11T06:51:43","slug":"how-to-create-a-bootable-restore-dvd-for-use-with-imageall-ide-sata-based-dvd-drives-only","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/how-to-create-a-bootable-restore-dvd-for-use-with-imageall-ide-sata-based-dvd-drives-only\/","title":{"rendered":"How to Create a Bootable Restore DVD for Use with ImageAll (IDE\/SATA-Based DVD Drives Only)"},"content":{"rendered":"<p>This article will explain how to create a bootable DVD (or CD) disc that uses ImageAll to restore an entire hard drive.\u00a0 Please note that these instructions only fully apply to DVD drives that use either the IDE or SATA interface.<br \/>\r\n<br \/>\r\nHere is a list of the hardware and software you will need to complete this procedure:<\/p>\r\n<ul>\r\n\t<li><a href=\"https:\/\/www.terabyteunlimited.com\/image-for-dos\/\" target=\"_blank\" rel=\"noopener\">Image for DOS<\/a><\/li>\r\n\t<li><a href=\"https:\/\/www.terabyteunlimited.com\/downloads-free-software\/#imgflpyd\" target=\"_blank\" rel=\"noopener\">IMGFLPYD<\/a> (Not needed in all cases; please refer to the instructions below)<\/li>\r\n\t<li><a href=\"http:\/\/www.terabyteunlimited.com\/downloads\/thirdparty\/ram_drive.zip\" target=\"_self\" rel=\"noopener\">RAM drive software<br \/>\r\n<\/a><\/li>\r\n\t<li>DVD-burning software that supports the creation of bootable DVD discs<\/li>\r\n\t<li>IDE\/SATA-based DVD burner drive<\/li>\r\n\t<li>Floppy diskette drive<\/li>\r\n<\/ul>\r\n<ol>\r\n\t<li style=\"list-style-type: none;\">\r\n<ol>\r\n\t<li><span style=\"color: #008000;\"><strong>Create the Backup Set<\/strong><\/span><br \/>\r\n<br \/>\r\nUse <a href=\"http:\/\/www.terabyteunlimited.com\/image-for-dos-v1.htm\" target=\"_blank\" rel=\"noopener\">ImageAll<\/a> with <a href=\"https:\/\/www.terabyteunlimited.com\/image-for-dos\/\" target=\"_blank\" rel=\"noopener\">Image for DOS<\/a> <em>(or<\/em> <a href=\"http:\/\/www.terabyteunlimited.com\/image-for-dos-v1.htm\" target=\"_blank\" rel=\"noopener\">Image for Windows<\/a>--see the note below) to create a backup of the desired hard drive.\u00a0 When you create the backup, be sure to select a hard drive <em>other than the one being backed up<\/em> as the destination for the backup, unless you are using Image for Windows with PHYLock.<br \/>\r\n<br \/>\r\nAfter the backup has been created, you will end up with the following files:<br \/>\r\n<br \/>\r\n<ul>\r\n\t<li><strong>Image files<\/strong>: One <strong>.IMG<\/strong> file for each partition on the source hard drive.\u00a0 If one or more of the source partitions was large enough, you may also have additional, numbered image files (.001, etc.).<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>A <strong>.DIM<\/strong> file.<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<p>&nbsp;<\/p>\r\n<ol>\r\n\t<li style=\"list-style-type: none;\">\r\n<ol>If you used a secondary hard drive as the destination for the backup operation, all of the above files should be found on that hard drive, in the path you specified during the backup operation.<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<p><br \/>\r\n<br \/>\r\n<span style=\"color: #ff0000;\"><strong>Note:<\/strong><\/span><\/p>\r\n<ol>\r\n\t<li style=\"list-style-type: none;\">\r\n<ol>\u00a0 If you use<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<p><strong>Image for Windows<\/strong><\/p>\r\n<ol>\r\n\t<li style=\"list-style-type: none;\">\r\n<ol>with ImageAll to create the backup, be aware that on some configurations, hard drives have different number assignments in DOS than they do in Windows.\u00a0 If the hard drive you are backing up has a different number in DOS than it does in Windows, be sure to set the<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<p><strong>desthd<\/strong><\/p>\r\n<ol>\r\n\t<li style=\"list-style-type: none;\">\r\n<ol>parameter in<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<p><strong>AUTOEXEC.BAT<\/strong><\/p>\r\n<ol>\r\n\t<li style=\"list-style-type: none;\">\r\n<ol>, as explained in step 3.<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<p>&nbsp;<\/p>\r\n<ol>\r\n\t<li style=\"list-style-type: none;\">\r\n<ol>\r\n\t<li><span style=\"color: #008000;\"><strong>Create a Bootable DOS Floppy Diskette with RAM Drive Support<\/strong><\/span><br \/>\r\n<br \/>\r\nA RAM drive is needed to provide support for ImageAll.\u00a0 For instructions on how to create this diskette, please refer to the article titled <a href=\"https:\/\/www.terabyteunlimited.com\/kb\/?p=267\" target=\"_blank\" rel=\"noopener\">How to Create a DOS Floppy Diskette with RAM Drive Support from Windows XP<\/a>.<br \/>\r\n<br \/>\r\nIf you do not have an internal floppy diskette drive, you have the option of using an external, USB-connected floppy diskette drive.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li><span style=\"color: #0000ff;\"><span style=\"color: #008000;\"><strong>Add Supporting Software to the Floppy Diskette<\/strong><\/span><\/span><br \/>\r\n<br \/>\r\nIn order to use ImageAll with your IDE\/SATA DVD drive in DOS, it must be assigned a drive letter.\u00a0 This is done by adding the files <strong>MSCDEX.EXE<\/strong> and <strong>OAKCDROM.SYS<\/strong> to the floppy diskette, and then referencing these files in <strong>AUTOEXEC.BAT<\/strong> and <strong>CONFIG.SYS<\/strong>, respectively.<br \/>\r\n<blockquote><strong>I.<\/strong>\u00a0 Download <a href=\"http:\/\/www.google.com\/search?q=oakcdrom.sys\" target=\"_blank\" rel=\"noopener\">OAKCDROM.SYS<\/a> (or an equivalent), and place it on the floppy diskette.<br \/>\r\n<br \/>\r\n<strong>II.<\/strong>\u00a0 Download <a href=\"http:\/\/download.microsoft.com\/download\/dos622\/utility\/2.23\/dos\/en-us\/mscdx223.exe\">MSCDEX.EXE<\/a>, and place it on the floppy diskette.\u00a0 (Please note that this link points to MSCDX223.EXE, which is a self-extracting ZIP archive that contains MSCDEX.EXE.\u00a0 Extract the archive either by running MSCDX223.EXE, or by changing the extension from .EXE to .ZIP, and then extracting the archive like any other ZIP archive.)<br \/>\r\n<br \/>\r\n<strong> III.<\/strong>\u00a0 Using a text editor such as Notepad, add\/edit the file <strong>CONFIG.SYS<\/strong>.\u00a0 Add the following line to the end of the file, and then save the changes to the floppy diskette:<br \/>\r\n<br \/>\r\n<span style=\"color: #0000ff;\">DEVICE=OAKCDROM.SYS \/D:MSCD001<\/span><br \/>\r\n<br \/>\r\n<strong> IV.<\/strong>\u00a0 Using a text editor such as Notepad, edit the file <strong>AUTOEXEC.BAT<\/strong>, which is found on the floppy diskette from step 2.\u00a0 Add the following line to the end of the file, noting that the <strong>\/L:S<\/strong> parameter will set the drive letter of the DVD drive to <strong>S:<\/strong> in DOS:<br \/>\r\n<br \/>\r\n<span style=\"color: #0000ff;\">MSCDEX.EXE \/D:MSCD001 \/L:S<\/span><br \/>\r\n<br \/>\r\n<strong> V.<\/strong> Also in <strong>AUTOEXEC.BAT<\/strong>, and below the line you added above, add the following code.\u00a0 This code (which is a modified version of the original file, RESTALL.BAT) will be used to initiate the restore process when you boot with the DVD disc you will create:<br \/>\r\n<br \/>\r\n<span style=\"font-family: Courier New;\">rem Set ramdrive to the correct drive<br \/>\r\nrem letter (according to AUTOEXEC.BAT).<br \/>\r\n<strong> set ramdrive=R<\/strong><br \/>\r\n<br \/>\r\nrem Set desthd to the hard drive number<br \/>\r\nrem to be restored.\u00a0 Leave this option<br \/>\r\nrem blank to have IFD automatically try<br \/>\r\nrem to restore to the original HD number.<br \/>\r\n<strong> set desthd=<\/strong><br \/>\r\n<br \/>\r\nrem Set filename to the path\/file name<br \/>\r\nrem where the .IMG files reside on DVD.<br \/>\r\n<strong> set filename=<\/strong><br \/>\r\n<br \/>\r\ncopy image*.exe %ramdrive%:<br \/>\r\n%ramdrive%:<br \/>\r\n<br \/>\r\ncls<br \/>\r\necho.<br \/>\r\nif %desthd%.==. echo This will restore the \"%filename%\" backup set.<br \/>\r\nif not %desthd%.==. echo This will restore all partitions on HD%desthd% using the \"%filename%\" backup set.<br \/>\r\necho.<br \/>\r\necho Press Ctrl+C to cancel, or<br \/>\r\npause<br \/>\r\n<br \/>\r\nrem Modify\/add parameters below, if needed.<br \/>\r\nimageall \/r%desthd% %filename% &gt;doimg.bat<br \/>\r\n<br \/>\r\nset ramdrive=<br \/>\r\nset desthd=<br \/>\r\nset filename=<br \/>\r\nif not errorlevel 1 goto cont<br \/>\r\nif errorlevel 1 set el=1<br \/>\r\nif errorlevel 2 set el=2<br \/>\r\nif errorlevel 3 set el=3<br \/>\r\nif errorlevel 4 set el=4<br \/>\r\nif errorlevel 5 set el=5<br \/>\r\nif errorlevel 6 set el=6<br \/>\r\nif errorlevel 7 set el=7<br \/>\r\nif errorlevel 8 set el=8<br \/>\r\nif errorlevel 9 set el=9<br \/>\r\ntype doimg.bat<br \/>\r\ndel doimg.bat &gt;nul<br \/>\r\necho IMAGEALL error code: %el%<br \/>\r\ngoto end<br \/>\r\n:cont<br \/>\r\ncall doimg.bat<br \/>\r\ncls<br \/>\r\necho Restore process complete.<br \/>\r\nif %el%==0 goto end<br \/>\r\necho Image error %el% when %imsg%<br \/>\r\n:end<\/span><br \/>\r\n<br \/>\r\n<strong> VI.<\/strong>\u00a0 The <strong>AUTOEXEC.BAT<\/strong> code you added in the step above requires a few simple changes in order to suit your configuration:<br \/>\r\n<br \/>\r\n<ul>\r\n\t<li>Set the <strong>ramdrive<\/strong> parameter to whatever drive letter is assigned to the RAM drive in <strong>AUTOEXEC.BAT<\/strong>.\u00a0 By default (according to the procedure outlined in the article <a href=\"https:\/\/www.terabyteunlimited.com\/kb\/?p=267\" target=\"_blank\" rel=\"noopener\">How to Create a DOS Floppy Diskette with RAM Drive Support from Windows XP<\/a>), the RAM drive is assigned drive letter <strong>R:<\/strong>.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If desired, set the <strong>desthd<\/strong> parameter according to the DOS-based hard drive number of the drive that would be the target of an eventual restore.\u00a0 If you leave this option blank, Image for DOS will try to restore to the hard drive number that was current when the image was created.\u00a0 (For example, if HD<strong>0<\/strong> was the <em>source <\/em>during the <em>backup <\/em>operation, HD<strong>0<\/strong> will be the <em>target <\/em>during the <em>restore <\/em>operation, unless you override it using the <strong>desthd<\/strong> parameter.\u00a0 This is why you must be sure to specify the correct value for <strong>desthd<\/strong> if you created the backup with Image for Windows, and your hard drive number differs in the two environments.)<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Set the <strong>filename<\/strong> parameter to the drive letter that your DVD drive will have in DOS, plus the backup path and name that was supplied to ImageAll when the backup was first created in step 1.\u00a0 For example, if you used the file name <strong>BACKUP<\/strong> with BACKALL.BAT, and your DVD drive letter in DOS will be <strong>S:<\/strong>, set the <strong>filename <\/strong>parameter to <strong>S:&#92;BACKUP<\/strong>.\u00a0 Please note that the instructions provided in sub-step <strong>IV<\/strong> above (i.e. the instructions for running MSCDEX.EXE with the <strong>\/L:S<\/strong> parameter) will establish the DVD drive with the drive letter <strong>S:<\/strong> in DOS.<\/li>\r\n<\/ul>\r\n\r\n\u00a0<br \/>\r\n<strong> VII.<\/strong>\u00a0 Add the following files to the floppy diskette:<br \/>\r\n<br \/>\r\n<ul>\r\n\t<li><strong>IMAGE.EXE<\/strong> (the Image for DOS executable)<\/li>\r\n\t<li><strong>IMAGEALL.EXE<\/strong> (the ImageAll executable for use with Image for DOS)<\/li>\r\n<\/ul>\r\n<\/blockquote>\r\n<\/li>\r\n\t<li><span style=\"color: #008000;\"><strong>Create a Bootable Image from the Floppy Diskette<\/strong><\/span><br \/>\r\n<br \/>\r\n<span style=\"color: #ff0000;\"><strong>Note:<\/strong><\/span>\u00a0 This step is only required if your DVD-burning software does <em>not<\/em> allow you to specify a logical drive as the basis for a bootable DVD disc, but instead requires you to supply a bootable image.\u00a0 If you are using software that allows you to simply point directly to the floppy diskette drive to use as a model for a bootable DVD disc (as Nero does, for example), you can skip this step entirely.\u00a0 (However, it may be convenient to create an image of the floppy diskette, and have that image saved to your hard drive, rather than having to supply the floppy diskette itself each time it is needed in the future.)<br \/>\r\n<br \/>\r\nCreate a bootable image of the floppy diskette you created in step 2, using the free utility <a href=\"https:\/\/www.terabyteunlimited.com\/downloads-free-software\/#imgflpyd\" target=\"_blank\" rel=\"noopener\">IMGFLPYD<\/a>.\u00a0 Here is a sample command line:<br \/>\r\n<br \/>\r\n<span style=\"color: #0000ff;\">imgflpyd A: C:&#92;dosimage.img<\/span>\r\n<p>Where <strong>A:<\/strong> refers to your floppy drive, and <strong>C:&#92;dosimage.img<\/strong> represents the path and file name where the floppy disk image will be saved.<br \/>\r\n<br \/>\r\nThe floppy diskette image file, or the floppy diskette itself, will be used in a subsequent step.<\/p>\r\n<\/li>\r\n\t<li><span style=\"color: #008000;\"><strong>Create the DVD Compilation<\/strong><\/span><br \/>\r\n<br \/>\r\nUsing your DVD-burning software, create an ISO-based DVD compilation, and include the following files:<br \/>\r\n<br \/>\r\n<ul>\r\n\t<li>All <strong>.IMG<\/strong> (and numbered image files, if any) from step 1<\/li>\r\n\t<li>The <strong>.DIM<\/strong> file from step 1<\/li>\r\n<\/ul>\r\n<\/li>\r\n\t<li><span style=\"color: #008000;\"><strong>Burn the DVD<\/strong><\/span><br \/>\r\n<br \/>\r\nIf you created a bootable image from your floppy diskette in step 4, supply that image to your DVD-burning software as the basis for the bootable DVD disc.\u00a0 Otherwise, keep the bootable floppy diskette from step 2 inserted, and point to it instead.\u00a0 In Nero, these options are specified on the <strong>Boot<\/strong> tab of the <strong>Burn Compilation<\/strong> dialog.<br \/>\r\n<br \/>\r\nIf you are using Nero and selected the <strong>Image file<\/strong> option, choose the following options on the <strong>Boot<\/strong> tab of the <strong>Burn Compilation<\/strong> dialog:<br \/>\r\n<br \/>\r\n<ul>\r\n\t<li><strong>Enable expert settings (for advanced users only!):<\/strong>\u00a0 Check this option<\/li>\r\n\t<li><strong>Kind of emulation:<\/strong>\u00a0 Floppy Emulation 1.44MB<\/li>\r\n\t<li><strong>Boot message:<\/strong>\u00a0 Leave blank<\/li>\r\n\t<li><strong>Load segment of sectors (hex!):<\/strong>\u00a0 07C0<\/li>\r\n\t<li><strong>Number of loaded sectors:<\/strong>\u00a0 1<\/li>\r\n<\/ul>\r\n<br \/>\r\nRegardless of whether you used a floppy diskette image or the floppy diskette itself above, burn the DVD using <strong>ISO 9660<\/strong> and <strong>Mode 1<\/strong>, with <strong>no relaxed settings<\/strong> enabled.\u00a0 Ensure that only the first session is used (i.e. do not use multi-session).<br \/>\r\n<br \/>\r\nIf you are using Nero, then on the <strong>ISO<\/strong> tab of the <strong>Burn Compilation<\/strong> dialog, select the following options:<br \/>\r\n<br \/>\r\n<ul>\r\n\t<li><strong> Data mode:<\/strong>\u00a0 Mode 1<\/li>\r\n\t<li><strong> File system:<\/strong>\u00a0 ISO 9660 only or ISO 9660 + Joilet<\/li>\r\n\t<li><strong> File name length (ISO):<\/strong>\u00a0 Max. of 11 = 8 + 3 chars (Level 1)<\/li>\r\n\t<li><strong> Character set:<\/strong>\u00a0 ISO 9660 (standard ISO CD-ROM)<\/li>\r\n\t<li><strong> Relax restrictions:<\/strong>\u00a0 Uncheck <em>all <\/em>of these options<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<p>&nbsp;<\/p>\r\n<ol>\r\n\t<li><span style=\"color: #008000;\"><strong>Test the DVD Disc<\/strong><\/span><br \/>\r\n<br \/>\r\nBoot with the DVD disc you just created.\u00a0 If it was created according to the instructions provided above, it will not perform any actions without your confirmation.\u00a0 Here is what will happen if everything was done correctly:<br \/>\r\n<br \/>\r\n<ul>\r\n\t<li>The code that was added to <strong>AUTOEXEC.BAT<\/strong> will prompt you with the message <strong>\"This will restore the '&lt;filename&gt;' backup set\"<\/strong> (or something similar).\u00a0 You will be able to prevent the restore process from running by pressing <strong>Ctrl+C<\/strong>.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If you allow the restore process to begin, ImageAll will run, and you will be prompted again, with the warning that the existing data on the target hard drive will be overwritten if you allow the process to continue.<\/li>\r\n<\/ul>\r\n<br \/>\r\nAfter completing the process outlined above one time, you will be able to create an updated bootable restore DVD disc by carrying out steps 1, 5, and 6 alone (though step 7 is also recommended).\u00a0 Remember to ensure that only the first session is used on the DVD disc (i.e. do not use multi-session).<\/li>\r\n<\/ol>","protected":false},"excerpt":{"rendered":"<p>This article will explain how to create a bootable DVD (or CD) disc that uses ImageAll to restore an entire hard drive.\u00a0 Please note that these instructions only fully apply to DVD drives that use either the IDE or SATA interface. Here is a list of the hardware and software you will need to complete [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1818],"lsvr_kba_tag":[2118],"class_list":["post-264","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-ifd-ifl-ifw-version-1-archive","lsvr_kba_tag-archived"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/264","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=264"}],"version-history":[{"count":4,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/264\/revisions"}],"predecessor-version":[{"id":6765,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/264\/revisions\/6765"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=264"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}