Clean chroot manually
I mess around schroot, chroot and mkschroot( https://github.com/KayEss/mkschroot ). Done something with blind but do not want to remove them with blind So!!! thank for link at the page's bottom. The instruction below are what I have done for remove unwanted chroot.
1. Check mounted sys by
>> df -ah
* you will see chroot mount path.
2. Goto /var/lib/schroot
- remove your's chroot inside session's dir
- do unmount proc sys dev/pts dev tmp in your's chroot from mount's dir
* I'd use
>> for f in proc sys dev/pts dev tmp;do sudo umount $f;done;
- do unmount your's chroot
thank for http://manpages.ubuntu.com/manpages/natty/man7/schroot-faq.7.html
1. Check mounted sys by
>> df -ah
* you will see chroot mount path.
2. Goto /var/lib/schroot
- remove your's chroot inside session's dir
- do unmount proc sys dev/pts dev tmp in your's chroot from mount's dir
* I'd use
>> for f in proc sys dev/pts dev tmp;do sudo umount $f;done;
- do unmount your's chroot
thank for http://manpages.ubuntu.com/manpages/natty/man7/schroot-faq.7.html
Comments
Post a Comment