[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Is it possible to recover deleted ext2 partitions??





 Hi Anita,
 
  
 > Question: when you used fdisk to delete the partitions, and
 > then looked at them and you saw that there were missing ones, 
 > did you actually *write* the partition table or did you just 
 > exit?  If you didn't write it, then you should be able to 
 > boot as before and find the partition table intact.  The 
 > change is only made if you write it after doing all the 
 > changes - at least that's how it was last time I did this.  
 > What exactly does 'fdisk -l /dev/hda' show with a rescue disk 
 > right now?
 	I didn't *write* the partition table to disk at all.
 	that's exactly what I cannot understand.
 	the sequence of commands that I used were somewhat like
	this - 
 	
	# fdisk /dev/had
	  (m for help):p

	now, p listed the partition table as in my previous posting.
  	Then I chose "d" - that's delete partition.
  	Fdisk prompted me for the partition number.,
 	I looked at the table printed out with the earlier
 	command and very confidently chose "5".
 	then, again I chose "p"....
  
 	to my horror, the primary partitions are intact whereas
 	the swap is the only logical partition that shows up.
  
 	so I used "q" to quit, which I certainly think is quit without
  	saving..! After this, I reboot into windows to give one last
 	try using PQMagic, when, to my horror, even PQMagic returns
 	all the logical partitions as unallocated space except the swap.
 	
 
 
 
  
 > Man, what a nasty surprise, especially if this happened
 > without writing the partition table!  
 	tell me about that! :(
 
  
 > logical partitions.  The data is still there, but the 
 > partition table has been overwritten.
	I certainly hope so ...
 	
 -vikas



Reply to: