Grub works a charm with LEAF - I've been using it with Bering for ages.
I like it because it has decent security, good serial console support,
and happily boots FreeDOS as well.  I use DOS as a lifesaver when I've
rendered a Bering system unbootable with a bung kernel or package - it
takes about 1MByte of a compact flash - well worth it, IMHO.

I'm sorry, I don't have time to write a full howto, but I will write
down what I do, in the hope that somebody else will flesh it out to
sufficient quality that it can go into the LEAF docs.  Warning, all this
is typed from memory - it could all be lies :-).  It's also not optimal
- there ought to be a way to do this without the floppy disk, but I've
never bothered to find out.

Grub mini-mini-howto:

1)  Get an IDE device of some sort.  Grub in't worth it for floppies.
Organise a machine that can boot from a floppy drive and from the IDE
device.

2) create a Grub boot floppy, either by downloading the grub ext2 image

ftp://alpha.gnu.org/gnu/grub/grub-0.93-i386-pc.ext2fs

and dd'ing it to floppy, or by following the instructions on

http://www.gnu.org/manual/grub/html_mono/grub.html#Creating%20a%20GRUB%20boot%20floppy

3) get Bering working on your IDE device with syslinux and a FAT file
system.

4) make /grub on the IDE device.  Copy the stage1 and stage2 files into
this directory.  Make a menu.lst file, it should look something like
this:

--
#Useful extras:
#serial --speed=9600
#terminal --timeout=2 serial console
#password --md5 $1TH$8O$%w0$d&^20R4ff&^*a2K/oUm.

root (hd0,0)
timeout 5
default 0

# For booting Linux
title  LRP
kernel /linux init=/linuxrc root=/dev/ram0 boot=/dev/hda1,msdos \
 PKGPATH=/dev/hda1 initrd=initrd.lrp \
 LRP=root,etc,log,local,modules,iptables,shorwall,dnscache,sshd,ssh

# yes, you do seem to need the initrd.lrp line twice, once above,
# and once here (I don't recall why :-(
initrd /initrd.lrp

# booting DOS
title DOS
#lock
makeactive
chainloader +1
--

All the options are documented in the grub docs - I won't rehash it.

5) boot the sysytem from the grub floppy.  Run

root (hd0,0)
setup (hd0)

6) if you get a success message, pull the floppy out and reboot.  With
luck and a following wind, you'll get a grub menu, and after a few
seconds LEAF will boot.

Cheers
Si

On Fri, Jan 31, 2003 at 08:44:32AM +0100, Alex Rhomberg said:
> > I think theres a doc on this linked from
> > http://leaf.sourceforge.net/devel/thc
> 
> I have a lilo.lrp that I can send anyone interested.
> This is needed because lilo needs to run everytime you back up
> the initrd.lrp package and whenever you change boot parameters
> 
> For this reason, I'm planning to switch to grub as soon as I get around to
> reading the docs, and I'm also planning to document it :-)
> 
> Regards
> Alex
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> 
> _______________________________________________
> leaf-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-devel


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to