二、解决方法
通过在开源社区的帮助,笔者发现一个个更加简单的开源工具GHOST for Linux (G4L)。主页: http://sourceforge.net/projects/g4l ,它是一个类似Norton Ghost的工具,用来对硬盘或分区建立镜像文件,或进行克隆。
1. 软件下载:
Wget http://downloads.sourceforge.net/g4l/g4l-v0.22.iso?modtime=1172158294&big_mirror=0
下载文件名称是:g4l-v0.22.iso
2. iso文件刻录
命令行方式
首先,扫描刻录机设备号:
[root@localhost ~]# cdrecord -scanbus
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 J枚rg Schill ing
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/ bugzilla
Note: The author of cdrecord should not be bothered with problems in this versio n.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'HP ' 'DVD Writer 840b ' 'FF66' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *m
扫描结果将自动发现刻录机的设备号。例如设备号为dev=1,0,0 刻录机型号:HP DVD Writer 840b则刻录光盘时,
键入以下命令:
#cdrecord -v speed=24 dev=1,0,0 g4l-v0.22.iso