Find the answer to your Linux question:
Results 1 to 8 of 8
Hi I was trying to back my HDD for my linux box and in the process i plugged in a 160gb HDD (hot swappable) which has 3 partitions into a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6

    [SOLVED] Partition Nightmare


    Hi

    I was trying to back my HDD for my linux box and in the process i plugged in a 160gb HDD (hot swappable) which has 3 partitions into a vista ultimate 64 SP1 box, then i plugged in a 1 tb HDD (hot swappable) which should have only one partition.

    The problem is this, the 1 tb HDD has adopted the partitions of the 160gb and i cannot view the 1tb without formatting. i dont want to lose my data. i suspect i might need to use F Disc but im not sure how to got about it.

    Any help would be appreciated, thanx!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    Boot up from LiveCD of any Linux distro and post the output of fdisk -l command here.
    Code:
    sudo fdisk -l
    or
    Code:
    su -
    /sbin/fdisk -l
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6
    Thanks for the reply

    Could I theoretically just then use FDisk to recreate the full 1TB NTFS partition without formatting and my data should be there? What params?

    Flipping Crista ;(. Hence the reason why my office server will soon my Linux based too.

    Will post the result ASAP, had issue with my ISO I downloaded

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6
    root@ubuntu:~# fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x8f57c9ef

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 6528 52428800 7 HPFS/NTFS
    /dev/sda2 6528 7050 4194304 7 HPFS/NTFS
    /dev/sda3 7050 38914 255948800 7 HPFS/NTFS

    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xef4a696c

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 6528 52428800 7 HPFS/NTFS

    Disk /dev/sdc: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x601da083

    Disk /dev/sdc doesn't contain a valid partition table

    Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x95853b19

    Device Boot Start End Blocks Id System
    /dev/sdd1 * 1 3916 31455238+ 7 HPFS/NTFS
    /dev/sdd2 3917 4308 3145728 7 HPFS/NTFS
    /dev/sdd3 4308 19458 121687040 7 HPFS/NTFS
    root@ubuntu:~#

  6. #5
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6
    The first 3 drives are part of a RAID 5, 3x160GB. I had a 4th one and was backing up off that, Vista seems to have "cached" the partition info from the separate 160gb and applied it to my single partitioned 1000gb.

  7. #6
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6
    Bump? Please

  8. #7
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    If it was a single partition covering the whole disk
    you could use fdisk, or other partitioning software
    to recreate the original partition, and you should be saved.

    You could use testdisk. It is probably more user friendly.

    TestDisk - CGSecurity

  9. #8
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6
    AWESOME AWESOME

    I've tried numerous recovery software packages and NOT ONE helped
    Zero Assum w came close in that it saw the data but recovered files only had blank spaces in. This app that you linked

    TestDisk, said my boot sector was invalid, I over wrote from the backup boot sector and quit the app, checked and mounted with parted, all data and files are there!

    THANKS A MILLION!!!!

Posting Permissions

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