LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-02-2004, 06:18 PM   #1
ilectrcbob
Member
 
Registered: Jun 2004
Location: Vienna
Distribution: FC 3
Posts: 54

Rep: Reputation: 15
need help to mount and add Windows Partitions


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.

my fstab looks like the following

"
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdd3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
"
hmmm what do i have to do to add them in here ??
THX for the help
 
Old 06-02-2004, 06:49 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
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

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

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.

Good luck! Peace!
 
Old 06-03-2004, 01:34 AM   #3
ilectrcbob
Member
 
Registered: Jun 2004
Location: Vienna
Distribution: FC 3
Posts: 54

Original Poster
Rep: Reputation: 15
GREAT !!!!
THX for the advise!
just for info as i have forget to write it =>
i use RED HAT 9 and all partitions are in NTFS
 
Old 06-03-2004, 03:01 AM   #4
ilectrcbob
Member
 
Registered: Jun 2004
Location: Vienna
Distribution: FC 3
Posts: 54

Original Poster
Rep: Reputation: 15
After all i have mounted my partitions!!!!
WOW
by now i have another question.
If i want to umount Win it says:
umount: /mnt/windows: device is busy

i use the commands :
umount /mnt/windows
umount /dev/hda1



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??
 
Old 06-03-2004, 03:51 AM   #5
chandan
Member
 
Registered: Feb 2003
Location: Bangalore, India
Distribution: Fedora Core 2
Posts: 60

Rep: Reputation: 15
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
 
Old 06-03-2004, 04:37 AM   #6
ilectrcbob
Member
 
Registered: Jun 2004
Location: Vienna
Distribution: FC 3
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
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??
 
Old 06-03-2004, 07:04 AM   #7
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
You need to mount it for other users too. Just read the info on the link I provided!
 
Old 06-03-2004, 08:56 AM   #8
ilectrcbob
Member
 
Registered: Jun 2004
Location: Vienna
Distribution: FC 3
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by marghorp
You need to mount it for other users too. Just read the info on the link I provided!
Well i think i should read everythink bevor posting here
THX
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm not able to mount windows partitions as rw akudewan Ubuntu 2 05-21-2005 03:11 AM
mount windows xp partitions in ubuntu newbieSC Linux - Newbie 8 04-20-2005 10:47 PM
Unable to mount Windows partitions ! shankariyer Red Hat 8 12-22-2003 08:02 AM
Not seeing windows partitions with df and mount command deepika Linux - General 5 07-15-2003 05:04 PM
Mount Windows Partitions? RedHatMN Linux - Newbie 9 12-15-2001 12:49 PM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration