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

Re: Creating NFS boot floppy?



On Tue, Oct 29, 2002 at 12:14:53PM +0900, Junichi Uekawa wrote:
> On Mon, 28 Oct 2002 09:52:32 -0500
> Scott Ehrlich <scott@ai.mit.edu> wrote:
> 
> > I am interested in trying to create and NFS-capable boot floppy.
>  
> > What steps are needed?  Where do I start?
> > 
> > I have set up many Linux boxes before and have mounted drives, compiled 
> > stuff (including new kernels), etc, so I am not new to Linux - just new to 
> > creating boot floppies and the process behind it.
> 
> You can create nfsroot boot images with building kernel with
> whatever options required for NFS-mounting, and then setting
> the root device to /dev/nfsboot.
> 
> dd if=bzImage of=/dev/fd0
> rdev /dev/fd0 /dev/nfsboot
> 
> 
> where /dev/nfsroot is:
> 
> ls -l /dev/nfsroot
> brw-r--r--    1 root     root       0, 255 Jan 22  2002 /dev/nfsroot
> 

I use this commandline to the kernel, so it uses dhcp to configure ip
and nfs root path:

nfsroot=kernel nfsaddrs=kernel root=/dev/nfs ip=::::zembla::dhcp

But you can specify manually in ip=

st zembla {
   hardware ethernet 00:04:76:19:0c:0c;
   fixed-address 192.168.0.15;
   filename "zembla";
   option domain-name-servers 192.168.0.1;
   option broadcast-address 192.168.0.255;
   option routers 192.168.0.1;
   option root-path "/var/diskless/%s";
}


Regards.

-- 
 ... ___________________________________________________________ ...
|   /|                                                         |\   | 
|  /-| Pedro Larroy Tovar. PiotR | http://omega.resa.es/piotr  |-\  |
| /--|            No MS-Office attachments please.             |--\ |
o-|--|              e-mail: piotr@omega.resa.es                |--|-o 
|  \-|    finger piotr@omega.resa.es for public key and info   |-/  | 
|...\|_________________________________________________________|/...| 



Reply to: