1 May 2004 10:49
Re: Remote booting, take 2
Chris Lingard <chris <at> stockwith.co.uk>
2004-05-01 08:49:15 GMT
2004-05-01 08:49:15 GMT
Yann E. MORIN wrote: > Once upon a time (on Friday 30 April 2004 21:46), Chris Lingard wrote : > > > The question is : do I need ROOT_NFS as I'm using an initrd? > > This might not be applicable, but you are using 2.6.5, so it might help > > You do not need any root partition(Continue reading)There is a feature called > > initramfs that you can use. 2.6.5 needs a minor patch; but future > > kernels will be OK. > [--
SNIP--] > > For now, I'm using initrd, so I guess I'm using initramfs. The idea I > had so far was : > - get the kernel and an initrd, > - configure network, > - mount the directory to use as root to /nfs-root, > - pivot_root to /nfs-root (and have the old root mounted on /initrd) > - exec /sbin/init on the new root > -> I get rid of any file descriptor on the old initrd root, > - umount /initrd later on in the boot process, > - dispose of memory used by the ramdisk. > > That looks very much like what you described. So my way was not totaly > stupid!> > > You could then nfs mount /lib, /usr or whatever; then once your > > setup is complete could do exec /sbin/init on the nfs mounted system > > I didn't think on keeping the initrd as a permanent root, and solely > mounting the needed tree. That's interesting as well! >
There is a feature called
> > initramfs that you can use. 2.6.5 needs a minor patch; but future
> > kernels will be OK.
> [--
RSS Feed