LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-26-2005, 04:34 AM   #1
rookworm
LQ Newbie
 
Registered: Oct 2005
Distribution: debian sarge& windows xp
Posts: 21

Rep: Reputation: 15
Red face about to do the unthinkable....


I have a partitioned hard drive with linux on one parition, and fat16 on another (must be so for my laptop's hibernation file). I was just idly thinking to my self, when an evil idea came upon me: what if I were to install Ms-dos on it and use it to play old games (it is a 486). The question is: how to I get dos on there without overwriting the mbr? Are the alternatives (freedos, pc dos, etc) compatible with all old games?

-thanks!
 
Old 10-26-2005, 05:56 AM   #2
pevelius
Member
 
Registered: Mar 2004
Location: Tampere, Finland
Distribution: Debian, Familiar, OS X
Posts: 145

Rep: Reputation: 16
ms-dos is for ladies, mr-dos is for guys. also check dos and donts of mr-dos before using it.

anyway, here might be some help:

http://www.google.com/search?q=play+dos+games+in+linux

Last edited by pevelius; 10-26-2005 at 06:01 AM.
 
Old 10-26-2005, 07:38 AM   #3
Orkie
Member
 
Registered: Mar 2005
Distribution: Breezy Badger
Posts: 248

Rep: Reputation: 30
DOSBox has always worked quite well for me for running DOS programs but I've never tried it with any games. FreeDOS is supposed to be trying to be 100% compatible with MS-DOS and I've never had a DOS program fail to run on that for me either.

Quite how you would get it on without touching the MBR I don't know but it must be possible.
 
Old 10-26-2005, 08:29 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Do this:
dd if=/dev/hda of=/mbrbackup bs=446 count=1
Then, after dos erases the mbr, use a linux boot disk and do
dd if=/mbrbackup of=/dev/hda bs=446 count=1
 
Old 10-26-2005, 08:59 AM   #5
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
You need a pretty decent computer to run games in DOSbox. The 2G Celeron I'm stuck with currently has trouble with some games.

Last edited by muddywaters; 10-26-2005 at 09:09 AM.
 
Old 10-27-2005, 01:02 AM   #6
rookworm
LQ Newbie
 
Registered: Oct 2005
Distribution: debian sarge& windows xp
Posts: 21

Original Poster
Rep: Reputation: 15
can i install dos on another disk and dd it over to the partition, or would there be some configuration issues there? What is the grub command to boot dos?
 
Old 10-27-2005, 07:04 AM   #7
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Why not kill the hibernatoin partition, do you actually use it? I suspend mine when I got from home to work and back and it doesn't even use 10% of the battery, I could stay suspended for days at that rate, so I turned off hibernation and don't use deleted the partition
 
Old 10-27-2005, 09:07 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"can i install dos on another disk and dd it over to the partition, or would there be some configuration issues there?"

I used to dual boot Linux and Novell DOS 7. DOS would only work if I installed it on /dev/hda1. When I copied it from one partition to another I used cp and had no problems. (I can't remember if I had to do anything special to copy the hidden files.)

"What is the grub command to boot dos?"

Here is an explanation of booting DOS with grub.
http://www.gnu.org/software/grub/man...OS_002fWindows

I only used DOS for 10 minutes a week. Rather than put Novell DOS 7 in LILO I created a bootable DOS floppy with the 2 hidden files and command.com. I booted this floppy to the A> prompt. Then I switched to C> and I was in business.

-------------------------
Steve Stites
 
Old 10-30-2005, 01:20 AM   #9
rookworm
LQ Newbie
 
Registered: Oct 2005
Distribution: debian sarge& windows xp
Posts: 21

Original Poster
Rep: Reputation: 15
okay, thanks for the information.

My laptop does not have a floppy or cd drive, so the only feasible way of putting dos on it is by putting the files on the 1st partition using linux (from the harddisk/network). I want to be very careful with overwriting boot records, etc. I have a copy of all the files from a working dos installation on another computer, and of course access to freedos. I can put all the system files on the partition, but I need to know where I can find an image of a boot sector for that partition I can dd into it, and also the exact command I should use.

Thank you
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
the unthinkable has happened graffitici Linux - Software 9 09-21-2003 08:26 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:35 AM.

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