Nitin Bhardwaj: > I think you misunderstood that the problem is with the /sysroot/bin > line of aufs in /etc/fstab. The problem is with /sysroot itself ( > which eventually becomes / , after switch_root() call in the initrd ). > If we mount /sysroot as read-write ( as you suggest below, Step 1, > then rc.sysinit script runs a fsck on /, which fails because it was > mounted as read-write. Hence we need to mount /sysroot as read-only > only.
Ok, then let's try tmpfs for aufs xino files. Assuming RHEL changes the root dir readwrite after fsck or something, ::: mount -t ext3 /dev/hda1 /sysroot mount --ro -t squashfs /dev/hda2 /sysroot/.mount mount -t tmpfs tmpfs /sysroot/tmp for i in bin lib sbin usr do mount -t aufs -o xino=/sysroot/tmp/xino,br:/sysroot/$i:/sysroot/.mount/$i \ aufs /sysroot/$i done mount -o remount,ro /sysroot ::: There is no changes necessary /etc/fstab, I think. J. R. Okajima ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com