Re: Using Linux to Recover bad NTFS drive.

From: Rainmaker (rainmaker526NO_at_SPAMhotmail.com)
Date: 05/20/05


Date: Fri, 20 May 2005 00:30:47 GMT

Op Thu, 19 May 2005 22:44:07 +0200, schreef Mike Cox:

> <snip>

As many others have said, linux might be able to mount the cd for you and
save some data.

What I'd recommend: put the disk in a computer, and dd it. That way you'll
have a bckup to play with, without harming the "defective" hard disk any
more then is absoltely necessery.

Use

dd if=/dev/hdb1 ~/mywindowspartition.img

This command WILL take some time, and will create a single file, as large
as the entire partition. Make sure you have enough hard disk space.

This is assuming your windows partition will show up in linux as hdb1. Use

fdisk -l /dev/hdb

to see what partitions are on the disk. Keep in mind that if your
partition table is hosed, you might not actually *see* any partitions.
Your data may still be there though.

then use

mount -o loop -t ntfs ~/mywindowspartition.img /mnt/floppy

Cross your fingers and look in /mnt/floppy

ls /mnt/floppy



Relevant Pages

  • Re: mirroring
    ... *Migrating an Existing Linux to RAID1* ... this copies your data from the existing disk to the new disk then overwrites your existing disk* ... Change the partition type on the existing non-raid disk to type 'fd' ... Create the degraded RAID array on the empty disk, but leave out the existing system disk for now. ...
    (RedHat)
  • Re: Panasonic HD Recorders - What disk format?
    ... The earlier part of this is more about what may be Linux partitioning, ... might be possible to present the recorder with a larger disk already ... Most DOS/Windows utilities such as FDisk, Ghost, and Partition Magic Pro ... prompts to format it. ...
    (alt.os.linux)
  • Re: [SLE] Changing Installation Source brings to filesystem crash
    ... cleared them so my C: now have about 1Gb free space and my D: now have about ... That was the place where I inspired to learn Linux. ... Your recovery says your Linux partition is full. ... Do you have two hard disks or is D: ...
    (SuSE)
  • Re: mirroring
    ... *Migrating an Existing Linux to RAID1* ... Change the partition type on the existing non-raid disk to type 'fd' ... Changed system type of partition 1 to fd (Linux raid autodetect) ...
    (RedHat)
  • Re: Corrupted NTFS needs reformat - how to preserve windows installation
    ... Will fixboot mess up the Grub Linux boot loader (I think that resides ... big a problem to fix if the disk is otherwise sound, ... PARTITION TABLE of my harddisk. ...
    (microsoft.public.windowsxp.help_and_support)