Ankit Jain wrote:
hi

sorry but i could not understand by unmounting the
partition. i dont use floppy drive or something like
that. if i am using hard disk then i cant unmopunt the
whole partition

so what to do

thanks

ankit jain

Hi, ankit jain:

 The syntax of the command is 'umount' rather than 'unmount'.
Yes, you can 'umount' an entire partition and, actually,
you must 'mount' and 'umount' entire partitions.

 If the partition where the deleted files existed was '/',
then you can (restart the system and) change the mount of
the partition to be 'ro'; read only. This will keep the data
area from being written over.  I think that there is a
command to "re-mount ro" a partition, so you man not need
to restart your system.

 You may choose to shut down the system and reboot using
your distribution install or a recovery CD-ROM disk or any
other recovery media.  Using a boot media created from a
KNOPPIX.iso is a popular way to recover data from many a
operating system and distribution; even M$-Windoze.

Perhaps,
 if your '/' partition contained the deleted file and
 it was mounted as partition /dev/hda1 and
 its type of filesystem was second extended:

mount -t ext2 -o remount,ro /dev/hda1 /

would be syntactically correct.

I hope this helps,  Chuck

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to