hi,
   Recently i have tried the Linux rootfilesytem booting up as "read only".I
have read about the approach using unionfs approach .Below are my steps
followed:

1.Edited the ramdisk "init" script to mount the "rootfs"
on separate directory.
2.Mounted a writable partition of my hard disk to redirect the files
accessed on rootfs.
3.Create a unionfs mount point
4.change root using (chroot) to the unionfs mount point.
5.Normal boot up.

The problem comes  during reboot.During reboot the "halt" script of my
rootfs trying to umount all the partitions mounted using the following
command
"umount -a".This produces the following error:"Device or resource
busy".Actually
the dirs for unionfs are mounted in the rootfs.

I referred the below link for my approach:
http://www.logicsupply.com/blog/2009/01/27/how-to-build-a-read-only-linux-system/

Kindly suggest me a solution to umount all the partitions and make a clean
shutdown.

Regards,
Purusothaman R
_______________________________________________
unionfs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to