Results 1 to 3 of 3

Thread: Using Knoppix to make a disk image of a NTFS-format drive?

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Posts
    1

    Using Knoppix to make a disk image of a NTFS-format drive?

    Hello, I have been trying to wade through the FAQs but I must hurry since I am not sure I will be able to get back on if I turn off the computer. A few hours ago, I got a CRC error on my hard drive when trying to log in - Windows System Restore worked, but that won't help a CRC error / hard drive failure for long.

    So I am hoping that I can use Knoppix to make an exact copy of my hard drive, is that true? I would want to save the entire disk image to my other computer over the network. I cannot find anything in the FAQs that would let me do this, maybe I am searching for the wrong thing ( "disk image" KNOPPIX NTFS ) or Knoppix will not let me do this. Then when I get a new hard drive I could restore my files. I am not worried about a few corrupted files, but I understand that sometimes an image cannot be made if it cannot access the sector, is that true?

    Anyhow if anyone can point me towards a FAQ or give me a simple list of things to keep in mind I would appreciate it

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Southern Indiana
    Posts
    110
    I don't have immediate access to a step by step, but I have done it in the past.

    Command line after getting the network connections. Check ncat man pages for details on ncat. There is also a cryptcat or some such which will encrypt/decrypt the stream sent over the network. Probably overkill if you are on a small, secure network

    Boot Knoppix on the bad machine,

    Get network access

    Boot Knoppix on the receiving machine

    Get network access

    Use ncat in a listening mode (needs at least a port number, and maybe a sending ip address) and pipe its output to an image file.

    go back to the problem machine

    use dd to copy the partition to stdout.

    Pipe this through gzip

    Pipe the output of gzip into ncat configured as a sender to the listening ncat on the receiver.

    My memory is it requires ip address and a high port number

    This will produce a zipped image of the drive on the receiver which you can expand or place at leisure.

    You can track the size of the image in a second console on the receiving machine if you are as twitchy as I am.

    the details are in forensic publications or web sites.

    an md5sum of the drive for comparison to the new expanded image is not a bad idea.

    Good luck

  3. #3
    Junior Member registered user
    Join Date
    Aug 2003
    Posts
    24

    The partition backup utility is called 'partimage'

    You want to use partimage. This is a console (ie. command line) utility; there may be a gui for it, but I find it pretty easy to use as is.

    Open a root console, then type 'partimage /dev/hda1' (/dev/hda1 is the first partition on your master hard drive; typically your Windows XP partition). You'll go through a series of dialog boxes; pick out the backup options, choose gzip compression (bzip does not work with NTFS), and save your partition image file to a sufficiently large hard drive space (a second hard drive is best, formatted with a linux filesystem like ext3 or reiserfs, NOT fat32 or ntfs).

    To restore the partition, just run 'partimage /dev/hda1', except choose the restore options. Remember, your target partition must be the exact same size as your original partition.

    I've done this with my Windows XP NTFS partition and it works well. I imaged a Windows XP partition on a 40 GB notebook harddrive (it was actually /dev/hda2 since /dev/hda1 had all the pre-installed Windowx XP oem system recovery files), then restored it to a 40 GB partition on a new 80 GB harddrive (the rest of the new hard drive has an Ubuntu install). Now I happily dual-boot!

    The only hiccup is that when you restore your Windows XP partition, you must then boot your Windows XP system recovery CD and restore your MBR (master boot record) from the recovery tools. If you want linux on the same hard drive, install it or run grub/lilo AFTER restoring the Windows XP MBR.

Similar Threads

  1. I make a DD image to restore, but I can't mount the disk
    By Jeroen1000 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 03-26-2011, 09:24 PM
  2. Creating persistent disk image on USB drive
    By johnny-5 in forum General Support
    Replies: 1
    Last Post: 05-01-2006, 05:59 AM
  3. Help on Create a persistent knoppix disk image on NTFS
    By chipyoung in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 01-09-2006, 11:03 PM
  4. Booting Knoppix from ISO image located on NTFS drive.
    By yaleyu in forum Hardware & Booting
    Replies: 1
    Last Post: 07-03-2005, 03:27 PM
  5. Need commands to partition NTFS hard drive,make image of it
    By XPuser1 in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 02-08-2005, 08:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


~CLEARANCE~ 14

~CLEARANCE~ 14" Dell Latitude Laptop PC: i5 16GB RAM 512GB SSD WIN 11 PRO

$259.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$38.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$14.85



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$21.33



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800) picture

CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)

$79.95



Lenovo ThinkBook 14-IIL i7-1065G7 4GB RAM 256GB SSD DAMAGED BAD TRACKPAD Read picture

Lenovo ThinkBook 14-IIL i7-1065G7 4GB RAM 256GB SSD DAMAGED BAD TRACKPAD Read

$89.99



HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin picture

HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin

$119.80