Skip to main content
edited tags
Link
Chris Down
  • 130.3k
  • 26
  • 277
  • 268
Source Link
Ankur Agarwal
  • 3.3k
  • 11
  • 37
  • 52

What happened to my ext3 partition

I had an ext3 partition. I ran a dd command like this:

dd if=/dev/urandom of=/dev/part2 bs=1024 count=15000 seek="various values"

Where various values are basically 0, 15000K, 30000K etc.

The point is I ran the dd command on the entire partition.

Now the partition won't mount. I get an error "Can't find ext3 partition on ..."

Questions:

  1. What exactly happened to the partition? I know it got corrupted, but what exactly happened? As a clue fsck /dev/part2 gives "The superblock could not be read or does not describe a correct ext2 filesystem."

  2. How do I format it back to ext3?