Hi David,
Maybe worth checking the output of the following commands:
$ df
and
$ fdisk -l /dev/hda
and for good measure look for errors in /etc/fstab
Use *cfdisk* if you need to adjust your partition table.
You would have to be 7334 h@x0r to screw up a partition table
using cfdisk.
I can remember once confusing disks and deleting a partition
on the wrong disk. Recreating it with exactly the same
length as the original and the ext2 filesystem popped right
back up.
That is a good argument for printing out a hard copy of all
partition tables.
Joel
On Mon, Jan 31, 2005 at 02:45:28PM +0900, David Cournapeau wrote:
Hi there,
It is a kind of OT, but I couldn't find any useful information, and
I already wasted half a day on this problem, so I thought someone here
would be able to help me.
It seems like my partition table is messed up, and I am not able to
mount all my partitions. For example, mount refuse to mount /dev/hda12
on any directory: when I do a mount -r /dev/hda12 /mnt/tmp, mount tells
me that hda12 is already mounted, or that /mnt/tmp is busy. The
partition is not mounted for sure, and I tried several other tempory
locations, without any success. The "funny" part is that a fsck.ext3
/dev/hda12 doesn't give me any error when I check the filesystem (which
let me some hope about the possible recovery).
Basically, I think the problem is only coming from a wrong partition
table, but I don't know how to recover the good beginning/end of the
partitions (the partitions used for the OS itself seem OK, my linux is
works flawlessly, "only" my last data partitions are not accessible
anymore). All my partitions are ext3.
Thank, and my apologies for the OT,
David
--
Joel Roth