LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   Hard Drive Mount Point Question (http://www.linuxquestions.org/questions/mandriva-30/hard-drive-mount-point-question-211915/)

The Oate 07-31-2004 04:19 PM

Hard Drive Mount Point Question
 
I have a second 80gb hard drive in the comp I'm running a dual boot of Mandrake and XP on. This hard drive has a 40gb NTFS partition for use in XP and I wanted to use the other half in Linux. My question is when I'm partitioning and formatting it, what should I use as the mount point?

jailbait 07-31-2004 04:32 PM

"My question is when I'm partitioning and formatting it, what should I use as the mount point?"

You should not try to partition and format a mounted partition. So the answer is make sure that it is not mounted before you partition and format the unused space.

----------------------------
Steve Stites

The Oate 08-02-2004 11:10 PM

So with the 80gb drive, you're saying I need to unmount it and then partition and format the remaining 40gb? Do I remount after doing this?

jailbait 08-03-2004 09:36 AM

"So with the 80gb drive, you're saying I need to unmount it and then partition and format the remaining 40gb? Do I remount after doing this?"

You do not mount and umount drives. Your mount and umount partitions which have formated file systems on them. So when wworking with the empty space on the drive you do not mount it at all. You partition the empty space, being careful not to disturb the existing partition. Then you format the new partition. Then the new partition can be mounted and used.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

The Oate 08-03-2004 10:26 AM

Ok, that makes sense, but what do I use as the mount point? That was really what my original question was.

jailbait 08-03-2004 10:31 AM

"Ok, that makes sense, but what do I use as the mount point? That was really what my original question was."

You can use any empty directory as a mountpoint. So assuming that your second drive is hdb and that you format the new partition as ext3 you can mount the new partition this way:

mkdir /closet
mount -t ext3 /dev/hdb2 /closet

or you can put an entry for /closet in /etc/fstab

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

The Oate 08-03-2004 08:25 PM

Ok, so I've fixed up the half of the drive I want to use in Mandrake. How do I get this drive to show up on my GNOME desktop? I can't seem to find any place to add drives to show on the desktop.


All times are GMT -5. The time now is 09:16 AM.