Find the answer to your Linux question:
Results 1 to 7 of 7
I accidentally started a tread in the network zone, so i'm moving it over to the hardware sections, where it is suppoed to be. Here is the output of fdisk ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie dalinux_n00bie's Avatar
    Join Date
    Nov 2006
    Posts
    226

    USB unformatted, or just royally screwed up.


    I accidentally started a tread in the network zone, so i'm moving it over to the hardware sections, where it is suppoed to be.

    Here is the output of fdisk -l.
    Code:
    Partition table entries are not in disk order
    
    Disk /dev/sdb: 8019 MB, 8019509248 bytes
    247 heads, 62 sectors/track, 1022 cylinders
    Units = cylinders of 15314 * 512 = 7840768 bytes
    Disk identifier: 0x00000000
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb4               1        2192    16777216    0  Empty
    Partition 4 has different physical/logical beginnings (non-Linux?):
         phys=(0, 0, 0) logical=(0, 0, 1)
    Partition 4 has different physical/logical endings:
         phys=(0, 0, 0) logical=(2191, 23, 32)
    Partition 4 does not end on cylinder boundary.
    
    Disk /dev/sdb4: 17.1 GB, 17179869184 bytes
    247 heads, 62 sectors/track, 2191 cylinders
    Units = cylinders of 15314 * 512 = 7840768 bytes
    Disk identifier: 0x00000000
    
         Device Boot      Start         End      Blocks   Id  System
    /dev/sdb4p4               1        2192    16777216    0  Empty
    Partition 4 does not end on cylinder boundary.
    In windowz, it says i need to reformat it because it is unformatted. This is the output in linux. How can i fix this so i can get my data off of it?
    "Do or do not...there is no try" -Yoda
    History is a set of lies agreed upon by the winners.
    Linux is user friendly, not idiot friendly.
    Linux User 437442

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    If you have not done anything to partition table after that.
    Just try changing id of the partition

    # sudo fdisk /dev/sdb
    Press 't'
    Select partiton number,
    type code '83', If partition was linux partition
    for FAT16 '6' for NTFS '7'

    Then try mounting that partiton..

    I dont it will work or not, you can always change hex code back to normal. good luck!
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,578
    Please tell us about what OS the drive was running on - Linux or Windoze or other? It is apparent that the partition table is munged, but you might be able to mount it. Please provide requested information so we can best advise you.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Linux Newbie dalinux_n00bie's Avatar
    Join Date
    Nov 2006
    Posts
    226
    I did some things with testdisk, and I accidently screwed it up even more... So I just formated the thing.
    "Do or do not...there is no try" -Yoda
    History is a set of lies agreed upon by the winners.
    Linux is user friendly, not idiot friendly.
    Linux User 437442

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,578
    Quote Originally Posted by dalinux_n00bie View Post
    I did some things with testdisk, and I accidently screwed it up even more... So I just formated the thing.
    That usually works. "When in doubt, wipe it out!"
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Linux Newbie dalinux_n00bie's Avatar
    Join Date
    Nov 2006
    Posts
    226
    well it wouldn't be so bad if it didn't have some data on it that i would have rather kept.... Like some emulator games, some finals, some homework that the blasted TA lost and can't grade and i don't have anymore because my flashy went caput.... you know, little things like that.
    "Do or do not...there is no try" -Yoda
    History is a set of lies agreed upon by the winners.
    Linux is user friendly, not idiot friendly.
    Linux User 437442

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,578
    Know what you mean. I had a drive go flooie on me recently, and lost a bunch of stuff I can't get back. Nothing terribly important, or it would have been on my RAID, but irritating none the less.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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