[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with GRUB and Network Boot
From: |
Christoph Plattner |
Subject: |
Re: Help with GRUB and Network Boot |
Date: |
Wed, 13 Mar 2002 10:50:07 +0100 |
Hello,
first of all, is it possible to use `$VARIABLE's ?
Or is this only the notation you use here ?
It is not necessary to build a new image includining initrd.
Simple use NFS-ROOT.
If you use a DHCP/BOOTP server, you must compile in the auto IP
config into the kernel and use `ip=bootp' as kernel parameter
or you do the configuration statically using `ip=......',
`nfsroot=.....'. For more details see the diskless HOWTOs and
the NFSROOT HOWTOs. The `ip=' has many options .....
I hope I could help you ...
Bye
Christoph
Ivan Passos wrote:
>
> 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
>
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-grub
--
+--------V--------+ address@hidden
| A L C A T E L | -----------------------------
+-----------------+ Phone: +43 1 27722 3706
T A S Fax: +43 1 27722 3955