Re: Lost file allocation table on USB hard drive

James <[email protected]>
Newsgroups gmane.user-groups.linux.ottawa.general
Message-ID <[email protected]>
  On 05/13/10 14:38, james terris wrote:
> Hello everyone,
> I have an Ubuntu server that I use for storing files on.
> It's a small atom machine with a USB hard drive attached to it.
> Last week I couldn't access the folder that the USB drive is mounted
> to and when I run fdisk on it I get the following message:
> Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
> fdisk does identify the correct size of the drive but says that there
> are no partitions on it.
>
> I've been poking around online but haven't found anything too useful yet
> so I was wondering what everyone's recommendation was.
>
> I ran the command gpart but it couldn't find any partitions.
>
> I looked into the commands rescuept and fixdisktable but I couldn't
> figure out how to install them on my system (even trying to build them
> from source).
>
> The drive powers up ok and the system detects it correctly if I turn it off/on.
>
> So, if anyone has any pointers about how to rebuild the fat table that would be great.
>
> thx,
> james
I *think* if you know the exact partitioning that was there and you 
recreate it with fdisk that the data will still be there.
I'm only 90% sure and since you will lose the data if I'm wrong, I would 
see what other people say.
-- 
OCLUG general discussion list
[email protected]
http://oclug.on.ca/mailman/listinfo/oclug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.