Hi,
I've been working for the past few days trying to get an initrd
working with unionfs to mount a ramdisk and a CDROM together. I can
get it working, but it then doesn't unmount. Is there a well
documented procedure for doing this? This list seems kind of quiet. Am
I in the right place?
After booting from the CDROM and starting the initrd (using isolinux),
I have the following mount points:
/dev/ram0 on /
/dev/sr0 on /mnt/cdrom
/dev/ram1 on /ramdisk
none on /newroot
/newroot is /mnt/cdrom and /ramdisk. After I pivot_root, I can't
unmount the old root:
cd /newroot
pivot_root . initrd
exec chroot . sh -c 'umount /initrd; exec /sbin/init' \
<dev/console >dev/console 2>&1
This fails with:
pivot_root: Device or resource busy
warning: can't open /etc/mtab: No such file or directory
umount: /initrd: device is busy
What could be the problem? I've tried running lsof on the device but
it never finds anything.
Thanks for any ideas.
Alex
_______________________________________________
unionfs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs