Deleted ntfs partition - added linux partition in its place - corrupt!
I am comverting a spare drive from ntfs to linux.
It is in the second position, i.e. hdb.
I deleted the partition (using fdisk,
as shipped with redhat), and thus, all partitions were gone.
Looks good. I added the linux partition in its place.
One partition, type 83 linux, looks good.
I created the file system, mkfs.ext2, looks good.
I tried to automount it, and the kernel still thought it was ntfs.
Naturally it wouldn't mount properly,
and, when I forced an fsck, it was corrupt.
I started over, this time rebooting after almost every step.
Delete, reboot, add, reboot, mkfs, fsck -f,
and the automounter STILL thought it was ntfs, thus corrupting everything again.
So I started over, same ritual,
and this time I mounted with the type specified as ext2.
Looks good. I copied some files over.
Then forced an fsck.
Superblock corrupt, hopelessly corrupt.
There is some piece of ntfs that won't go away, even if I delete all the partitions,
and it's destroying everything I try to do.
Interestingly, the first drive was also ntfs,
but fedora installed on that drive, and apparently they know the secret to get rid
of ntfs completely!
When I automount the first drive from a rescue floppy, the kernel knows darn well it's linux.
No problem.
But the second drive remains ntfs, somewhere deep inside, no matter what I do.
I suppose I can spend a few hours and install Fedora on the second drive,
then delete all the files; at least it will be a real linux partition.
But I'd rather understand what is going on.
|