PDA

View Full Version : extra partition



dougvega
05-10-2004, 05:03 PM
I created an extra partition when I installed knoppix hda5 to store documents that I would like to keep if I had to reinstall knoppix
but it does not show on my desktop I specified ext 3 in fdisk
how do I initialize it or mount it so I can use it?

mzilikazi
05-10-2004, 06:04 PM
I created an extra partition when I installed knoppix hda5 to store documents that I would like to keep if I had to reinstall knoppix
but it does not show on my desktop I specified ext 3 in fdisk
how do I initialize it or mount it so I can use it?

Specifying a filesystem in a partitoning utility only provides a label. The partition must still be formatted afterall you can't actually mount a partition but rather you mount the filesystem. For ext3 do this:

mke2fs -j /dev/hda5

Then you can mount the partition.

mount /dev/hda /mnt/point

If you want it done automatically then you just need to add a line to /etc/fstab. Surely there is an example in that file already.