LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting Partitions? (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-partitions-186267/)

nez 05-26-2004 06:23 PM

Mounting Partitions?
 
Hi,

I just installed Fedora Core 2 but I can't see my other Windows partitions. Can someone tell me how I can mount these? They have all my mp3s and video files, so I'm bored without them :(

Dade 05-26-2004 06:25 PM

Same question, but I have Slackware 9.1

Dark_Helmet 05-26-2004 06:37 PM

If you know your hard drive designations, it's not a problem. You open a terminal, become root, and type a command similar to:

mount -t vfat /dev/??? /path/to/dir
or
mount -t ntfs /dev/??? /path/to/dir

Use the vfat argument if the drive was formated with FAT32, and ntfs if formatted as NTFS

Replace the ??? with the appropriate partition (for instance hda1, hdb3, or whatever corresponds with your hard drive setup).

/path/to/dir is the location you want to access the contents at. It can be any directory in your filesystem. Just make sure the directory exists before mounting the partition.

When done accessing it, type:

umount /path/to/dir

If you get a "filesystem type not supported" then your kernel is not compiled to support the particular filesystem on the drive.
Linux support for NTFS is read-only (write support is experimental and is usually disabled)

You can also set things up so that the partition is mounted automatically when you boot. Again, at a terminal, type:
man fstab

Reading that should get you started on setting it up if that's what you're after.

nez 05-26-2004 06:54 PM

Thanks for the help~!

But it looks like ntfs is not supported by my kernel. Is there any way I can get around this? I was able to access these partitions in Mandrake and Suse, but I guess not Fedora Core2 :(

Dark_Helmet 05-26-2004 07:15 PM

That seems odd. Red hat 9 came with ntfs support with the basic install.

Support for a filesystem is part of the kernel itself. So you would have to recompile the kernel or compile the ntfs module for the kernel.

It still strikes me as odd that you don't have ntfs support (though not impossible). Also, check to see if maybe FC2 already set things up for you. I use Gnome, and when I right-click, there's a "Disks" submenu. See if you have any entries in it that correspond you the drives you want to mount. I'm sure KDE would have something similar.

nez 05-26-2004 07:21 PM

I did some more forum searching and found this site:

http://linux-ntfs.sourceforge.net/rpm/instructions.html

I followed it exactly, and it worked~~yay

Thanks for the help guys.


All times are GMT -5. The time now is 03:54 PM.