LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Booting MsDos 6.1 from second HD problem. (http://www.linuxquestions.org/questions/linux-newbie-8/booting-msdos-6-1-from-second-hd-problem-531700/)

uncle-c 02-23-2007 10:31 AM

Booting MsDos 6.1 from second HD problem.
 
Here is my setup.

hda = Red Hat Linux 7.1

hdb - MsDos

grub.conf

Code:

root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
        initrd /initrd-2.4.18-14.img

title MsDos 6.1
        map (hd1,0) (hd0,0)
        map (hd0,0) (hd1,0)
        rootnoverify (hd1,0)
        chainloader +1
        makeactive

Red Hat boots fine, but no such luck with msdos 6.1. Any clues ?

Tinkster 02-23-2007 12:14 PM

*should work*

What happens when you try to boot DOS, and how did it get
installed there?



Cheers,
Tink

uncle-c 02-23-2007 12:37 PM

Problem solved. The grub stanza needed adjusting :

title MsDos 6.1
root (hd1,0)
map (hd1,0) (hd0,0)
map (hd0,0) (hd1,0)
makeactive
chainloader +1

With regards to how it got there. I had an old 486 SX33 rotting away. The cmos battery had run out and it was not the replaceable type but the variety that are soldered onto the motherboard. So I took out the HD and put it onto an old pc running RH7.1 to see if it would still be operational.
Congratulations to Grub !!!!
Makes you laugh at how restricted Dos is/was in comparison to Unix/Linux.
:)
Cheers,
Uncle


All times are GMT -5. The time now is 11:34 AM.