LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-23-2019, 11:55 PM   #1
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Rep: Reputation: 0
Dual boot DOS 6.22 and linux


Dual boot DOS 6.22 and linux. Starting with a clean HD. If dependent on linux distro, I'm flexible have used several in the past decade.

Installation order?

Any particular linux distro easier?

I've searched quite a bit and come up with nothing.

Anyone actually done this?

NOT interested in WINE, emulators etc.

Thanks for any info.
 
Old 06-24-2019, 01:48 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
I have multiple multiboot PCs that include PC DOS 2000 (PC DOS 7 with Y2K update), which has the same ancient limitations as 6.22. They were all created well over a decade ago. Those on newer PCs/disks are clones from older.

Distro and installation order do not matter as long as you understand boot flags in partition tables and how to manage them for legacy operating systems. The following (IIRC) do matter:
  • Partitioning must be MBR/legacy style
  • Installation target must be a primary partition on a 512 byte per (logical or physical) sector HD
  • Partition must be within the first ~8GB of the disk if logical 255 head 63 sector partitioning is used. Constraint is reduced for smaller logical CHS values, such as current norm of 64 head 32 sector limiting it to within first 1GB.
  • Target partition only must have the boot flag set
Once the installation is complete and tested, the boot flag is no longer required for a Gnu or other generic bootloader to be used to boot it, but there cannot be more than one primary partition's boot flag set per disk.

Easiest method is to partition first using any partitioning tool capable of incorporating the above listed conditions, then boot DOS floppy to run
Code:
FORMAT C: /S
then xcopy or extract the files from source media to C:\ or C:\DOS. It's been more than 25 years since I tried installing DOS by any other method.

Why do you want to use 6.22 instead of FreeDOS?
 
1 members found this post helpful.
Old 06-24-2019, 02:47 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Isn't this a classic case for a vm guest ?. Might save a lot of needless grief - you could give it "hardware" it knows about.
 
Old 06-24-2019, 02:58 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Some DOS software lacks functionality in a VM. None of the Gnu DOS emulators I tried support the proprietary SVGA text modes required for optimal operation of the ancient Borland apps I still use. One "emulator" works better that DOS - OS/2 - which runs an IBM DOS session on top of a competent I/O subsystem. Pure DOS is a slug with "big" files and its BIOS disk access. In OS/2, big files load and save quickly just like in Linux. FreeDOS probably can do as well, but I haven't had motivation to do that testing.
 
Old 06-24-2019, 11:13 AM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,221

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
I'm extremely curious as to why you want to do this.

And my recommendation is to just make a FreeDOS boot USB or CD.
 
2 members found this post helpful.
Old 06-24-2019, 03:02 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I've used DOS with zipslack many years ago. Think you can still find it. As I recall one could boot to DOS then use loadlin maybe to switch to linux on some old kernels.

Just really not enough info for us to guess. I think you'd have to have an older machine to boot DOS. As above that gets much easier to do on modern hardware with a VM or other means.

Can consider dosbox.
 
Old 06-24-2019, 10:26 PM   #7
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dugan View Post
I'm extremely curious as to why you want to do this.

And my recommendation is to just make a FreeDOS boot USB or CD.

The main reason is that I am recovering files from old QIC80 tapes that were originally made from a FAT16 formatted disk and can only be recovered to a FAT16 formatted disk. I know very little about FreeDOS but I believe that it needs a FAT32 formatted disk. There may be other subtle differences in DOS and FreeDOS and I have no idea if my tape backup software uses any of them.
 
Old 06-24-2019, 11:09 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
mkfs.fat (on linux) will build fat16 if so directed. If you insist on real dual-boot see mrmazda notes above - the rest of up probably haven't attempted anything like that this century.
 
Old 06-25-2019, 03:02 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
How does this tape connect?

To expand a bit on syg00's suggestion, you have ways to container that filesystem too. From virtual filesystem within some method like squashfs or aufs or maybe a file/iso.

Shouldn't tar take file by file from tape. I guess you are saying that you some binary data on tapes.
 
Old 06-29-2019, 07:15 AM   #10
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 687
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by skippy1729 View Post
Dual boot DOS 6.22 and linux. Starting with a clean HD. If dependent on linux distro, I'm flexible have used several in the past decade.

Installation order?
DOS must be installed first, I remember that from the early days. And it must be on the first partition of drive 1.

Quote:
Originally Posted by skippy1729 View Post
Any particular linux distro easier?
Loaded question, but Slackware still defaults to LILO, and LILO should still work with DOS. But you should set your BIOS to legacy boot.

John

Last edited by jmccue; 06-29-2019 at 07:15 AM. Reason: comment
 
Old 06-29-2019, 08:09 AM   #11
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by jmccue View Post
DOS must be installed first, I remember that from the early days. And it must be on the first partition of drive 1.
I've been multibooting over 25 years. While DOS must think it is on drive 1, the rest is myth carried forward into Windows 3.x, 95, 98, ME, 2000, XP, etc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linking a dos (win98) in dos mode. barry ftn Linux - Newbie 24 07-17-2015 04:49 PM
fdisk - defaults to non Dos but yet uses Dos disklabel dman777 Linux - Hardware 3 04-11-2015 02:40 PM
Executing Perl under Dos /Creating an executable for DOS alix123 Programming 1 02-15-2006 04:07 AM
Dos Emulator without Dos dtheorem Linux - Software 1 10-14-2003 01:18 PM
Dos Emulator without Dos dtheorem Linux - Software 1 10-14-2003 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration