现在ubuntu的流行版本一般使用ext4作为主文件系统,而ghost停止开发多年,不能识别ext4.所以用ghost是没戏的。好在用linux自己做也一样容易。
用如下命令:(假定你的目标盘是sdb1,已经mount在/mnt/dest下)
cd /
tar cf - . –exclude=proc –exclude=mnt –exclude=sys |tar xvf - -C /mnt/dest
cd /mnt/dest && mkdir proc sys mnt && mount –bind /sys sys && mount –bind /proc proc && chroot .
update-grub
grub-install /dev/sdb
exit
重启完事儿