Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
First, each partition needs a unique mount point. Redhat uses /mnt as a place for removable , non OS mount points. You will find subdirectories in mount for your floppy, cdrom drive and other stuff like USB drives etc. So when you mounted the hda1 to /mnt you have lost access to your cdrom and floppy.
You will need to create a directory for your windows c: and d: drive. The console command is called mkdir. So:
mkdir /mnt/win_c (as an example)
Next, it is typical for windows to create a logical partition for the d: drive. In order to create a logical partition you need to create an extended partition. In a nutshell an extended partition is a container for logical partitions. The reason for all of this was to overcome the original limitation of 4 primary partitions. Primary partitions are 1-4, logicals are anything >4.
So I would guess that /dev/hda2 is the extended and your actual d: drive is /dev/hda5. To see how the drive is actually partitioned use the console command fdisk:
fdisk -l /dev/hda (That is a small L and you must be logged in as root)
You're trying to mount both filesystems at the same time to the directory /mnt . You should create two separate directories under this (like say DriveC, DriveD) and replace /mnt with the respective paths. If it still doesn't work, the message about the extended partition means that /dev/hda2 is not the name of the second partitition but an extended partition that contains the D: partition. Extended partitions were created to overcome the limit of 4 primary partitions on one disk because they can be further divided. I don't know why your disk would be set up this way but it would probably make the D: drive /dev/hda3.
use "fdisk -l" to see all partitions.
then "mkdir /mnt/windowsC"
"mount -t vfat /dev/hda1 /mnt/windowsC"
mount -t vfat /dev/hda2 /mnt/windowsD"
you have to make a directory in wich to mount a partition. you tried to mount the second partition in the one where you mounted the first. usally the dir /mnt contains tha directories where are other dirs that are mounted.
to have them mounted on every system boot, edit the file /etc/fstab
Thanks all, this is a big help. Here's another quesiton. I'm using RH 8 here at work, and I have RH WS3 at home. At one point, I noted a message from the system (at work) that it could not mount ntfs, as that file system is unsupported by RH 8. After what kernel version is ntfs supported for disk mounts?
RH / Fedora does not provide NTFS support out of the box. You can google for "linux ntfs" and find the sourceforge webpage for downloading the package so you do not have to recompile the kernel. BTW this is read only support.