LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setting mount point on partitions (https://www.linuxquestions.org/questions/linux-newbie-8/setting-mount-point-on-partitions-422357/)

v1nc3nt 03-06-2006 11:42 PM

setting mount point on partitions
 
I have been asked to create the following partitions in red hat 9:

5000mb on mount point /
5000mb on no mount point
swap file of 2 x ram
remaining space (20gig) on /home

my problem is that when i try try create the second partition it tells me that i must have a mount point. how do i go about creating this partition without a mount point?

I have been given a scrren shot of waht it must look like after installing:

root@eas-main3 root]# df -k
Filesystem 1kblocks used available used% mounted on
/dev/hda1 4814936 987688 3582600 22% /
/dev/hda3 8949916 221882 6276456 27% /Home
none 252896 0 252896 0% /dev/shm


I have been told that the missing /dev/hda2 is the one without the mount point. (i need it like this to install pick d3)

All help will be much appreciated!

Jaqui 03-07-2006 12:28 AM

define it as /mnt/temp then after it is finished installing, remove the mount point definition.

most distros, specially ancient ones, don't like to create a partition without a mount point, so giving it one where you can later remove the point and undefine the mount point gets past it.

kilgoretrout 03-07-2006 12:38 AM

What "it" is telling you you must have a mount point? That's just wrong.

v1nc3nt 03-07-2006 02:24 AM

Do i remove it by Vi the fstab file?

jdogpc 03-07-2006 07:46 AM

Hi v1nc3nt,
that's just it, give hda2 any mount point you want and remove it from the /etc/fstab file after the installation process.
plus if you want to be sure that that partition is not unusable and that it is just some waste space there in the disk you can issue the following command to erase the initial area of the partition that is were fs info is contained.

dd if=/dev/zero of=/dev/hda2 bs=512 count=2048

Hope this helps.

Jdogpc


All times are GMT -5. The time now is 12:17 PM.