On Thu, May 15, 2008 at 10:14 AM, Javier Sánchez
<[EMAIL PROTECTED]> wrote:
>

There was a problem with your message, and the text was invisible in
gmail. I'm not sure what caused that. But anyway...

> I have a netboot diskless server with initramfs-tools + tfptd-hpa + dhcp3 +
> NFS (nodes mounts its root system with NFS) working fine.

When you say "netboot", are you referring to specifically-named
software, or just the fact that you have clients booting via the
network?

> But now, i want to go for netboot diskless with live-initramfs + tfptd-hpa +
> dhcp3 + NFS + aufs

I get from this that you've installed an additional product:
live-initramfs. I have a similar setup, but with the standard
initramfs-tools provided with Ubuntu. My setup requires two additional
scripts in the initrd, which probably do something similar to what
live-initramfs provides (I have not looked at live-initramfs).

> When node starts up, it loads initramfs but fails mounting root filesystem.

Does the NFS mount fail? Or the creation of the ram disk (tmpfs) that
will be combined with the NFS mount? Or the aufs mount that combines
these two? Additional details are needed.

I've attached the two scripts that I use. The first one sets up AUFS
directories prior to the NFS mount, and forces the NFS mount to go to
the correct location. The second one creates the ram disk, combines
the two, and sets things up so that the initramfs script will switch
to that as the system's final root directory.

The scripts go here:

/etc/initramfs-tools/scripts/init-premount/aufs_setup
/etc/initramfs-tools/scripts/nfs-bottom/aufs_nfs

The PXELinux config:

label hardy
   kernel vmlinuz-hardy
   append initrd=initrd.img-hardy ip=dhcp
nfsroot=netboot-server:/var/netroots/hardy boot=nfs aufsroot splash
quiet

Josh

Attachment: aufs_setup
Description: Binary data

Attachment: aufs_nfs
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to