LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2004, 07:15 AM   #1
nbhalala
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 0
Question Mounting in LINUX


Hello Friends...
I have very interesting doubts...
I have in my PC , Windows 2000 + LINUX 7.2 OS
Now i need windows partiotion / folder (hda2/hda3,etc )to be mounted on LINUX platform ....
Using SAMBA it works fine but NOT that much USER FRIENDLY....
anybody can help me......Thanks in advance....

Naresh Bhalala 022-28936611
Mumbai
 
Old 06-04-2004, 07:41 AM   #2
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Mounting - File System Type = Difficulty

When you say Linux 7.2, you are obviously talking about a Linux distro, perhaps Redhat 7.2? Anyway, the difficulty ( and reliability ) depends on what File System your Windows 2000 installation is using. I believe even back with Redhat 7.2, the FAT12/16/32 file systems were well supported, so you could ( in Linux, as root ) just do:
*assuming the Windows partition is on /dev/hdb1

mkdir ~/Windows
mount -t vfat -o rw,umask=0,uid=<your username>,gid=wheel /dev/hdb1 ~/Windows

and have it work just fine. You could put an entry for this in /etc/fstab that would look something like this ->
/dev/hdb1 ~/Windows vfat rw,umask=0,uid=<your username>,gid=wheel 0 0

To have it auto-mount when Linux boots up.

Now here comes the rub, I used vfat( FAT32) in my example because I know that works well. If Windows 2000 partition is in NTFS format, I believe you will need to reconfigure your kernel to compile support for NTFS into it as it is not there by default. In addition, NTFS was never well-documented as the FAT file systems were, so its pretty much only usable in a read-only situation.
 
Old 06-04-2004, 07:42 AM   #3
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
first make a mount point:

mkdir /mnt/hda2
mkdir /mnt/hda3

then mount your partitions:

mount /dev/hda2 -t ntfs /mnt/hda2
mount /dev/hda3 -t ntfs /mnt/hda3

Exchange "ntfs" for "vfat" if your partitions are fat32
you can also add these partitions to your "/etc/fstab". This will allow you to access you partitions more easily. See "man fstab" for a more detailed explanation.

edit: sry fortezza, instapost!

Last edited by Tuttle; 06-04-2004 at 07:43 AM.
 
Old 06-04-2004, 08:17 AM   #4
nbhalala
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Question Mounting in LINUX

Hello Friends...
I have very interesting doubts...
I have in my PC , Windows 2000 + LINUX 7.2 OS
Now i need windows partiotion / folder (hda2/hda3,etc )to be mounted on LINUX platform ....
Using SAMBA it works fine but NOT that much USER FRIENDLY....
anybody can help me......Thanks in advance....

Naresh Bhalala 022-28936611
Mumbai
 
Old 06-04-2004, 09:22 AM   #5
askjha
Newbie
 
Registered: Jun 2004
Location: INDIA
Distribution: RedHat 9.2,Mandrake 10.2
Posts: 21

Rep: Reputation: 15
If i guess there is somthing called linuxconf in 7.2 so if it is then
on command prompt type
linuxconf
|_
Access to local drive
there u choose the mount point
like /mnt/win_c and so
give the parttion dev file
e.g /dev/hda1
choose appropriate file type as vfat and just procceed

other choice is edit /etc/fstab file
login as root or do su
then
vi /etc/fstab
enter following in that file
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850 1 0
similarly for other file partition
then save it as :wq
then
mount -a
exit from root login and login as a normal user
now u should be able to access ur windows files
Happy Linuxing
askjha
 
Old 06-04-2004, 10:29 AM   #6
Ironica
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 64

Rep: Reputation: 15
Login as root. Then make directory for the mount point:
mkdir /mnt/c
then mount it:
mount /dev/hda2 /mnt/c
And you can easily unmount it, if you want to:
umount /dev/hda2
 
Old 06-04-2004, 04:18 PM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Why the double topics?
 
  


Reply



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
Help Me!! mounting embedded linux to linux redhat 9 koh84 Red Hat 3 09-01-2005 11:39 AM
mounting in linux carthyc Linux - Newbie 1 06-07-2005 11:58 AM
Linux Mounting issues varunbihani Linux - Hardware 4 06-19-2004 05:14 PM
mounting (?) another Linux box... Misteree Linux - Networking 12 05-04-2004 10:26 AM
Mounting NTFS on linux subhasis_ray Linux - Newbie 1 03-18-2002 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:20 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
Open Source Consulting | Domain Registration