Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am just a installed RH8.0 yesterday and considered as totally a newbie to linux..
i have two hdisks, one is for winxp (master) and one is rh8.0 (slave). so, now, i want to mount to winxp drive from rh.
my quest is that, what is the my device label for winxp drive? my winxp os is a seperated hdisk, which is a primary master, it has, one primary partition, and two logical partitions. if i want to refer to the primary partition it should be hda1, then how about the other two partitions?
i tried this "mount -t vfat /dev/hda1 /mnt/winxp1. This is ok, i can get a mounted winxp first primary partition.
but, if i tried "mount -t vfat /dev/hda2 /mnt/winxp2" This is not ok..(i want to mount to the logical drive in winxp)
the error prompts that i have a error label which is /dev/hda2. actually, i don't know what should be the correct label device..
are there any ways to get to know what are my pc device labels?
WInXP partitions use NTFS filesystems. THe support for mounting such is still experimental from what I have heard, but it has worked( although writting to the partition is considered dangerous). If your XP partition is the master it should be /dev/hda1 (hdb would be all linux`s partitions). Ok, the logical drive should be /dev/hda2.
Also vfat is for older windows, not sure what is the command for NTFS but read the man page, it should be there.
/dev/hdb = primary slave
/dev/hdb1 = primary slave 1st partition
.
.
.
same as above
/dev/hdc = secondary master drive
/dev/hdc1 = secondary master 1st partition
.
.
.
same as above
/dev/hdd = secondary slave drive
/dev/hdd1 = secondary slave 1st partition
.
.
.
same as above.
I could very well be wrong about the extended (or logical-not sure) partitions as I've never used them. Someone please correct me if I'm wrong. Thanks.
Open a terminal window if already in X, if you're not in X, then you're already in command line.
Once you have a command line prompt, type:
cat /etc/fstab
And then post the results here. Your /etc/fstab will tell you what you already have mounted.
I don't know what you haven't mounted yet and I don't know what hardware you have and where. How many hard drives do you have? How are they set up--primary master, primary slave, secondary master, secondary slave?
If you know how your drives are set up you can use the fdisk utility to determine what your partitions are. Let's say you've got 2 hard drives: one as primary master and one as secondary master. Use the fdisk utility to determine what your partitions are set up as:
fdisk -l /dev/hda
This will list all your partitions for your primary master drive and their types (Linux, NTFS, and whatever else including swap).
fdisk -l /dev/hdc
This will list all your partitions for your secondary master drive and their types (Linux, NTFS, and whatever else including swap).
Once you determine how your partitions are set up, you can compare this with your /etc/fstab and find out what you don't have mounted yet. Hope this helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.