PDA

View Full Version : Adding a Partition question...



bklynjames
06-11-2005, 03:16 PM
I have already installed knoppix to the Hard drive. I have a third partition that I would like to make a data partition, like lets say Data and need a little help configuring it... Can anyone help..??

My partition table is as follows:

o/s 10gig
swap 1gig
third partition 48gig

Dave_Bechtel
06-11-2005, 07:39 PM
--Assuming the partitions are like this, and you are root:

hda1 /
hda2 swap
hda3 blank

--Create an /etc/fstab entry for the new partition:


/dev/hda3 /mnt/whatever reiserfs defaults,noauto,noatime 0 0


' mkreiserfs /dev/hda3 ' == or whatever the partition # is; this "formats" the space.
' mount /mnt/whatever ' == Or whatever you called it in fstab. Then you can create directories, etc with whatever permissions you need.

' cd /mnt/whatever '
' mkdir user '
' chown bklynjames user ' == This will tell the os that "bklynjames" owns this dir and can write files, etc to it.


I have already installed knoppix to the Hard drive. I have a third partition that I would like to make a data partition, like lets say Data and need a little help configuring it... Can anyone help..??

My partition table is as follows:

o/s 10gig
swap 1gig
third partition 48gig