Does linux, when assigning swap space format the drive ?
Does Linux format the drive where it assigns swap space?
if yes is it possible to recover the data that was previously on that drive? If it is possible how can i do it? Is there any software for this purpose? and my windows cant detect the swap drive? is this supposed to happen? How can i see the swap space in linux itself? I'm using Linux 9.04 |
Quote:
Quote:
Quote:
Quote:
And by "linux 9.04" I assume you mean Ubuntu 9.04: http://www.ubuntu.com/ And welcome to the LQ forums! |
That's not quite correct. Been a while since I looked at the mkswap code, so I just ran a test. Just the first 2k will get walked on.
If a filesystem was on there this is fairly significant as it will make a mess of the meta-data - most (almost all) of the actual data should still be intact. Of course if this swap was used (as swap), then there will be more data potentially over-written. Photorec or foremost would probably be your best bet for recovery. Search here on LQ for numerous references. To see the active swap, use "swapon -s" |
All times are GMT -5. The time now is 12:38 AM. |