User Tools

Site Tools


software:rescue_and_recovery

What to do when the shit really hits the fan :)

Checking the disk for errors

Use fsck for Linux filesystems or chkdsk for Windows systems.

Back up to network disk

Copy all the data from your local disk and save it to a network (Samba shared) disk.

  1. Boot your machine from the Clonezilla Live CD and enter the command prompt.
  2. Mount the local partition that you want to back up.

To see a list of all the partitions on your local machine, use:

$ sudo fdisk -l

To mount the disk, first create a mount point:

$ sudo mkdir /mnt/ntfs

then mount the partition. For an NTFS partition at /dev/sda1:

$ sudo mount -t ntfs /dev/sda1 /mnt/ntfs

For a FAT32 partition:

$ sudo mount -t vfat

For a remote (Samba) partition:

  • Bring up the network interface on the local machine (it's recommended to use a wired network connection):
      $ sudo ifconfig eth0 <ip address> netmask 255.255.255.0
  • Mount the remote disk
    $ sudo mount -t cifs //<fileserver ip>/Volume_1-1 /mnt/kanta -o username=<username>,domain=<kanta-x2>
  • That's it, now you can just happily copy the files over :)
    $ cp -R /mnt/ntfs /mnt/kanta/some/directory/on/the/network/disk

Resources

  • Clonezilla - THE backup application, based on Linux Live
  • GParted - THE HDD partitioning tool
  • Parted Magic - A rescue and partitioning tool that bundles together Clonezila, GParted and a bunch of other stuff.
software/rescue_and_recovery.txt · Last modified: 2017/05/12 09:29 (external edit)