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
  •  


Cisco SG95-16 16-Port Gigabit Switch SG95-16-KR picture

Cisco SG95-16 16-Port Gigabit Switch SG95-16-KR

$47.00



GENUINE CISCO QSFP-40/100-SRBD 100G QSFP Transceiver  picture

GENUINE CISCO QSFP-40/100-SRBD 100G QSFP Transceiver

$129.99



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-BR picture

Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-BR

$39.00



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod

$79.00



Cisco WS-C3750X-48T-S 48 Port 3750X Gigabit Switch - Same Day Shipping picture

Cisco WS-C3750X-48T-S 48 Port 3750X Gigabit Switch - Same Day Shipping

$49.95



Cisco Nexus N3K-C3048TP-1GE 48 Port Switch w/ Dual Power - Same Day Shipping picture

Cisco Nexus N3K-C3048TP-1GE 48 Port Switch w/ Dual Power - Same Day Shipping

$85.99



QSFP-40G-SR-BD Cisco 40GBASE-SR-BiDi, duplex MMF QSFP+ Modules 10-2945-02  picture

QSFP-40G-SR-BD Cisco 40GBASE-SR-BiDi, duplex MMF QSFP+ Modules 10-2945-02

$27.99



Cisco Nexus N3K-C3172PQ-XL 48P 10GbE SFP+ 4P QSFP+ Switch N3K-C3172PQ-XL-F picture

Cisco Nexus N3K-C3172PQ-XL 48P 10GbE SFP+ 4P QSFP+ Switch N3K-C3172PQ-XL-F

$229.00



Cisco Catalyst 3560 CX WS-C3560CX-8XPD-S  Switch picture

Cisco Catalyst 3560 CX WS-C3560CX-8XPD-S Switch

$299.99