How to install FreeDos onto a usb stick?












1















The FreeDos project offers a number of downloads, but all of these contain an installer that tries to install FreeDos from an installation media onto the harddisk. Selecting the mobile stick as installation target is not supported. Since typical USB sticks typically large enough to contain the OS plus applications, writing onto the harddisk is often not intented. Some pages point to tools like Rufus, which can create a bootable FreeDos installation from a template, but this disk is then missing the typical FreeDos components. So how can a complete FreeDos be installed onto a bootable usb stick to create a live USB version with FreeDos?










share|improve this question



























    1















    The FreeDos project offers a number of downloads, but all of these contain an installer that tries to install FreeDos from an installation media onto the harddisk. Selecting the mobile stick as installation target is not supported. Since typical USB sticks typically large enough to contain the OS plus applications, writing onto the harddisk is often not intented. Some pages point to tools like Rufus, which can create a bootable FreeDos installation from a template, but this disk is then missing the typical FreeDos components. So how can a complete FreeDos be installed onto a bootable usb stick to create a live USB version with FreeDos?










    share|improve this question

























      1












      1








      1








      The FreeDos project offers a number of downloads, but all of these contain an installer that tries to install FreeDos from an installation media onto the harddisk. Selecting the mobile stick as installation target is not supported. Since typical USB sticks typically large enough to contain the OS plus applications, writing onto the harddisk is often not intented. Some pages point to tools like Rufus, which can create a bootable FreeDos installation from a template, but this disk is then missing the typical FreeDos components. So how can a complete FreeDos be installed onto a bootable usb stick to create a live USB version with FreeDos?










      share|improve this question














      The FreeDos project offers a number of downloads, but all of these contain an installer that tries to install FreeDos from an installation media onto the harddisk. Selecting the mobile stick as installation target is not supported. Since typical USB sticks typically large enough to contain the OS plus applications, writing onto the harddisk is often not intented. Some pages point to tools like Rufus, which can create a bootable FreeDos installation from a template, but this disk is then missing the typical FreeDos components. So how can a complete FreeDos be installed onto a bootable usb stick to create a live USB version with FreeDos?







      usb installation liveusb freedos






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 30 '18 at 10:16









      Peter B.Peter B.

      1263




      1263






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Unfortunately the current information on the FreeDOS Wiki is not up to date, but with the help from FreeDos Developer Jim Hall I could find the solution:




          1. Download the USB “Full” installer from the FreeDOS page.

          2. Unpack the downloaded zip

          3. Use a USB formatting tool (for example rufus) to write the image to USB (take care to write over the right drive)

          4. Move the directory D:FDSETUPBIN to D:BIN


          5. Edit first and last two lines in D:FDCONFIG.SYS as follows



            !COUNTRY=001,858:BINCOUNTRY.SYS
            !LASTDRIVE=Z
            !BUFFERS=20
            !FILES=40

            DOS=HIGH
            DOS=UMB
            DOSDATA=UMB

            DEVICE=BINHIMEMX.EXE

            SHELLHIGH=COMMAND.COM BIN /E:2048 /P=AUTOEXEC.BAT



          6. Edit D:AUTOEXEC.BAT as follows (Windows will hide this file, but you can open it by directly giving the filename).
            Only the line setting the DOSDIR needs to be changed and some display code at the end of AUTOEXEC.BAT are to be removed



            @echo off
            SET DOSDIR=
            SET LANG=
            SET PATH=%dosdir%BIN

            SET DIRCMD=/P /OGN /Y

            rem SET TEMP=%dosdir%TEMP
            rem SET TMP=%TEMP%

            rem SET NLSPATH=%dosdir%NLS
            rem SET HELPPATH=%dosdir%HELP
            rem SET BLASTER=A220 I5 D1 H5 P330
            rem SET COPYCMD=/-Y

            DEVLOAD /H /Q %dosdir%BINUDVD2.SYS /D:FDCD0001

            SHSUCDX /QQ /D3

            rem SHSUCDHD /QQ /F:FDBOOTCD.ISO

            FDAPM APMDOS

            rem SHARE

            rem NLSFUNC %dosdir%BINCOUNTRY.SYS
            rem DISPLAY CON=(EGA),858,2)
            rem MODE CON CP PREP=((858) %dosdir%CPIEGA.CPX)
            rem KEYB US,858,%dosdir%binkeyboard.sys
            rem CHCP 858
            rem PCNTPK INT=0x60
            rem DHCP
            rem MOUSE

            rem DEVLOAD /H /Q %dosdir%BINUIDE.SYS /H /D:FDCD0001 /S5

            SHSUCDX /QQ /~ /D:?SHSU-CDR,D /D:?SHSU-CDH,D /D:?FDCD0001,D /D:?FDCD0002,D /D:?FDCD0003,D

            rem MEM /C /N

            SHSUCDX /D

            rem DOSLFN

            rem LBACACHE.COM buf 20 flop

            SET AUTOFILE=%0
            SET CFGFILE=FDCONFIG.SYS
            alias reboot=fdapm warmboot
            alias reset=fdisk /reboot
            alias halt=fdapm poweroff
            alias shutdown=fdapm poweroff

            rem alias cfg=edit %cfgfile%
            rem alias auto=edit %0

            vecho /p Done processing startup files /fCyan FDCONFIG.SYS /a7 and /fCyan AUTOEXEC.BAT /a7/p


          7. Delete D:SETUP.BAT


          8. Done, safe your files and safely remove the USB stick


          Boot and test



          The USB key now boots directly into FreeDOS and loads into high memory, leaving roughly 600KB of common memory for programs.






          share|improve this answer































            0














            How can a complete FreeDos be installed onto a bootable usb stick?



            See USB - FreeDOS:




            This article describes how to create a USB boot "disk" using FreeDOS.




            ...



            The instructions for Windows are as follows (see the link above for instruction for Linux):




            Partition the USB stick



            If using Windows, your USB stick is mounted as something like E:. All
            operations must be performed as Administrator (right click, Run as
            Administrator) using Windows Vista, or Windows Server 2008. The
            Windows Preinstallation Environment (WinPE) 2.x should also work, for
            those that need it.



            diskpart


            Then enter the following diskpart commands:



            list disk
            select disk {disk number}
            clean
            create partition primary
            select partition 1
            active
            format fs=fat32
            assign
            exit


            Install a boot loader



            It is probably easiest to use SYSLINUX. To do so, simply download and
            extract the archive. Let's say you put it in C:syslinux, and your USB
            stick is E:. Change to the location where you extracted SYSLINUX, and
            run it:



            cd /d C:syslinuxwin32
            syslinux.exe -fma E:


            Create a new file E:SYSLINUX.CFG as follows:



            prompt 1
            ontimeout q
            default f32
            timeout 1200

            label f32
            kernel fat32lba.bss
            append -

            # cancel and try next boot device
            label q
            localboot −1
            kernel /memdisk
            initrd /fdodin06.144


            Copy the boot files from the FreeDOS "full" CD-ROM image
            (fdfullcd.iso) to your USB stick. In the following, assume the CD-ROM
            drive is mounted as D:.



            md E:ODIN
            XCOPY D:FREEDOSSETUPODIN* E:ODIN /E/H/I
            move E:ODINCOMMAND.COM E:
            move E:ODINKERNEL.SYS E:


            Extract sourceukernelbootfat32lba.bin from
            D:FREEDOSPACKAGESSRC_BASEKERNELS.ZIP to the root of your USB drive
            and rename it to fat32lba.bss



            Boot and test



            Your USB key should now boot directly into FreeDOS. You can modify the
            contents of the USB stick directly as you like.




            Source USB - FreeDOS






            share|improve this answer
























            • Thanks for the detailled tutorial, but are you sure this is up to date? I could not find an image named fdfullcd.iso on the FreeDOS download site, so I assumed the CDROM standard installer image was meant. However, that image has no directory SETUPODIN (I searched the whole dir tree), so I am not sure what to copy.

              – Peter B.
              Dec 30 '18 at 19:45











            • @PeterB. Try the USB Full Installer ...

              – DavidPostill
              Dec 30 '18 at 19:50











            • The USB Full Installer image contains a folder FDSETUP and a folder SETUP, but there is also no ODIN in the dir tree. Could you update the xcopy D:... line to this pls?

              – Peter B.
              Dec 30 '18 at 19:55













            • @PeterB. I'm not going to update anything. I don't use FreeDos. I'm not responsible for any documentation. If it is out of date you need to contact the developers.

              – DavidPostill
              Dec 30 '18 at 19:58











            • Sorry, didn't want to put a request on you, was just asking in case you have the answer. I'll keep on searching.

              – Peter B.
              Dec 30 '18 at 20:04











            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388931%2fhow-to-install-freedos-onto-a-usb-stick%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Unfortunately the current information on the FreeDOS Wiki is not up to date, but with the help from FreeDos Developer Jim Hall I could find the solution:




            1. Download the USB “Full” installer from the FreeDOS page.

            2. Unpack the downloaded zip

            3. Use a USB formatting tool (for example rufus) to write the image to USB (take care to write over the right drive)

            4. Move the directory D:FDSETUPBIN to D:BIN


            5. Edit first and last two lines in D:FDCONFIG.SYS as follows



              !COUNTRY=001,858:BINCOUNTRY.SYS
              !LASTDRIVE=Z
              !BUFFERS=20
              !FILES=40

              DOS=HIGH
              DOS=UMB
              DOSDATA=UMB

              DEVICE=BINHIMEMX.EXE

              SHELLHIGH=COMMAND.COM BIN /E:2048 /P=AUTOEXEC.BAT



            6. Edit D:AUTOEXEC.BAT as follows (Windows will hide this file, but you can open it by directly giving the filename).
              Only the line setting the DOSDIR needs to be changed and some display code at the end of AUTOEXEC.BAT are to be removed



              @echo off
              SET DOSDIR=
              SET LANG=
              SET PATH=%dosdir%BIN

              SET DIRCMD=/P /OGN /Y

              rem SET TEMP=%dosdir%TEMP
              rem SET TMP=%TEMP%

              rem SET NLSPATH=%dosdir%NLS
              rem SET HELPPATH=%dosdir%HELP
              rem SET BLASTER=A220 I5 D1 H5 P330
              rem SET COPYCMD=/-Y

              DEVLOAD /H /Q %dosdir%BINUDVD2.SYS /D:FDCD0001

              SHSUCDX /QQ /D3

              rem SHSUCDHD /QQ /F:FDBOOTCD.ISO

              FDAPM APMDOS

              rem SHARE

              rem NLSFUNC %dosdir%BINCOUNTRY.SYS
              rem DISPLAY CON=(EGA),858,2)
              rem MODE CON CP PREP=((858) %dosdir%CPIEGA.CPX)
              rem KEYB US,858,%dosdir%binkeyboard.sys
              rem CHCP 858
              rem PCNTPK INT=0x60
              rem DHCP
              rem MOUSE

              rem DEVLOAD /H /Q %dosdir%BINUIDE.SYS /H /D:FDCD0001 /S5

              SHSUCDX /QQ /~ /D:?SHSU-CDR,D /D:?SHSU-CDH,D /D:?FDCD0001,D /D:?FDCD0002,D /D:?FDCD0003,D

              rem MEM /C /N

              SHSUCDX /D

              rem DOSLFN

              rem LBACACHE.COM buf 20 flop

              SET AUTOFILE=%0
              SET CFGFILE=FDCONFIG.SYS
              alias reboot=fdapm warmboot
              alias reset=fdisk /reboot
              alias halt=fdapm poweroff
              alias shutdown=fdapm poweroff

              rem alias cfg=edit %cfgfile%
              rem alias auto=edit %0

              vecho /p Done processing startup files /fCyan FDCONFIG.SYS /a7 and /fCyan AUTOEXEC.BAT /a7/p


            7. Delete D:SETUP.BAT


            8. Done, safe your files and safely remove the USB stick


            Boot and test



            The USB key now boots directly into FreeDOS and loads into high memory, leaving roughly 600KB of common memory for programs.






            share|improve this answer




























              1














              Unfortunately the current information on the FreeDOS Wiki is not up to date, but with the help from FreeDos Developer Jim Hall I could find the solution:




              1. Download the USB “Full” installer from the FreeDOS page.

              2. Unpack the downloaded zip

              3. Use a USB formatting tool (for example rufus) to write the image to USB (take care to write over the right drive)

              4. Move the directory D:FDSETUPBIN to D:BIN


              5. Edit first and last two lines in D:FDCONFIG.SYS as follows



                !COUNTRY=001,858:BINCOUNTRY.SYS
                !LASTDRIVE=Z
                !BUFFERS=20
                !FILES=40

                DOS=HIGH
                DOS=UMB
                DOSDATA=UMB

                DEVICE=BINHIMEMX.EXE

                SHELLHIGH=COMMAND.COM BIN /E:2048 /P=AUTOEXEC.BAT



              6. Edit D:AUTOEXEC.BAT as follows (Windows will hide this file, but you can open it by directly giving the filename).
                Only the line setting the DOSDIR needs to be changed and some display code at the end of AUTOEXEC.BAT are to be removed



                @echo off
                SET DOSDIR=
                SET LANG=
                SET PATH=%dosdir%BIN

                SET DIRCMD=/P /OGN /Y

                rem SET TEMP=%dosdir%TEMP
                rem SET TMP=%TEMP%

                rem SET NLSPATH=%dosdir%NLS
                rem SET HELPPATH=%dosdir%HELP
                rem SET BLASTER=A220 I5 D1 H5 P330
                rem SET COPYCMD=/-Y

                DEVLOAD /H /Q %dosdir%BINUDVD2.SYS /D:FDCD0001

                SHSUCDX /QQ /D3

                rem SHSUCDHD /QQ /F:FDBOOTCD.ISO

                FDAPM APMDOS

                rem SHARE

                rem NLSFUNC %dosdir%BINCOUNTRY.SYS
                rem DISPLAY CON=(EGA),858,2)
                rem MODE CON CP PREP=((858) %dosdir%CPIEGA.CPX)
                rem KEYB US,858,%dosdir%binkeyboard.sys
                rem CHCP 858
                rem PCNTPK INT=0x60
                rem DHCP
                rem MOUSE

                rem DEVLOAD /H /Q %dosdir%BINUIDE.SYS /H /D:FDCD0001 /S5

                SHSUCDX /QQ /~ /D:?SHSU-CDR,D /D:?SHSU-CDH,D /D:?FDCD0001,D /D:?FDCD0002,D /D:?FDCD0003,D

                rem MEM /C /N

                SHSUCDX /D

                rem DOSLFN

                rem LBACACHE.COM buf 20 flop

                SET AUTOFILE=%0
                SET CFGFILE=FDCONFIG.SYS
                alias reboot=fdapm warmboot
                alias reset=fdisk /reboot
                alias halt=fdapm poweroff
                alias shutdown=fdapm poweroff

                rem alias cfg=edit %cfgfile%
                rem alias auto=edit %0

                vecho /p Done processing startup files /fCyan FDCONFIG.SYS /a7 and /fCyan AUTOEXEC.BAT /a7/p


              7. Delete D:SETUP.BAT


              8. Done, safe your files and safely remove the USB stick


              Boot and test



              The USB key now boots directly into FreeDOS and loads into high memory, leaving roughly 600KB of common memory for programs.






              share|improve this answer


























                1












                1








                1







                Unfortunately the current information on the FreeDOS Wiki is not up to date, but with the help from FreeDos Developer Jim Hall I could find the solution:




                1. Download the USB “Full” installer from the FreeDOS page.

                2. Unpack the downloaded zip

                3. Use a USB formatting tool (for example rufus) to write the image to USB (take care to write over the right drive)

                4. Move the directory D:FDSETUPBIN to D:BIN


                5. Edit first and last two lines in D:FDCONFIG.SYS as follows



                  !COUNTRY=001,858:BINCOUNTRY.SYS
                  !LASTDRIVE=Z
                  !BUFFERS=20
                  !FILES=40

                  DOS=HIGH
                  DOS=UMB
                  DOSDATA=UMB

                  DEVICE=BINHIMEMX.EXE

                  SHELLHIGH=COMMAND.COM BIN /E:2048 /P=AUTOEXEC.BAT



                6. Edit D:AUTOEXEC.BAT as follows (Windows will hide this file, but you can open it by directly giving the filename).
                  Only the line setting the DOSDIR needs to be changed and some display code at the end of AUTOEXEC.BAT are to be removed



                  @echo off
                  SET DOSDIR=
                  SET LANG=
                  SET PATH=%dosdir%BIN

                  SET DIRCMD=/P /OGN /Y

                  rem SET TEMP=%dosdir%TEMP
                  rem SET TMP=%TEMP%

                  rem SET NLSPATH=%dosdir%NLS
                  rem SET HELPPATH=%dosdir%HELP
                  rem SET BLASTER=A220 I5 D1 H5 P330
                  rem SET COPYCMD=/-Y

                  DEVLOAD /H /Q %dosdir%BINUDVD2.SYS /D:FDCD0001

                  SHSUCDX /QQ /D3

                  rem SHSUCDHD /QQ /F:FDBOOTCD.ISO

                  FDAPM APMDOS

                  rem SHARE

                  rem NLSFUNC %dosdir%BINCOUNTRY.SYS
                  rem DISPLAY CON=(EGA),858,2)
                  rem MODE CON CP PREP=((858) %dosdir%CPIEGA.CPX)
                  rem KEYB US,858,%dosdir%binkeyboard.sys
                  rem CHCP 858
                  rem PCNTPK INT=0x60
                  rem DHCP
                  rem MOUSE

                  rem DEVLOAD /H /Q %dosdir%BINUIDE.SYS /H /D:FDCD0001 /S5

                  SHSUCDX /QQ /~ /D:?SHSU-CDR,D /D:?SHSU-CDH,D /D:?FDCD0001,D /D:?FDCD0002,D /D:?FDCD0003,D

                  rem MEM /C /N

                  SHSUCDX /D

                  rem DOSLFN

                  rem LBACACHE.COM buf 20 flop

                  SET AUTOFILE=%0
                  SET CFGFILE=FDCONFIG.SYS
                  alias reboot=fdapm warmboot
                  alias reset=fdisk /reboot
                  alias halt=fdapm poweroff
                  alias shutdown=fdapm poweroff

                  rem alias cfg=edit %cfgfile%
                  rem alias auto=edit %0

                  vecho /p Done processing startup files /fCyan FDCONFIG.SYS /a7 and /fCyan AUTOEXEC.BAT /a7/p


                7. Delete D:SETUP.BAT


                8. Done, safe your files and safely remove the USB stick


                Boot and test



                The USB key now boots directly into FreeDOS and loads into high memory, leaving roughly 600KB of common memory for programs.






                share|improve this answer













                Unfortunately the current information on the FreeDOS Wiki is not up to date, but with the help from FreeDos Developer Jim Hall I could find the solution:




                1. Download the USB “Full” installer from the FreeDOS page.

                2. Unpack the downloaded zip

                3. Use a USB formatting tool (for example rufus) to write the image to USB (take care to write over the right drive)

                4. Move the directory D:FDSETUPBIN to D:BIN


                5. Edit first and last two lines in D:FDCONFIG.SYS as follows



                  !COUNTRY=001,858:BINCOUNTRY.SYS
                  !LASTDRIVE=Z
                  !BUFFERS=20
                  !FILES=40

                  DOS=HIGH
                  DOS=UMB
                  DOSDATA=UMB

                  DEVICE=BINHIMEMX.EXE

                  SHELLHIGH=COMMAND.COM BIN /E:2048 /P=AUTOEXEC.BAT



                6. Edit D:AUTOEXEC.BAT as follows (Windows will hide this file, but you can open it by directly giving the filename).
                  Only the line setting the DOSDIR needs to be changed and some display code at the end of AUTOEXEC.BAT are to be removed



                  @echo off
                  SET DOSDIR=
                  SET LANG=
                  SET PATH=%dosdir%BIN

                  SET DIRCMD=/P /OGN /Y

                  rem SET TEMP=%dosdir%TEMP
                  rem SET TMP=%TEMP%

                  rem SET NLSPATH=%dosdir%NLS
                  rem SET HELPPATH=%dosdir%HELP
                  rem SET BLASTER=A220 I5 D1 H5 P330
                  rem SET COPYCMD=/-Y

                  DEVLOAD /H /Q %dosdir%BINUDVD2.SYS /D:FDCD0001

                  SHSUCDX /QQ /D3

                  rem SHSUCDHD /QQ /F:FDBOOTCD.ISO

                  FDAPM APMDOS

                  rem SHARE

                  rem NLSFUNC %dosdir%BINCOUNTRY.SYS
                  rem DISPLAY CON=(EGA),858,2)
                  rem MODE CON CP PREP=((858) %dosdir%CPIEGA.CPX)
                  rem KEYB US,858,%dosdir%binkeyboard.sys
                  rem CHCP 858
                  rem PCNTPK INT=0x60
                  rem DHCP
                  rem MOUSE

                  rem DEVLOAD /H /Q %dosdir%BINUIDE.SYS /H /D:FDCD0001 /S5

                  SHSUCDX /QQ /~ /D:?SHSU-CDR,D /D:?SHSU-CDH,D /D:?FDCD0001,D /D:?FDCD0002,D /D:?FDCD0003,D

                  rem MEM /C /N

                  SHSUCDX /D

                  rem DOSLFN

                  rem LBACACHE.COM buf 20 flop

                  SET AUTOFILE=%0
                  SET CFGFILE=FDCONFIG.SYS
                  alias reboot=fdapm warmboot
                  alias reset=fdisk /reboot
                  alias halt=fdapm poweroff
                  alias shutdown=fdapm poweroff

                  rem alias cfg=edit %cfgfile%
                  rem alias auto=edit %0

                  vecho /p Done processing startup files /fCyan FDCONFIG.SYS /a7 and /fCyan AUTOEXEC.BAT /a7/p


                7. Delete D:SETUP.BAT


                8. Done, safe your files and safely remove the USB stick


                Boot and test



                The USB key now boots directly into FreeDOS and loads into high memory, leaving roughly 600KB of common memory for programs.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 8 at 22:40









                Peter B.Peter B.

                1263




                1263

























                    0














                    How can a complete FreeDos be installed onto a bootable usb stick?



                    See USB - FreeDOS:




                    This article describes how to create a USB boot "disk" using FreeDOS.




                    ...



                    The instructions for Windows are as follows (see the link above for instruction for Linux):




                    Partition the USB stick



                    If using Windows, your USB stick is mounted as something like E:. All
                    operations must be performed as Administrator (right click, Run as
                    Administrator) using Windows Vista, or Windows Server 2008. The
                    Windows Preinstallation Environment (WinPE) 2.x should also work, for
                    those that need it.



                    diskpart


                    Then enter the following diskpart commands:



                    list disk
                    select disk {disk number}
                    clean
                    create partition primary
                    select partition 1
                    active
                    format fs=fat32
                    assign
                    exit


                    Install a boot loader



                    It is probably easiest to use SYSLINUX. To do so, simply download and
                    extract the archive. Let's say you put it in C:syslinux, and your USB
                    stick is E:. Change to the location where you extracted SYSLINUX, and
                    run it:



                    cd /d C:syslinuxwin32
                    syslinux.exe -fma E:


                    Create a new file E:SYSLINUX.CFG as follows:



                    prompt 1
                    ontimeout q
                    default f32
                    timeout 1200

                    label f32
                    kernel fat32lba.bss
                    append -

                    # cancel and try next boot device
                    label q
                    localboot −1
                    kernel /memdisk
                    initrd /fdodin06.144


                    Copy the boot files from the FreeDOS "full" CD-ROM image
                    (fdfullcd.iso) to your USB stick. In the following, assume the CD-ROM
                    drive is mounted as D:.



                    md E:ODIN
                    XCOPY D:FREEDOSSETUPODIN* E:ODIN /E/H/I
                    move E:ODINCOMMAND.COM E:
                    move E:ODINKERNEL.SYS E:


                    Extract sourceukernelbootfat32lba.bin from
                    D:FREEDOSPACKAGESSRC_BASEKERNELS.ZIP to the root of your USB drive
                    and rename it to fat32lba.bss



                    Boot and test



                    Your USB key should now boot directly into FreeDOS. You can modify the
                    contents of the USB stick directly as you like.




                    Source USB - FreeDOS






                    share|improve this answer
























                    • Thanks for the detailled tutorial, but are you sure this is up to date? I could not find an image named fdfullcd.iso on the FreeDOS download site, so I assumed the CDROM standard installer image was meant. However, that image has no directory SETUPODIN (I searched the whole dir tree), so I am not sure what to copy.

                      – Peter B.
                      Dec 30 '18 at 19:45











                    • @PeterB. Try the USB Full Installer ...

                      – DavidPostill
                      Dec 30 '18 at 19:50











                    • The USB Full Installer image contains a folder FDSETUP and a folder SETUP, but there is also no ODIN in the dir tree. Could you update the xcopy D:... line to this pls?

                      – Peter B.
                      Dec 30 '18 at 19:55













                    • @PeterB. I'm not going to update anything. I don't use FreeDos. I'm not responsible for any documentation. If it is out of date you need to contact the developers.

                      – DavidPostill
                      Dec 30 '18 at 19:58











                    • Sorry, didn't want to put a request on you, was just asking in case you have the answer. I'll keep on searching.

                      – Peter B.
                      Dec 30 '18 at 20:04
















                    0














                    How can a complete FreeDos be installed onto a bootable usb stick?



                    See USB - FreeDOS:




                    This article describes how to create a USB boot "disk" using FreeDOS.




                    ...



                    The instructions for Windows are as follows (see the link above for instruction for Linux):




                    Partition the USB stick



                    If using Windows, your USB stick is mounted as something like E:. All
                    operations must be performed as Administrator (right click, Run as
                    Administrator) using Windows Vista, or Windows Server 2008. The
                    Windows Preinstallation Environment (WinPE) 2.x should also work, for
                    those that need it.



                    diskpart


                    Then enter the following diskpart commands:



                    list disk
                    select disk {disk number}
                    clean
                    create partition primary
                    select partition 1
                    active
                    format fs=fat32
                    assign
                    exit


                    Install a boot loader



                    It is probably easiest to use SYSLINUX. To do so, simply download and
                    extract the archive. Let's say you put it in C:syslinux, and your USB
                    stick is E:. Change to the location where you extracted SYSLINUX, and
                    run it:



                    cd /d C:syslinuxwin32
                    syslinux.exe -fma E:


                    Create a new file E:SYSLINUX.CFG as follows:



                    prompt 1
                    ontimeout q
                    default f32
                    timeout 1200

                    label f32
                    kernel fat32lba.bss
                    append -

                    # cancel and try next boot device
                    label q
                    localboot −1
                    kernel /memdisk
                    initrd /fdodin06.144


                    Copy the boot files from the FreeDOS "full" CD-ROM image
                    (fdfullcd.iso) to your USB stick. In the following, assume the CD-ROM
                    drive is mounted as D:.



                    md E:ODIN
                    XCOPY D:FREEDOSSETUPODIN* E:ODIN /E/H/I
                    move E:ODINCOMMAND.COM E:
                    move E:ODINKERNEL.SYS E:


                    Extract sourceukernelbootfat32lba.bin from
                    D:FREEDOSPACKAGESSRC_BASEKERNELS.ZIP to the root of your USB drive
                    and rename it to fat32lba.bss



                    Boot and test



                    Your USB key should now boot directly into FreeDOS. You can modify the
                    contents of the USB stick directly as you like.




                    Source USB - FreeDOS






                    share|improve this answer
























                    • Thanks for the detailled tutorial, but are you sure this is up to date? I could not find an image named fdfullcd.iso on the FreeDOS download site, so I assumed the CDROM standard installer image was meant. However, that image has no directory SETUPODIN (I searched the whole dir tree), so I am not sure what to copy.

                      – Peter B.
                      Dec 30 '18 at 19:45











                    • @PeterB. Try the USB Full Installer ...

                      – DavidPostill
                      Dec 30 '18 at 19:50











                    • The USB Full Installer image contains a folder FDSETUP and a folder SETUP, but there is also no ODIN in the dir tree. Could you update the xcopy D:... line to this pls?

                      – Peter B.
                      Dec 30 '18 at 19:55













                    • @PeterB. I'm not going to update anything. I don't use FreeDos. I'm not responsible for any documentation. If it is out of date you need to contact the developers.

                      – DavidPostill
                      Dec 30 '18 at 19:58











                    • Sorry, didn't want to put a request on you, was just asking in case you have the answer. I'll keep on searching.

                      – Peter B.
                      Dec 30 '18 at 20:04














                    0












                    0








                    0







                    How can a complete FreeDos be installed onto a bootable usb stick?



                    See USB - FreeDOS:




                    This article describes how to create a USB boot "disk" using FreeDOS.




                    ...



                    The instructions for Windows are as follows (see the link above for instruction for Linux):




                    Partition the USB stick



                    If using Windows, your USB stick is mounted as something like E:. All
                    operations must be performed as Administrator (right click, Run as
                    Administrator) using Windows Vista, or Windows Server 2008. The
                    Windows Preinstallation Environment (WinPE) 2.x should also work, for
                    those that need it.



                    diskpart


                    Then enter the following diskpart commands:



                    list disk
                    select disk {disk number}
                    clean
                    create partition primary
                    select partition 1
                    active
                    format fs=fat32
                    assign
                    exit


                    Install a boot loader



                    It is probably easiest to use SYSLINUX. To do so, simply download and
                    extract the archive. Let's say you put it in C:syslinux, and your USB
                    stick is E:. Change to the location where you extracted SYSLINUX, and
                    run it:



                    cd /d C:syslinuxwin32
                    syslinux.exe -fma E:


                    Create a new file E:SYSLINUX.CFG as follows:



                    prompt 1
                    ontimeout q
                    default f32
                    timeout 1200

                    label f32
                    kernel fat32lba.bss
                    append -

                    # cancel and try next boot device
                    label q
                    localboot −1
                    kernel /memdisk
                    initrd /fdodin06.144


                    Copy the boot files from the FreeDOS "full" CD-ROM image
                    (fdfullcd.iso) to your USB stick. In the following, assume the CD-ROM
                    drive is mounted as D:.



                    md E:ODIN
                    XCOPY D:FREEDOSSETUPODIN* E:ODIN /E/H/I
                    move E:ODINCOMMAND.COM E:
                    move E:ODINKERNEL.SYS E:


                    Extract sourceukernelbootfat32lba.bin from
                    D:FREEDOSPACKAGESSRC_BASEKERNELS.ZIP to the root of your USB drive
                    and rename it to fat32lba.bss



                    Boot and test



                    Your USB key should now boot directly into FreeDOS. You can modify the
                    contents of the USB stick directly as you like.




                    Source USB - FreeDOS






                    share|improve this answer













                    How can a complete FreeDos be installed onto a bootable usb stick?



                    See USB - FreeDOS:




                    This article describes how to create a USB boot "disk" using FreeDOS.




                    ...



                    The instructions for Windows are as follows (see the link above for instruction for Linux):




                    Partition the USB stick



                    If using Windows, your USB stick is mounted as something like E:. All
                    operations must be performed as Administrator (right click, Run as
                    Administrator) using Windows Vista, or Windows Server 2008. The
                    Windows Preinstallation Environment (WinPE) 2.x should also work, for
                    those that need it.



                    diskpart


                    Then enter the following diskpart commands:



                    list disk
                    select disk {disk number}
                    clean
                    create partition primary
                    select partition 1
                    active
                    format fs=fat32
                    assign
                    exit


                    Install a boot loader



                    It is probably easiest to use SYSLINUX. To do so, simply download and
                    extract the archive. Let's say you put it in C:syslinux, and your USB
                    stick is E:. Change to the location where you extracted SYSLINUX, and
                    run it:



                    cd /d C:syslinuxwin32
                    syslinux.exe -fma E:


                    Create a new file E:SYSLINUX.CFG as follows:



                    prompt 1
                    ontimeout q
                    default f32
                    timeout 1200

                    label f32
                    kernel fat32lba.bss
                    append -

                    # cancel and try next boot device
                    label q
                    localboot −1
                    kernel /memdisk
                    initrd /fdodin06.144


                    Copy the boot files from the FreeDOS "full" CD-ROM image
                    (fdfullcd.iso) to your USB stick. In the following, assume the CD-ROM
                    drive is mounted as D:.



                    md E:ODIN
                    XCOPY D:FREEDOSSETUPODIN* E:ODIN /E/H/I
                    move E:ODINCOMMAND.COM E:
                    move E:ODINKERNEL.SYS E:


                    Extract sourceukernelbootfat32lba.bin from
                    D:FREEDOSPACKAGESSRC_BASEKERNELS.ZIP to the root of your USB drive
                    and rename it to fat32lba.bss



                    Boot and test



                    Your USB key should now boot directly into FreeDOS. You can modify the
                    contents of the USB stick directly as you like.




                    Source USB - FreeDOS







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Dec 30 '18 at 11:23









                    DavidPostillDavidPostill

                    104k25225259




                    104k25225259













                    • Thanks for the detailled tutorial, but are you sure this is up to date? I could not find an image named fdfullcd.iso on the FreeDOS download site, so I assumed the CDROM standard installer image was meant. However, that image has no directory SETUPODIN (I searched the whole dir tree), so I am not sure what to copy.

                      – Peter B.
                      Dec 30 '18 at 19:45











                    • @PeterB. Try the USB Full Installer ...

                      – DavidPostill
                      Dec 30 '18 at 19:50











                    • The USB Full Installer image contains a folder FDSETUP and a folder SETUP, but there is also no ODIN in the dir tree. Could you update the xcopy D:... line to this pls?

                      – Peter B.
                      Dec 30 '18 at 19:55













                    • @PeterB. I'm not going to update anything. I don't use FreeDos. I'm not responsible for any documentation. If it is out of date you need to contact the developers.

                      – DavidPostill
                      Dec 30 '18 at 19:58











                    • Sorry, didn't want to put a request on you, was just asking in case you have the answer. I'll keep on searching.

                      – Peter B.
                      Dec 30 '18 at 20:04



















                    • Thanks for the detailled tutorial, but are you sure this is up to date? I could not find an image named fdfullcd.iso on the FreeDOS download site, so I assumed the CDROM standard installer image was meant. However, that image has no directory SETUPODIN (I searched the whole dir tree), so I am not sure what to copy.

                      – Peter B.
                      Dec 30 '18 at 19:45











                    • @PeterB. Try the USB Full Installer ...

                      – DavidPostill
                      Dec 30 '18 at 19:50











                    • The USB Full Installer image contains a folder FDSETUP and a folder SETUP, but there is also no ODIN in the dir tree. Could you update the xcopy D:... line to this pls?

                      – Peter B.
                      Dec 30 '18 at 19:55













                    • @PeterB. I'm not going to update anything. I don't use FreeDos. I'm not responsible for any documentation. If it is out of date you need to contact the developers.

                      – DavidPostill
                      Dec 30 '18 at 19:58











                    • Sorry, didn't want to put a request on you, was just asking in case you have the answer. I'll keep on searching.

                      – Peter B.
                      Dec 30 '18 at 20:04

















                    Thanks for the detailled tutorial, but are you sure this is up to date? I could not find an image named fdfullcd.iso on the FreeDOS download site, so I assumed the CDROM standard installer image was meant. However, that image has no directory SETUPODIN (I searched the whole dir tree), so I am not sure what to copy.

                    – Peter B.
                    Dec 30 '18 at 19:45





                    Thanks for the detailled tutorial, but are you sure this is up to date? I could not find an image named fdfullcd.iso on the FreeDOS download site, so I assumed the CDROM standard installer image was meant. However, that image has no directory SETUPODIN (I searched the whole dir tree), so I am not sure what to copy.

                    – Peter B.
                    Dec 30 '18 at 19:45













                    @PeterB. Try the USB Full Installer ...

                    – DavidPostill
                    Dec 30 '18 at 19:50





                    @PeterB. Try the USB Full Installer ...

                    – DavidPostill
                    Dec 30 '18 at 19:50













                    The USB Full Installer image contains a folder FDSETUP and a folder SETUP, but there is also no ODIN in the dir tree. Could you update the xcopy D:... line to this pls?

                    – Peter B.
                    Dec 30 '18 at 19:55







                    The USB Full Installer image contains a folder FDSETUP and a folder SETUP, but there is also no ODIN in the dir tree. Could you update the xcopy D:... line to this pls?

                    – Peter B.
                    Dec 30 '18 at 19:55















                    @PeterB. I'm not going to update anything. I don't use FreeDos. I'm not responsible for any documentation. If it is out of date you need to contact the developers.

                    – DavidPostill
                    Dec 30 '18 at 19:58





                    @PeterB. I'm not going to update anything. I don't use FreeDos. I'm not responsible for any documentation. If it is out of date you need to contact the developers.

                    – DavidPostill
                    Dec 30 '18 at 19:58













                    Sorry, didn't want to put a request on you, was just asking in case you have the answer. I'll keep on searching.

                    – Peter B.
                    Dec 30 '18 at 20:04





                    Sorry, didn't want to put a request on you, was just asking in case you have the answer. I'll keep on searching.

                    – Peter B.
                    Dec 30 '18 at 20:04


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388931%2fhow-to-install-freedos-onto-a-usb-stick%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                    Eduardo VII do Reino Unido