bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with GRUB and Network Boot


From: Ivan Passos
Subject: Help with GRUB and Network Boot
Date: Tue, 12 Mar 2002 11:09:54 -0800 (PST)

Hello,

I'm playing with GRUB (v0.91)and its network boot, and it works
beautifully. However, as of now, I was only able to make it work with two
separate files (kernel and initrd). I'd like to get it to work with one
single file (that contains kernel + initrd), but I don't know how to
create this file. Can someone please help me?!?!

More details ...

With GRUB (the version I use is 0.91), you may boot via network by adding
something like this to your menu.lst:

Title Network Boot
ifconfig --address=$LOCAL_ADDR --server=$TFTP_SRV_ADDR
root (nd)
kernel $KERNEL_IMG root=/dev/ram0
initrd $INITRD_IMG


This works like a charm. As a next step, I'd like to have one single file
that contains both the kernel image and the initrd image, just because
distributing one file is easier than two ... :)

In this case, I'm looking for the following menu.lst entry:

Title Network Boot
ifconfig --address=$LOCAL_ADDR --server=$TFTP_SRV_ADDR
root (nd)
kernel $NEW_KERNEL_IMG root=/dev/ram0

, where $NEW_KERNEL_IMG contains both $KERNEL_IMG and $INITRD_IMG.

I _believe_ this is possible because when you boot from a floppy, both the
kernel and the initrd are in the floppy, so I guess that the generation of
the file I want is similar to the way the boot floppies are generated. I'm
not sure about that though ...

Any help would be highly appreciated.

Thanks in advance!!

Later,
Ivan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]