![]() |
Ms-dos & grub
How can you set up GRUB to be able to boot MS-DOS? I've tried a couple of things with no luck. What should be in the GRUB menu.lst for DOS.
And if it's not very easy to do it's not a big deal. I mostly just want to have DOS for the fact that it is DOS. |
Here's an example of dual booting to Windows on a different drive from grub.
Code:
title Windows Server 2003 |
If you have Dos installed on a separate drive then as Quakeboy02 has posted should get you going. But if you have Dos installed on the same drive as Linux you should be able to chainload some thing like this.
Code:
root (hd0,0) |
What is implied here, but not stated directly, is that DOS has it's own bootloader. With "chainloader", you are passing control to the DOS loader just as you would for Windows.
As to why anyone would WANT DOS, I defer to the real experts here....;) (I always have seen DOS as sort of like Unix, but with some strange syntax, partitions called "drives", and all the "/"s going the wrong way.) |
The good old dos days, "pixellany" you don't know what you missed.
"Chronothread" This may help. http://ubuntuforums.org/archive/index.php/t-143192.html http://www.linuxselfhelp.com/gnu/gru...er/grub_4.html |
Quote:
I had the opportunity to experience the earliest 128K Macs with no harddrive, learning to write Mac apps in C (when the Mac OS itself was written in Pascal), experiencing the mind-blowing performance breakthru when installing one of the first 10 MEGA-byte Hyper-drives. Then on to the era of the Power-Mac (AKA Crash-o-Mat). It was my 7100, crashing a minimum of once per day, that moved me to Windows 95......incomprehensible today that Win95 would be seen as an improvement over anything. What would have happened to modern computing if: --Apple had had more coherent management in the early years. --Linus Torvalds had been born 5 years earlier. --The USA had had a rational approach to controlling monopolies and excessive corporate power. ??? |
Thanks everyone for the replies.
MrRangerMan, I tried the code you suggested and I got the following: Code:
Booting 'MS-DOS'Thanks again for your help. |
Mark the partition flag as boot with parted magic or gparted.
|
Quote:
But seriously, there is excellent advice here in amongst the humor -- no idiot wrong paths in the lot. |
I tried flagging the fat32 partition as boot but it still gives the same result. Also, I tried unflagging it as boot and loading it like that. When I did that it gave the same result, but the weird thing was that when I reloaded gparted it was already flagged as boot again. Maybe I'm doing something wrong when I'm closing gparted or something?
Thanks for your help so far. |
Quote:
So the challenge is putting in an actual MS-DOS boot code into the partition you want to boot. |
Quote:
Added: Chronothread did you specify how many drives etc in this thread and I just missed them? How many drives do you have. Exactly how are they partitioned? Did DOS (is it DOS and not windows) actually boot before you installed grub? |
Just one drive. I've got the first partition as fat32 for DOS. Second as puppy ext3. Third as Linux Swap. It is MS-DOS 7.10 which is installed. When installing I was going to try to see if it would work by itself, but whenever it tried to edit the MBR the installation would freeze up. However, this also happened whenever I let it try to search for a usable partition. By skipping those two parts the rest of the installation went off without a hitch. However, because of not letting it edit the MBR and since I haven't gotten it to work on GRUB yet I have not yet had it running.
Thanks for your help. |
You might give Super Grub Disk a try to see if that will fix it for you.
|
| All times are GMT -5. The time now is 07:35 PM. |