View Full Version : How to copy the whole harddisk using Knoppix Live Evaluation
hi
can I copy the whole hard disk over LAN with nfs using
Knoppix Live Evaluation or Knoppix READ ONLY ?
I tried today, but it doesn't work.
has someone any EXPERIENCE in this case ?
kind regards
cc
Try looking at the dd command eg:
man dd
OR
man tar
Eg:
# Device to backup (your harddisk partition)
$BD=/dev/hda1;
# The directory were $BD is mounted on. (mapped too)
$MP=/mnt/backup;
# $BD's filesystem type (eg: ntfs, ext2, cd9660, ext3, fat, ...)
$FT=auto;
# Mounted NFS directory
$NFSD=/mnt/nfs;
# Mount harddisk to backup
mount -t$FT $BD $MP;
# Enter mounted harddisk partition
cd $MP;
# Create a gzipped archive of $MP on $NFSD
# and a textfile contianing a list of the backupped files
tar pczvf $NFSD/backup.tar.gz . 2> $NFSD/backup.txt;
Got carried away :D
Sorry it should look like this:
# Device to backup (your harddisk partition)
BD=/dev/hda1;
# The directory were $BD is mounted on. (mapped too)
MP=/mnt/backup;
# $BD's filesystem type (eg: ntfs, ext2, cd9660, ext3, fat, ...)
FT=auto;
# Mounted NFS directory
NFSD=/mnt/nfs;
# Mount harddisk to backup
mount -t$FT $BD $MP;
# Enter mounted harddisk partition
cd $MP;
# Create a gzipped archive of $MP on $NFSD
# and a textfile contianing a list of the backupped files
tar pczvf $NFSD/backup.tar.gz . 2> $NFSD/backup.txt;
:oops:
and is working with Knoppix Live Evaluation or Knoppix READ ONLY ?
All commands used is 'standard' *nix.
Open a rootshell, because mount needs to be run as root.
Try it.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.