{"id":431,"date":"2012-03-02T05:24:29","date_gmt":"2012-03-02T05:24:29","guid":{"rendered":"http:\/\/joelinoff.com\/blog\/?p=431"},"modified":"2013-10-15T17:34:10","modified_gmt":"2013-10-15T17:34:10","slug":"create-bootable-usb-from-iso-image-on-linux","status":"publish","type":"post","link":"https:\/\/joelinoff.com\/blog\/?p=431","title":{"rendered":"FreeDOS 1.1 Bootable USB Image"},"content":{"rendered":"<p>Here is the FreeDOS image file. It can be used to create a bootable USB. At the end of this post I describe, in detail, how I created the image file from the FreeDOS ISO.<\/p>\n<h1>1 Download<\/h1>\n<p>Here are the download options.<\/p>\n<table>\n<thead>\n<tr>\n<th>URL<\/th>\n<th>Format<\/th>\n<th>Size<\/th>\n<th>Checksum<\/th>\n<th>Extraction<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=\"http:\/\/downloads.joelinoff.com\/fdos11.tar.bz2\">fdos11.tar.bz2<\/a><\/td>\n<td>tar, gzip<\/td>\n<td align=\"RIGHT\">28MB<\/td>\n<td align=\"RIGHT\">25175 27686<\/td>\n<td>tar jvxf fdos11.tar.bz2<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/downloads.joelinoff.com\/fdos11.tar.gz\">fdos11.tar.gz<\/a><\/td>\n<td>tar, bzip2<\/td>\n<td align=\"RIGHT\">32MB<\/td>\n<td align=\"RIGHT\">25477 32340<\/td>\n<td>tar zvxf fdos11.tar.gz<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/downloads.joelinoff.com\/fdos11.zip\">fdos11.zip<\/a><\/td>\n<td>zip<\/td>\n<td align=\"RIGHT\">32MB<\/td>\n<td align=\"RIGHT\">28567 32337<\/td>\n<td>unzip fdos11.zip<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Once you have downloaded and unzipped it, you need to flash it to your USB.<br \/>\n<!--more--><\/p>\n<h2>1.1 Linux<\/h2>\n<p>On linux use the dd tool as follows:<\/p>\n<p>[crayon lang=&#8221;bash&#8221; toolbar=&#8221;always&#8221; title=&#8221;Create a bootable USB&#8221;]<br \/>\n% # Get the bootable USB image and flash the USB.<\/p>\n<p>% # Step 1. Figure out the USB device.<br \/>\n% #    Plug in the USB, it will usually auto-mount. Here are some<br \/>\n% #    commands you can use to find it.<br \/>\n% #       Command                      Notes<br \/>\n% #       ===========================  =============================<br \/>\n% #       dmesg                        The device will be in the log<br \/>\n% #       ls -l \/dev\/disk\/by-id\/usb*   List all of theUSB devices<br \/>\n% #       mount                        Oftentimes it is in \/media<br \/>\n% #       grep -Ff \\                   Only Ubuntu\/Debian.<br \/>\n% #         <(hwinfo --disk --short) \\\n% #         <(hwinfo --usb --short)\n% USB=\/dev\/sdf\n\n% # Step 2. Make sure that the device isn't mounted\n% sudo umount ${USB}1\n\n% # Step 3. Get the archived image.\n% wget http:\/\/downloads.joelinoff.com\/fdos11.tar.bz2\n\n% # Step 4. Extract the image.\n% tar jxf fdos11.tar.bz2\n\n% # Step 5. Flash the USB\n% dd if=fdos11.img of=$USB bs=1M\n[\/crayon]\n\n\n\n<h2>1.2 Windows<\/h2>\n<p>On windows you need to unzip the file and then use a tool like imgburn to flash the USB.<\/p>\n<p><i>I would appreciate any feedback here from windows users.<\/i><\/p>\n<h1>2 Motivation<\/h1>\n<p>Why would anyone want to do this? Well I certainly can&#8217;t speak for other folks but I use these USBs when building cloud filers to flash the firmware of SAS\/SATA controllers to HBA (I\/T) mode so that I can install the ZFS file system without hardware RAID. The flash firmware is always available in DOS format and this distribution is very small so it easily fits on 1GB USB sticks with all of the drivers that I need. For the record, I think that DSL (Damn Small Linux) would be another good alternative.<\/p>\n<h1>3 How to Create the Image<\/h1>\n<p>Of course the previous sections only describe how to use the image. In this section I describe how to create the image from the ISO on linux by following these steps.<\/p>\n<ol>\n<li>Download ISO<\/li>\n<li>Create Local Disk as File<\/li>\n<li>Install ISO to Disk<\/li>\n<li>Test Image<\/li>\n<li>Flash the USB<\/li>\n<\/ol>\n<p>Each step will be described in detail in subsequent sections. You will need root privileges to flash the image to a USB (step 5).<\/p>\n<p>There are a lot of screens displayed during the FreeDOS installation process but don&#8217;t worry the process is pretty fast and once the image is created you can reuse the image over and over.<\/p>\n<p>This documentation was generated as I went through the process using gimp (the option to select a window came in very handy).<\/p>\n<h2>3.1 Download ISO<\/h2>\n<p>The FreeDOS ISO is available <a href=\"http:\/\/www.freedos.org\/freedos\/files\/download\/fd11src.iso\">here<\/a>.<br \/>\n[crayon lang=&#8221;bash&#8221; toolbar=&#8221;always&#8221; title=&#8221;Download FreeDOS&#8221;]<br \/>\n% wget http:\/\/www.freedos.org\/freedos\/files\/download\/fd11src.iso<br \/>\n[\/crayon]<\/p>\n<h2>3.2 Create Local Disk as File<\/h2>\n<p>Create a dummy disk file that will act like a disk or USB for the installation in the next step. Note that I made it slightly smaller that 1GB to give a bit of overhead for formatting tools.<br \/>\n[crayon lang=&#8221;bash&#8221; toolbar=&#8221;always&#8221; title=&#8221;Create Local Disk Image]<br \/>\n% dd if=\/dev\/zero of=fdos11.img bs=1M count=1023<br \/>\n[\/crayon]<\/p>\n<h2>3.3 Install ISO to Disk<\/h2>\n<p>I did this using <a href=\"http:\/\/www.qemu.org\">qemu<\/a> which is an open source machine emulator and virtualizer. I tend to use it for all sorts of things like booting from ISO&#8217;s and images while my host OS is running. <\/p>\n<p>In this case, it is going to act like machine emulator that boots off of the ISO to perform the installation to the local disk file. Later I will use it to test the install by booting off of the disk file.<\/p>\n<p>If qemu is not installed, see this <a href=\"http:\/\/en.wikibooks.org\/wiki\/QEMU\/Installing_QEMU\" target=\"_blank\">page<\/a> for installation details.<\/p>\n<p>The command I used is shown below. It is probably a bit daunting for newbies so each of the fields is described in the subsequent comments.<br \/>\n[crayon lang=&#8221;bash&#8221; toolbar=&#8221;always&#8221; title=&#8221;Boot off of the ISO&#8221;]<br \/>\n%   qemu -cdrom fd11src.iso fdos11.img -boot d<br \/>\n% # ^    ^      ^           ^          ^     ^<br \/>\n% # |    |      |           |          |     +&#8211; the D: drive (cdrom ISO)<br \/>\n% # |    |      |           |          +&#8212;&#8212;&#8211; define the boot device<br \/>\n% # |    |      |           +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- the C: drive, empty disk<br \/>\n% # |    |      +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- the ISO image for the cdrom<br \/>\n% # |    +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; define a cdrom device (D:)<br \/>\n% # +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- QEMU<br \/>\n[\/crayon] <\/p>\n<h3>3.3.1 Initial Window<\/h3>\n<p>Once the command is started the following window will pop up. Select install to hard disk. Note that the hard disk here is the fdos11.img file that you created earlier.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img01.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img01.png\" alt=\"\" title=\"img01\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-473\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img01.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img01-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img01-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.2 Install to Hard Disk<\/h3>\n<p>This is the install hard disk screen. Select f to format the disk.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img02.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img02.png\" alt=\"\" title=\"img02\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-475\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img02.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img02-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img02-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.3 FDISK FAT32 or FAT16<\/h3>\n<p>This is the first format hard disk screen. Select N. When I tried to build with Y it didn&#8217;t work.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img03.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img03.png\" alt=\"\" title=\"img03\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-477\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img03.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img03-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img03-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.4 FDISK Options &#8211; Create DOS Partition<\/h3>\n<p>This is the main option menu for FDISK. It appears many times during the process. At this point select option 1 &#8220;Create DOS Partition or Logical Drive&#8221;.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img04.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img04.png\" alt=\"\" title=\"img04\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-478\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img04.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img04-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img04-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.5 FDISK Create DOS Partition<\/h3>\n<p>This screen provides options for creating DOS partitions. For this exercise we will only create a single partition for the entire USB so choose option 1 &#8220;Create Primary DOS Partition&#8221;.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img05.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img05.png\" alt=\"\" title=\"img05\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-479\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img05.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img05-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img05-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.6 FDISK Create the Primary DOS Partition<\/h3>\n<p>This screen asks whether you want to use all of the available disk space. Answer yes (Y).<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img06.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img06.png\" alt=\"\" title=\"img06\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-480\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img06.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img06-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img06-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.7 FDISK Created the Primary DOS Partition<\/h3>\n<p>This screen displays after the partition is created. Press the Esc key to continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img07.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img07.png\" alt=\"\" title=\"img07\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-481\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img07.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img07-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img07-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.8 FDISK Options &#8211; Active Partition<\/h3>\n<p>Select option 2 to make sure that the partition is active. Normally it is set to active by default but it never hurts to check.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img08.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img08.png\" alt=\"\" title=\"img08\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-482\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img08.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img08-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img08-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.9 FDISK Set Active Partition<\/h3>\n<p>This screen shows that the active partition has been set so you only need to press the Esc key.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img09.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img09.png\" alt=\"\" title=\"img09\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-483\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img09.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img09-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img09-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.10 FDISK Options &#8211; Display partition information<\/h3>\n<p>We are back at the main options screen. At this point you will want to do a final verification check by selecting option 4 &#8220;Display partition information&#8221;.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img10.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img10.png\" alt=\"\" title=\"img10\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-484\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img10.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img10-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img10-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.11 FDISK Display Partition Information<\/h3>\n<p>The partition information is correct. There is only one partition. Press the Esc key to continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img11.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img11.png\" alt=\"\" title=\"img11\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-485\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img11.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img11-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img11-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.12 FDISK Options &#8211; Done<\/h3>\n<p>We back at the options menu. We are done with formatting so press the Esc key to continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img12.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img12.png\" alt=\"\" title=\"img12\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-486\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img12.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img12-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img12-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.13 FDISK &#8211; System Restart<\/h3>\n<p>The system is ready to restart. Press the Enter key (or any other key) to proceed.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img13.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img13.png\" alt=\"\" title=\"img13\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-487\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img13.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img13-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img13-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.14 FreeDOS Installation Screen<\/h3>\n<p>Now we are back at the installation screen. Choose option 1 &#8220;Install to hardisk&#8221; now that the hard disk is formatted. Remember, the hard disk in this case is the fdos11.img file.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img14.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img14.png\" alt=\"\" title=\"img14\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-488\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img14.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img14-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img14-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.15 Install FreeDOS to the Hard Disk<\/h3>\n<p>On this screen type the &#8220;1&#8221; key. It is no obvious because there is no prompt.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img15.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img15.png\" alt=\"\" title=\"img15\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-489\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img15.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img15-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img15-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.16 Select the Installation Language<\/h3>\n<p>Select your installation language. I chosee option 1 (US English).<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img16.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img16.png\" alt=\"\" title=\"img16\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-490\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img16.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img16-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img16-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.17 Format Disk<\/h3>\n<p>This disk was partitioned earlier but it was not formatted. This step does that. Ignore the message about FAT32. It will correctly format the FAT16 partition we created. Select the &#8220;Yes&#8221; option.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img17.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img17.png\" alt=\"\" title=\"img17\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-491\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img17.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img17-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img17-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.18 Warning About Losing Data<\/h3>\n<p>This screen warns about losing data. That is perfectly fine because it doesn&#8217;t have any data yet. Type in YES and press the Enter key.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img18.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img18.png\" alt=\"\" title=\"img18\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-492\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img18.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img18-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img18-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.19 Continue with the FreeDOS Installation<\/h3>\n<p>At this point the disk is partitioned and formatted so we can continue with the installation. Select the first option.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img19.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img19.png\" alt=\"\" title=\"img19\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-493\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img19.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img19-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img19-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.20 Start the Installation<\/h3>\n<p>This screen asks you whether to start the installation. Select the first option.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img20.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img20.png\" alt=\"\" title=\"img20\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-494\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img20.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img20-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img20-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.21 EULA<\/h3>\n<p>This is just a message. Press the Enter key or any other key to continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img21.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img21.png\" alt=\"\" title=\"img21\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-495\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img21.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img21-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img21-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.22 Ready to Install<\/h3>\n<p>This is just a message. Press the Enter key or any other key to continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img22.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img22.png\" alt=\"\" title=\"img22\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-496\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img22.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img22-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img22-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.23 Install From\/To<\/h3>\n<p>This screen presents the from and to directories. You don&#8217;t want to change anything. Press the Enter key to accept the default values and continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img23.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img23.png\" alt=\"\" title=\"img23\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-497\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img23.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img23-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img23-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.24 3.3.23 Install From\/To Prompt<\/h3>\n<p>This screen also presents the from and to directories. You don&#8217;t want to change anything. Press the Enter key to accept that the directories are correct and continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img24.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img24.png\" alt=\"\" title=\"img24\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-498\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img24.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img24-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img24-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.25 Choose the Modules to Install<\/h3>\n<p>This screen displays the top level modules that you can install. Don&#8217;t change anything. Use the defaults. Press the Enter key to continue.<\/p>\n<p>If you want to choose other modules use your right\/left arrow keys to navigate and use the space bar to select\/deselect.<\/p>\n<p>Later you will be prompted for the individual packages in the modules.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img25.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img25.png\" alt=\"\" title=\"img25\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-499\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img25.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img25-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img25-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.26 Choose the Packages to Install Prompt<\/h3>\n<p>Same screen as 3.3.25. Choose the Yes option from the &#8220;Proceed with Installation?&#8221; dialogue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img26.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img26.png\" alt=\"\" title=\"img26\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-500\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img26.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img26-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img26-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.27 Package List for the Kernel<\/h3>\n<p>The packages for the kernel are displayed. You want all of them.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img27.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img27.png\" alt=\"\" title=\"img27\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-501\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img27.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img27-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img27-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.28<\/h3>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img28.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img28.png\" alt=\"\" title=\"img28\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-502\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img28.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img28-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img28-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.29 Installation<\/h3>\n<p>This is the longest step. Be patient it takes awhile. You do not have to hit any keys.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img29.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img29.png\" alt=\"\" title=\"img29\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-503\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img29.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img29-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img29-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.30 Done Installing this Series<\/h3>\n<p>The initial kernel packages have been installed. Press the Enter key or any other key o continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img30.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img30.png\" alt=\"\" title=\"img30\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-509\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img30.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img30-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img30-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.31 Syslinux Bootloader Collection<\/h3>\n<p>This is the bootloader. Press the Enter key to continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img31.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img31.png\" alt=\"\" title=\"img31\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-510\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img31.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img31-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img31-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.32 Syslinux Bootloader Collection Proceed Prompt<\/h3>\n<p>This screen displays this dialogue: &#8220;Proceed with Installation?&#8221;. Select &#8220;Yes&#8221; to continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img32.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img32.png\" alt=\"\" title=\"img32\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-511\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img32.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img32-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img32-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.33 Installation Progress<\/h3>\n<p>This is the installation progress screen. Don&#8217;t do anything. It will eventually finish and the next screen will popup.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img33.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img33.png\" alt=\"\" title=\"img33\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-512\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img33.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img33-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img33-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.34 Installation Finished<\/h3>\n<p>This is the screen that pops up after the installation has completed. Press the Enter key or any other key to continue.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img34.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img34.png\" alt=\"\" title=\"img34\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-513\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img34.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img34-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img34-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.35 Configuring the Disk<\/h3>\n<p>This screen shows the progress for configuring the disk. When it finishes, you are prompted to define how the Volume Boot Record is configured. Choose option 1 (Write FreeDOS specific code to this area so KERNEL.SYS will be loaded).<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img35.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img35.png\" alt=\"\" title=\"img35\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-514\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img35.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img35-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img35-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.36 Boot from System Hard Disk<\/h3>\n<p>Select the boot from system hard disk option (third option).<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img36.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img36.png\" alt=\"\" title=\"img36\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-515\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img36.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img36-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img36-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.37 Load Without Drivers<\/h3>\n<p>Now load without drivers (option 4). You don&#8217;t need them.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img37.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img37.png\" alt=\"\" title=\"img37\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-516\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img37.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img37-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img37-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.3.38 FreeDOS Booted from the Disk Image<\/h3>\n<p>We have the FreeDOS prompt which indicates that it successfully booted off of the disk image!<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img38.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img38.png\" alt=\"\" title=\"img38\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-517\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img38.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img38-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img38-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h2>3.4 Test Image<\/h2>\n<p>Although the image worked correctly in the previous section, I also did an alternate test by booting directly from the disk using this command.<\/p>\n<p>[crayon lang=&#8221;bash&#8221; toolbar=&#8221;always&#8221; title=&#8221;Boot off of Disk Image&#8221;]<br \/>\n%   qemu dos11.img -boot c<br \/>\n% # ^    ^         ^     ^<br \/>\n% # |    |         |     +&#8212;- the C: drive (disk image)<br \/>\n% # |    |         +&#8212;&#8212;&#8212;- define the boot device<br \/>\n% # |    +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; the C: drive, new image<br \/>\n% # +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; QEMU<br \/>\n[\/crayon]<\/p>\n<h3>3.4.1 Initial Screen<\/h3>\n<p>Here is the window that you see initially. Choose option 4.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img39.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img39.png\" alt=\"\" title=\"img39\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-521\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img39.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img39-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img39-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>3.4.2 FreeDOS Prompt<\/h3>\n<p>Here is the DOS prompt again.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img40.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img40.png\" alt=\"\" title=\"img40\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-522\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img40.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img40-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img40-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h2>3.5 Flash the USB<\/h2>\n<p>Now that we know that the disk image works properly using qemu, we can flash a USB and test it.<\/p>\n<h3>3.5.1 Flash Command<\/h3>\n<p>Here is the command to flash the USB:<\/p>\n<p>[crayon lang=&#8221;bash&#8221; toolbar=&#8221;always&#8221; title=&#8221;Boot off of Disk Image&#8221;]<br \/>\n% # Step 1. Figure out the USB device.<br \/>\n% #    Plug in the USB, it will usually auto-mount. Here are some<br \/>\n% #    commands you can use to find it.<br \/>\n% #       Command                      Notes<br \/>\n% #       ===========================  =============================<br \/>\n% #       dmesg                        The device will be in the log<br \/>\n% #       ls -l \/dev\/disk\/by-id\/usb*   List all of theUSB devices<br \/>\n% #       mount                        Oftentimes it is in \/media<br \/>\n% #       grep -Ff \\                   Only Ubuntu\/Debian.<br \/>\n% #         <(hwinfo --disk --short) \\\n% #         <(hwinfo --usb --short)\n% USB=\/dev\/sdf\n\n% # Step 2. Make sure that the device isn't mounted\n% sudo umount ${USB}1\n\n% # Step 3. Flash the USB\n% sudo dd if=fdos11.img of=$USB bs=1M\n[\/crayon]\n\n\n\n<h3>3.5.2 Boot from USB<\/h3>\n<p>Now you are ready to go. Remove the USB and plug it back in to mount everything properly. Then run qemu again to boot off of the USB.<\/p>\n<p>[crayon lang=&#8221;bash&#8221; toolbar=&#8221;always&#8221; title=&#8221;Boot off of the USB Device&#8221;]<br \/>\n% # Step 1. Figure out the host parameter by running lsusb<br \/>\n% #         In this case it is 03f0:b707<br \/>\n% lsusb<br \/>\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br \/>\nBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br \/>\nBus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br \/>\nBus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br \/>\nBus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br \/>\nBus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br \/>\nBus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br \/>\nBus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br \/>\nBus 002 Device 002: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader)<br \/>\nBus 006 Device 002: ID 04eb:e033 Northstar Systems, Inc.<br \/>\nBus 008 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub<br \/>\nBus 008 Device 003: ID 413c:2010 Dell Computer Corp. Keyboard<br \/>\nBus 001 Device 006: ID 03f0:b707 Hewlett-Packard <\/p>\n<p>% # Run QEMU as root<br \/>\n% sudo qemu -usb -usbdevice host:03f0:b707 -m 1024 -vga std<br \/>\n[\/crayon]<\/p>\n<p>Here is a screen shot from the live USB showing the boot menu.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img41.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img41.png\" alt=\"\" title=\"img41\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-529\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img41.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img41-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img41-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<p>Select option 4 and this is what you get. <\/p>\n<h3>3.5.3 FreeDOS from the USB<\/h3>\n<p>I ran the DIR command to demonstrate that it is working.<\/p>\n<p><a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img42.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img42.png\" alt=\"\" title=\"img42\" width=\"722\" height=\"430\" class=\"alignnone size-full wp-image-530\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img42.png 722w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img42-300x178.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/03\/img42-500x297.png 500w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is the FreeDOS image file. It can be used to create a bootable USB. At the end of this post I describe, in detail, how I created the image file from the FreeDOS ISO. 1 Download Here are the download options. URL Format Size Checksum Extraction fdos11.tar.bz2 tar, gzip 28MB 25175 27686 tar jvxf &hellip; <a href=\"https:\/\/joelinoff.com\/blog\/?p=431\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">FreeDOS 1.1 Bootable USB Image<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/431"}],"collection":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=431"}],"version-history":[{"count":91,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":1000,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions\/1000"}],"wp:attachment":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}