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!

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.

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.

First of all i want to say that i have really tried to do it myself...used the search button alot but im a bloody newbie and as it seems need an detailed advise.
my HD setup.
[ c:] Windows
[d:] Windows
[e:] Windows.
as you can see i have 3 Windows partiotions and want to mount them in RED HAT.

First of all you have to determine what type of filesystems you have under windows. Is it NTFS or FAT32? The simplest way to find this out is to open a terminal(console) in RedHat under System tools --> Terminal.

Once there type:

su
(this will change you into root user and will prompt for a root password)

Then what you have to do is see what partitions you have. Just type:

/sbin/fdisk -l
(this will produce something like /dev/hda1 ............ NTFS or W95 FAT32.... or something, then /dev/hda2 ...........NTFS or W95 FAT32 or Linux...)

What you have to look for is the partitions which are type NTFS or W95 FAT32, because these are the windows partitions. As you say there are three, there must be three

Look at the devices they are on and remember them and the filesystem types associated with them. For example, if a line says /dev/hda1 ........ NTFS, this is what you must remember /dev/hda1 (the device the partition is on) and NTFS (filesystem type).

And we come to the mounting of the partitions. Depending on what RedHat you have, you might or might not have NTFS support. If you have RH9 then you don't have NTFS support, thus you can't mount or use the NTFS partitions for now. If this is the case, visit

and please read through the page as it will explain to you in easy steps how to mount NTFS partition and how to configure your fstab to automount it at startup. So if you have NTFS, my help ends here, as it is unneeded, because you will get all the help on that page.

In the other case, if you have W95 FAT32 partitions, you are one step away from using your windows partitions. Remember the device names and filesystem types?

You will need them here. Still in a terminal logged in as root:

mkdir /windows1
mount -t vfat /dev/hda1 /windows

This command will mount the FAT32 partition from /dev/hda1(which means harddisk 1, partition 1(which is C: if you installed windows on a formatted harddisk)) in the directory windows1 created with the previous command mkdir. Now you are able to see the files on that partition. just open konqueror, navigate to / and from there to /windows1 and you will see the file structures of the windows partition. REMEMBER, this works only for FAT32 or if you have Fedora 1 or 2, NOT IN RH9 by default.

you should come out of the root of the mounted partition before unmounting it.
when you are typing the unmount command check if you are in the mounted partition.
if yes then change directory to out of the partition and then umount

Originally posted by chandan you should come out of the root of the mounted partition before unmounting it.
when you are typing the unmount command check if you are in the mounted partition.
if yes then change directory to out of the partition and then umount

JESUS that simple!!
THX
what aboz the second question?

Quote:

in window manager (nautilus) i can not enter windows as i nedd root acess.
i knows i can do it through bash but is there a way to do it via window manager??