Page 1 of 1

Has anyone installed DOS afterpuppy?

Posted: Tue Jan 19, 2021 8:58 pm
by sj60

Hi Puppy users

Has anyone installed MS DOS after installing puppy and what is the best way to do this?

My setup is bionicpup32 8.0 booting from the HDD. I have no other OS although Grub4Dos has the 'empty' boot option to Windows. By empty I mean it doesnt boot to anything.

I have 2 partitions on my boot HDD:
70 GB primary partition, boot flagged, ext3 formatted (this was preceded by an approx 1 MB unallocated space);
5 GB primary partition, ext3 linux swap file. ext3 seemed to work for me.

This is my boot menu:

Code: Select all

# menu.lst produced by grub4dosconfig-v1.9.3
color white/blue black/cyan white/black cyan/black
#splashimage=/splash.xpm
timeout 10
default 0

# Full installed Linux

title BionicPup32 19.03 (sda1/boot)
  root (hd0,0)
  kernel /boot/vmlinuz root=/dev/sda1 ro 
  initrd /boot/initrd.gz

title BionicPup32 19.03 (sda1/boot)
  root (hd0,0)
  kernel /boot/vmlinuz root=/dev/sda1 ro 
  initrd /boot/initrd.gz

# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
  errorcheck off
  find --set-root --ignore-floppies --ignore-cd  /bootmgr
  chainloader /bootmgr
  find --set-root --ignore-floppies --ignore-cd  /ntldr
  chainloader /ntldr
  find --set-root --ignore-floppies --ignore-cd   /io.sys
  chainloader /io.sys
  errorcheck on

# Advanced Menu
title Advanced menu
  configfile /menu-advanced.lst
  commandline

I want to install DOS 6.2 on a 100 MB FAT16 partition (is FAT16 possible now?).
Why DOS? because nostalgia has grabbed me.

What is the best way to do this to avoid any hiccups and given the above, and what modifications, if any, do I need to make to the 'Windows' boot loader?

I have been researching but all the info is about installing puppy AFTER you have DOS etc. I dont want to just go backwards as I suspect it might land me in trouble.

Many thanks!


Re: Has anyone installed DOS afterpuppy?

Posted: Tue Jan 19, 2021 9:00 pm
by s243a

Puppy Arcade has a dos emulator called dosbox.


Re: Has anyone installed DOS afterpuppy?

Posted: Wed Jan 20, 2021 1:40 am
by Grey

Perhaps, FreeDOS can help you deal with the feeling of nostalgia?
https://www.freedos.org/


Re: Has anyone installed DOS afterpuppy?

Posted: Wed Jan 20, 2021 2:57 am
by rockedge

Best bet and works well is DOSBox. I've made PET files here:
http://rockedge.org/kernels/data/PET/Bi ... x86_64.pet
http://rockedge.org/kernels/data/PET/Bi ... 2-i686.pet

Then I've had good results running a VirtualBox machine formating a drive fat16 and installing DOS from virtual floppy drive images. Make sure to limit CPU cycles in the virtual machine's settings. I also got a network connection going and a ftp client to be able to load some software. There is a lot of DOS programs out there...most can be had for free.


Re: Has anyone installed DOS afterpuppy?

Posted: Wed Jan 20, 2021 6:26 am
by bigpup

Grub4dos bootloader config always makes an entry for Windows, even if Windows is not on the computer.
All the Windows stuff can be deleted from the menu.lst file by opening the file in a text editor and editing it.
Also when you run Grub4dos config and it gets to the window showing what it is going to make for a menu.
Just delete the entry for Windows.
When Grub4dos config completes, no Windows entry will be in the menu.

The biggest reason to first install DOS. It's installer program may try to totally takeover the partition and format layout of the drive.
If that happens, Puppy is going to get removed.


Re: Has anyone installed DOS afterpuppy?

Posted: Fri Jan 22, 2021 2:05 am
by sj60

Thanks @rockedge
I downloaded the 32bit pet file and am now playing around with it. Works pretty nicely. Takes some getting used to as its working through a vm. I would like to get direct access to the floppy and CD drives however rather than copy images of them. This is a basic question but can puppy access files I create once I end a dosbox session?
Thanks!

@Grey I will also be checking out freedos too.


Re: Has anyone installed DOS afterpuppy?

Posted: Fri Jan 22, 2021 2:09 am
by sj60

Thanks @bigpup on your insights into Grub4Dos and the headsup on how things can go south going the other way. I will be treading carefully!


Re: Has anyone installed DOS afterpuppy?

Posted: Fri Jan 22, 2021 2:31 am
by rockedge
sj60 wrote: Fri Jan 22, 2021 2:05 am

can puppy access files I create once I end a dosbox session?

Yes it is possible to access the files. I have all my DOS programs for example in /mnt/sda1/dos which I automatically mount as drive c:\ by adding the commands to the AUTOEXEC.BAT section at the bottom of the DOSBox.conf file.

screenshot-2.png
screenshot-2.png (36.01 KiB) Viewed 814 times

I have also Norton's Commander start up in the AUTOEXEC.BAT

If you run DOS in a VirtualBox machine make sure to limit the CPU cycles in the VBox settings! DOS was designed to run the CPU full speed always. So limiting the CPU to 60% (test what works for you) will keep the host system happy.