1. Ubuntu緋葷粺鎬庝箞榪樺師錛燂紵
鐩存帴灝/home閲岄潰鐨勪笢瑗縯ar鍒板埆鐨勫湴鏂瑰嵆鍙銆傚傛灉鏄/home鍗曠嫭鍒嗗尯鐨勮瘽錛孏host鏄鏈鏂逛究鐨勪簡銆
/etc閲岄潰鐨勬槸閰嶇疆鏂囦歡錛屽悓鏍峰彲浠tar濂芥斁鍒鐨勫湴鏂廣
涔熷彲浠ョ洿鎺ユ暣涓緋葷粺澶囦喚錛
tar -cvpzf /鈥樺囦喚鏂囦歡璺寰 -exclude=/proc -exclude=/lost+fount -exclude=/media -exclude=/mnt -exclude=/sys /
榪欏氨鏄灝/proc/media/mnt/sys鍑犱釜涓嶅繀瑕佸囦喚鐨勫叾浠栨墍鏈夋暟鎹鍏ㄩ儴澶囦喚銆
鎮㈠嶇郴緇熷氨鏄痶ar -xvpzf /鈥樺囦喚鏂囦歡璺寰 -C /
褰撶劧涓婇潰璇翠簡錛屽洓涓鐩褰曟槸琚鎺掗櫎鎺夌殑錛屼竴鏉″懡浠ゆ柊寤猴細
mkdir /proc /lost+found /mnt /sys
褰撶劧鍦ㄤ竴鍒囧紑濮嬩箣鍓嶅厛sudo su