Hi Rudolf,

On 31 Jul 2013, at 22:29, Rudolf Streif wrote:

> 
> Is there an easy way to have a system boot and load the rootfs from a network 
> server?
> 
> The classic way is to serve the root file system from an NFS server. You will 
> have to pass the root=/dev/nfs and 
> nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>] to your kernel via boot 
> loader.
> 
> Every system you want to boot this way will need to have its own root file 
> system on the NFS server. However, there is the nfsroot project [1] that 
> reportedly allows booting entire clusters sharing one root file system. I 
> have not used that though.

Ah. I forgot to mention that it has to boot from a Windows server and NFS will 
not be available. Sorry about that.

> 
> 
>  
> I'm using an x86 system and can have the kernel and an initrd on it. I would 
> use bootp, but a lot of end users either don't have this or will not allow it 
> to be used. I think it needs to go something like:
> 
> 1) Kernel loads the initrd and bring the network up (static or DHCP);
> 2) The rootfs image can then be download;
> 3) Some magic then makes this run...
> 
> This looks like you want to start up the system, download a root file system 
> tarball, extract it to somewhere and then use that as the root file system by 
> chroot'ing to it.
>  
> 
> 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
> 
> 
> 
> 

Chris Tapp

opensou...@keylevel.com
www.keylevel.com



_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to