Quote (pr0f3550r @ June 01 2006,14:34) | ||
I may be retarded but I can't see the unionfs option at boot time. Pressing F2 or F3 I really can't see it. I have definitely downloaded the right iso... |
Code Sample |
mkdir /ramdisk/holder mkdir /ramdisk/bin mkdir/ramdisk/holder/bin mount -t unionfs -o dirs=/ramdisk/holder/bin=rw:/KNOPPIX/bin=ro unionfs /ramdisk/bin ln -sf /ramdisk/bin / |
Code Sample |
#!/bin/bash mkdir /ramdisk/holder #first handle the easy directories for i in bin boot lib sbin usr do mkdir /ramdisk/$i mkdir /ramdisk/holder/$i mount -t unionfs -o dirs=/ramdisk/holder/$i=rw:/KNOPPIX/$i=ro unionfs /ramdisk/$i ln -sf /ramdisk/$i / done # Then take care of /etc by making a copy of it mkdir /ramdisk/holder/etc mkdir /ramdisk/etc cp -rp /etc /ramdisk/holder/etc_copy mount -t unionfs -o dirs=/ramdisk/holder/etc=rw:/ramdisk/holder/etc_copy=ro unionfs /ramdisk/etc # copy mtab or their may be problems since there is another entry in the current one cp /etc/mtab /ramdisk/etc/mtab rm -rf /etc ln -sf /ramdisk/etc / # to undo the above section you need the following: # rm /etc # cp -r /ramdisk/holder/etc_copy /etc # umount /ramdisk/etc # now handle the /var directory mkdir /ramdisk/var mkdir /ramdisk/holder/var mv /ramdisk/var /ramdisk/holder/var_old mount -t unionfs -o dirs=/ramdisk/holder/var_holder=rw:/ramdisk/holder/var_old=ro unionfs /ramdisk/var # to undo the above section you need the following: # umount /ramdisk/var # rm -r /ramdisk/var # mv /ramdisk/holder/var_old /ramdisk/var |