QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2215|回复: 3

轻松备份你的整个电脑,随时重新安装

[复制链接]
发表于 2007-12-5 12:22:50 | 显示全部楼层 |阅读模式
也许使用过Windows的人都对Ghost一键还原的功能印象深刻,但是安装了双系统也只能备份Win的分区。一旦遇到重做,win又会更改你的Boot文件,导致linux虽然安装了,但是得不到引导。今天我们就来看看怎么使用linux备份整个电脑。
首先介绍一下
remasterme
这个命令。使用root权限,su也好,输入命令得到
This script tries to remaster your current install. The iso will be created as /root/livecd.iso
这是备份的解释,注意保存位置/root/livecd.iso,保证空间
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 9.9G 2.7G 6.8G 29% /
/dev/sda8 11G 3.7G 7.0G 35% /home
You try to remaster 6 Gigabyte install
you need at least 2 Gigabyte freespace
The free space avaialable for remaster 6 Gigabyte
mklivecd, version 0.6.0-20071023, http://livecd.berlios.de/
Copyright (C) 2002-2004, Jaco Greeff <[email protected]>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.


Creating initrd: [100.00% 00:00:14/00:00:14]
Setting filesystem parameters: [100.00% 00:00:53/00:00:53]
Creating compressed image: [100.00% 00:01:51/00:01:51]
Creating isolinux boot: [100.00% 00:00:01/00:00:01]
Creating final iso: [100.00% 00:01:36/00:01:36]
Embedding MD5 checksum: [100.00% 00:00:34/00:00:34]

Created 'pclinuxos-2007.iso' (763,146,240 bytes) in 00:05:13
以上就是将会逐个显示得得内容,不过不要怕,所有的都是自动的,你所要做的就是在root下输入remasterme
但是你也许会注意到这行
/dev/sda7 9.9G 2.7G 6.8G 29% /
/dev/sda8 11G 3.7G 7.0G 35% /home
似乎之有linux的分区?当然,如果你有win的分区也会显示出来的。那我的电脑没有win么?有,但是我不需要备份win,所以我在控制中心把win的分区卸载了,大大缩小了我的备份。
于是你的到了一个备份,你用K3b刻出来,这就是一张演示、安装光盘,就像你从网站上下载的一样,只不过有你全部的软件和文件了,呵呵。
同时这也是一张你可以在任何行号想同或相近的电脑上重现你的设置的livecd。

好了,下一个命令
redombr
当你双系统,重做Win后,你会发现Grub的引导不包括linux了,你也许相让你的linux回来,最简方法就是用livecd启动电脑,任何版本都行,然后在shell里输入redombr,重启,于是……

祝好运
发表于 2007-12-11 16:08:22 | 显示全部楼层
谢谢分享 楼主辛苦
回复

使用道具 举报

发表于 2009-1-30 06:36:27 | 显示全部楼层
顶,谢谢楼主的文章
回复

使用道具 举报

发表于 2009-1-30 10:30:30 | 显示全部楼层
新手,没有看懂……
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-28 21:12 , Processed in 0.051388 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表