[flasher@localhost flasher]$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda10 5036284 145336 4635116 4% / /dev/hda9 46636 9904 34324 23% /boot /dev/hda11 10080488 367288 9201132 4% /home /dev/hda16 6032444 621140 5104868 11% /opt /dev/hda14 497829 120180 351947 26% /tmp /dev/hda12 10080488 3703852 5864568 39% /usr /dev/hda13 8064272 1593728 6060892 21% /var
使用道具 举报
tar备份成一个tar.gz文件
tar -xjpvf /mnt/wind/linux.tar.bz2 -C /mnt/linux /mnt/linux是所要恢复的linux根分区,
先在/mnt/linux建立usr home boot 等目录 再进行 mount 最后tar -xjpvf /mnt/wind/linux.tar.bz2 -C /mnt/linux/ 就可以了
或者 先在/mnt/linux建立usr home boot 等目录 再进行 mount chroot /mnt/linux 最后tar -xjpvf /mnt/wind/linux.tar.bz2 -C / 就可以了
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
GMT+8, 2025-3-13 05:55 , Processed in 0.025466 second(s), 16 queries .
© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.