delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/01/20/20:09:04

Date: Mon, 20 Jan 97 17:27:57 MST
Message-Id: <9701210027.AA05968@rgfn.epcc.Edu>
From: av568 AT rgfn DOT epcc DOT Edu (Beautiful Savior Lutheran Church)
To: opendos AT mail DOT tacoma DOT net
Subject: [opendos] Using GRUB as a Multibooter
Reply-To: av568 AT rgfn DOT epcc DOT Edu
Sender: owner-opendos AT mail DOT tacoma DOT net


I have got GRUB working on my MS-DOS machine!

Here are detailed instructions, oddly missing from the GRUB distribution: :)

1) download the grub archive (http://www.uruk.org/grub)
2) decompress and detar it, using 'gzip -d' and 'djtarx' (assuming you 
   have DJGPP installed, which I *know* you do.. :)
3) make a floppy as described in docs/install.htm
4) setup your /boot/grub directory as described in docs/install.htm
   At this point, you must decide weather to make a seperate partition 
   for your GRUB boot files. I did not, using my main partition (hd0 (or 
   C: for the non-Unix inclined), partition 0), but it would be simple to 
   use a seperate one.
5) setup your menu.lst file. Most options are preference, but here is 
   what you need to boot MS-DOS:

   # select hard drive 0, partition 0 (c:)
   root= (hd0,0) 
   # make it active
   makeactive
   # load the boot program
   chainloader=+1

   Look at the example file for information on how to properly set this 
   up, and set titles, etc.
6) Now comes the crucial moment: installing. Boot with your GRUB floppy, 
   and type this at the prompt:

   install= (fd0)+1 (hd?) (hd?,?)/boot/grub/stage2 0x8000 p

   Replace each ? with the appropriate number. This applies throughout 
   this document. For example, here is the command I used:

   install= (fd0)+1 (hd0) (hd0,0)/boot/grub/stage2 0x8000 p
7) You can remove the GRUB floppy and reboot to get your bootup menu, or 
   boot manually from the GRUB system. To boot from GRUB:

   root=(hd?,?)
   chainloader=+1
   boot

From now on, when you boot up, you will be presented with a menu 
according to what is in /boot/grub/menu.lst. This menu is *very* similar 
to the MS-DOS v6.x multiconfig menu.

Good luck, and have fun. I'll post an update on how to add OpenDOS to 
menu.lst when I get my copy. :)



--
Beautiful Savior Evangelical Lutheran Church - av568 AT rgfn DOT epcc DOT edu
We have what you need-- A Savior!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019