Recovering a vfat partition



Hello,

In my desktop Pentium II computer, I've two hard disk drives: hda (4GB) and hdb (40GB).

hda is the windows drive (Win98) and hdb is the linux drive (Gentoo).

When I changed from Fedora to Gentoo, I changed the partition table at hdb, and I started formatting all the partitions. But I did a big mistake.

When I entered the command to format the boot partition, I entered hda1 instead of hdb1. Obviously that when I noticed that (a few seconds after pressing <RETURN>), I hit <CTRL>+<C>.

So this is my question: I suppose my files are still "alive", and that I can't access them only because mount does not recognize the filesystem type. If I'm right, what's the best procedure to recover the files stored at hda1?

(Note: at hda, I've two partitions, hda1 (2GB) and hda5 (2GB). hda5 is fine.)

--
Nuno J. Silva (aka NJSG)
Lisbon, Portugal
Homepage: <http://njsg.no.sapo.pt/>
Registered Linux User #402207 - http://counter.li.org

Using Mozilla Thunderbird 1.0.7
Gentoo Linux -- Linux 2.6.15-gentoo-r1 i686 Mobile Pentium II
Intel Pentium II (80686) Deschutes - 334Mhz -- 256 Mbs SDRAM
Intel Mobile Pentium II (80686) - 300 Mhz -- 64 Mbs SDRAM
Intel Pentium (80586) - 166 Mhz -- 32 Mbs RAM

-=-=-
``The only person who always got his work done by Friday was Robinson Crusoe.''
-- fortune-mod version 9708

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • RE: Installing Debian on second hard disk
    ... > instead of hda. ... > or hdb at the time of installation of Debian. ... > will debian still boot or will it refuse to boot? ... initially realize that grub labels drives differently than the kernel does. ...
    (Debian-User)
  • Re: rsync clone - ubuntu failure
    ... boot knoppix, mount drives and ... ... no error messages shown - all good, change jumpers of hdb from slave to ... but what did you do with the original hda? ...
    (Ubuntu)
  • Re: file recovery ideas? bad boot block
    ... Disk hdb apparently failed. ... to the point where boot doesn't complete. ... /home partition readonly. ... > Install RH on hda, then try to move hdb files to hda, then ...
    (alt.os.linux)
  • change hdb to hda
    ... floppy and carried on with it on hdb. ... Now I want move the drive with suse from hdb to hda, so I can add a second ... PS When googling on instructions for moving the home partition, ...
    (alt.os.linux.suse)
  • [OT] hardware problem
    ... I put it in and after 20 minutes one disk goes ... partition on hda to another: it takes forever, ... I leave the system powered down overnight, boot a Sarge partition on ... hda and now the system can't access hdb. ...
    (Debian-User)