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
  •  


~TOUCHSCREEN~ 2-in-1 Lenovo ThinkPad Yoga Laptop: Intel i5 8GB RAM 256GB SSD picture

~TOUCHSCREEN~ 2-in-1 Lenovo ThinkPad Yoga Laptop: Intel i5 8GB RAM 256GB SSD

$214.99



~OVERSTOCK~ 14

~OVERSTOCK~ 14" Lenovo ThinkPad Laptop PC: Intel i5 Dual Core Built in Webcam

$174.99



~OVERSTOCK~ 15.6

~OVERSTOCK~ 15.6" Lenovo ThinkPad Laptop: Intel i5 8GB RAM 256GB SSD Win 10

$169.99



Lenovo Legion 5 15.6

Lenovo Legion 5 15.6" Gaming Laptop AMD R7 7735HS RTX 4060 16GB RAM 512GB SSD

$849.99



Lenovo IdeaPad Pro 5i, 16″, i5-13500H, 16 GB, 1 TB SSD, RTX 3050, 120Hz, Laptop picture

Lenovo IdeaPad Pro 5i, 16″, i5-13500H, 16 GB, 1 TB SSD, RTX 3050, 120Hz, Laptop

$709.99



Lenovo ThinkPad Yoga 11e 11.6

Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10

$58.00



Lenovo 300e 11.6

Lenovo 300e 11.6" 2in1 Touchscreen Laptop Computer 4GB RAM 64GB SSD Windows 10

$83.99



Lenovo ThinkPad E560 Intel Core i5-6200U 2.3GHz 8GB RAM 500GB HDD W10P w/Charger picture

Lenovo ThinkPad E560 Intel Core i5-6200U 2.3GHz 8GB RAM 500GB HDD W10P w/Charger

$74.99



Lenovo Notebook ThinkPad L14 AMD Gen 3 Laptop, 14

Lenovo Notebook ThinkPad L14 AMD Gen 3 Laptop, 14" FHD IPS 60Hz

$409.99



Lenovo Notebook ThinkPad T14s Gen 4 Laptop, 14

Lenovo Notebook ThinkPad T14s Gen 4 Laptop, 14" IPS 60Hz, i7-1355U,

$704.63