fighcn / debian

学习资料
0 stars 0 forks source link

Debian系统备份成iso镜像的工具安装启动 #9

Open fighcn opened 4 years ago

fighcn commented 4 years ago

介绍文档 http://blog.csdn.net/tustzhoujian/article/details/53390145 https://zhidao.baidu.com/question/2116068945240813627.html(aptitude命令介绍

On Debian 8 依次运行以下的命令,其中6.0更改为系统版本8才有下载

wget ftp://ftp.mondorescue.org/debian/6.0/mondorescue.sources.list

sh -c "cat mondorescue.sources.list >> /etc/apt/sources.list"

apt-get update

apt-get install mondo

安装后报公钥错误,解决方法为:http://blog.chinaunix.net/uid-16938570-id-2841664.html

安装install报错:

root@VM-159-218-debian:~# apt-get install mondo Reading package lists... Done Building dependency tree
Reading state information... Done mondo is already the newest version. The following packages were automatically installed and are no longer required: openssh-blacklist openssh-blacklist-extra Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 99 not upgraded. root@VM-159-218-debian:~# mondoarchive See /var/log/mondoarchive.log for details of backup run. Checking sanity of your Linux distribution Could not ascertain mindi's version number. You have not installed Mondo and/or Mindi properly. Please uninstall and reinstall them both. Fatal error... Please reinstall Mondo and Mindi. ---FATALERROR--- Please reinstall Mondo and Mindi. If you require technical support, please contact the mailing list. See http://www.mondorescue.org for details. The list's members can help you, if you attach that file to your e-mail. Log file: /var/log/mondoarchive.log Mondo has aborted. Execution run ended; result=254 Type 'less /var/log/mondoarchive.log' to see the output log

解决:

root@VM-159-218-debian:~# apt-get update root@VM-159-218-debian:~# apt-get -f install root@VM-159-218-debian:~# apt-get autoremove root@VM-159-218-debian:~# apt-get install mondo Reading package lists... Done Building dependency tree
Reading state information... Done mondo is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 99 not upgraded. root@VM-159-218-debian:~# mondoarchive See /var/log/mondoarchive.log for details of backup run. Checking sanity of your Linux distribution Could not ascertain mindi's version number. You have not installed Mondo and/or Mindi properly. Please uninstall and reinstall them both. Fatal error... Please reinstall Mondo and Mindi. ---FATALERROR--- Please reinstall Mondo and Mindi. If you require technical support, please contact the mailing list. See http://www.mondorescue.org for details. The list's members can help you, if you attach that file to your e-mail. Log file: /var/log/mondoarchive.log Mondo has aborted. Execution run ended; result=254 Type 'less /var/log/mondoarchive.log' to see the output log

启动报错,需要重新安装mondo和mindi,原因是mindi版本错误 查询mindi的版本 mindi -V,结果报错:

root@VM-159-218-debian:~# mindi -V FATAL ERROR. Please install isolinux first. If your syslinux RPM doesn't include isolinux, you may download an isolinux RPM from Mondo's website - go to http://www.mondorescue.org/downloads.shtml Please e-mail a copy of /var/log/mindi.log to the mailing list. See http://www.mondorescue.org for more information. WE CANNOT HELP unless you enclose that file.

继续安装ioslinux 使用aptitude安装isolinux,之后查询版本

root@VM-159-218-debian:~# mindi -V Mindi v3.0.2-r3578

继续重新启动mondo

root@VM-159-218-debian:~# mondoarchive See /var/log/mondoarchive.log for details of backup run. Checking sanity of your Linux distribution Done. Execution run ended; result=1 Type 'less /var/log/mondoarchive.log' to see the output log

启动成功。

———————————————— 版权声明:本文为CSDN博主「柚子纯钧」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/zhuzhuzhuzhu_0329/article/details/70142702