Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Partition table broken - (how) can I mount the im.. [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Sat Apr 19, 2008 12:12 pm    Post subject: Partition table broken - (how) can I mount the im.. [SOLVED] Reply with quote

Hi,

I have a USB stick here whose partition table suddenly vanished (apparently that happens to USB sticks sometimes).

I have copied the raw data on the stick to my hard disk with dd. A grep on its contents tells me that at least some of the data on the stick are still present. (All the words in files I could think of matched.)

I would like to try to mount the dump as a file system, but I'm lacking two critical points of information:

One, can I mount a file as loopback device witch a specified offset from the start? If so, how?

Two, what would that offset be? I expect a partition table with one entry, and then a normal VFAT filesystem on the stick (it's not mine, so I have to take a guess at this).

Grateful for any pointer,

Hel


Last edited by daemonflower on Sat Apr 19, 2008 8:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Sat Apr 19, 2008 12:36 pm    Post subject: Reply with quote

You should use TestDisk to fix your partition table and/or Photorec to recover your data instead of using black magic ;).
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Sat Apr 19, 2008 8:56 pm    Post subject: Reply with quote

Ok, thanks. Photorec doesn't restore the filenames and can only guess at the filetypes, but all in all restoring the data has been a success. Good to know that tool.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum