On Thu, Apr 20, 2000 at 10:48:31AM +1000, Martin Bishop wrote: > Hi David, > > Thanks for replying. > > David Wright [EMAIL PROTECTED] wrote: > > I don't have the start of this thread anymore. You have linux on > > this machine? If so, I'd try and mount the partition readonly from > > linux rather than going anywhere near it with other OSes. I don't > > think linux looks at the partition type, but only the magic. > > Yes I have linux on this machine (I'm dual booting Linux/Win98). > Hmm, if linux doesn't care about the partition type, then does it > care about the <file system> type? > > I'm asking this because hda2 was FAT32 (I accidentally deleted it > and created a new partition on top as EXT2, same size, same > partition type. And now I'm in panic mode and I'm trying to recover > any data on hda2. That's basically the start of this threat.). > > > If you can mount it as whatever filesystem type works, then you can > > copy out the data. If you can't, I can only guess that another OS has > > vomited over part of it. > > Which <file system> do you suggest? EXT2? And is there a chance that > this will further corrupt the data on it?
You can try an ext2 mount, though I doubt that that will work. If the original data were on a vfat partition, what you need to do is restore the prior partitioning scheme, which means re-specifying the partition table with the same filesystem types, start, and end blocks as the original. If all you did was modify the partition table, the underlying data should be intact. If you created a filesystem afterwards (say, by running "mke2fs"), then you'll have to rely on any backups you might have of the data. > MB. > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > -- Karsten M. Self <kmself@ix.netcom.com> http:/www.netcom.com/~kmself What part of "Gestalt" don't you understand? http://gestalt-system.sourceforge.net/ GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
pgpx06rsxAgIf.pgp
Description: PGP signature