LinuxQuestions.org
Help answer threads with 0 replies.
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 09-04-2001, 09:50 AM   #1
iquadri1
Member
 
Registered: May 2001
Posts: 48

Rep: Reputation: 15
Angry accessing win2k files from R.H 7.1 and vice versa that are on the same hard drive


I am having trouble accessing win2k files from R.H 7.1 and vice versa that are on the same hard drive. I have tried using smbclient, smbmount as well as mount -t smbfs //<computername>/<sharedfolder> /mnt/<somefolder>
commands but none have worked.
Urgent help required.
 
Old 09-04-2001, 01:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
smbclinet etc.. are part of the SaMBa suite, which is for Networks, and thus of no use to you at all.

To mount your windows drive in linux type

mount -t vfat /dev/hdXX /mnt/windows

where XX is the location of the windows partition. If you installed linux after windows,onto the same drive then it should be hda1. you can find out by running fdisk and printing the drive structure.
The /mnt part is where it's going to be mounted. make sure the directory already exists. if this works, add the line:

/dev/hdXX /mnt/windows vfat defaluts 0 0

to your /etc/fstab file. but in a normal installatino it should already be installed.

I don't know if linux can access NTFS partitions or not, but if it can then vfat will probably be replaced with ntfs.

sorted.

Oh and you can't access linux from windows. blame M$. Weel actually you can try using ext2fs explorer, but don't rely on it.
 
Old 09-04-2001, 02:38 PM   #3
Lazlo
Member
 
Registered: Jul 2001
Location: New Mexico
Distribution: Red Hat 7.1
Posts: 33

Rep: Reputation: 15
iquadri1,

Hello. What distro are you using? I use RH Linux 7.1 and I had to recompile the kernel to include NTFS support. Then, I was able to use the command: mount -t ntfs /dev/hdXX /mnt/windows (as acid_kewpie has written). However, I have heard that other distros may come with kernels already supporting NTFS.

Lazlo
 
Old 09-06-2001, 06:22 AM   #4
Steave
Member
 
Registered: Jul 2001
Location: Braunschweig, Germany
Distribution: Suse 7.2
Posts: 184

Rep: Reputation: 30
On NTFS partitions you will only have read-only Access to your windows-files.
Kind of drove me halfway mad trying to get a file from my Linux to my Windows.
 
Old 10-02-2001, 01:20 PM   #5
whysanity
LQ Newbie
 
Registered: Oct 2001
Distribution: Redhat 7.1
Posts: 6

Rep: Reputation: 0
Lazlo:
I'm using Redhat 7.1 also, and I'm looking for help on recompiling the kernel with NTFS support. Thanks
 
Old 10-02-2001, 09:06 PM   #6
Lazlo
Member
 
Registered: Jul 2001
Location: New Mexico
Distribution: Red Hat 7.1
Posts: 33

Rep: Reputation: 15
whysanity,

Hello. When you run make xconfig in the /usr/src/linux directory, you should be able to select an option under "File Systems" for NTFS support. I compiled mine into the kernel instead of as a module. I'm not sure which way is better. Be sure to configure the rest of the kernel for all of the other options you need. Hope this helps.

Lazlo
 
Old 10-02-2001, 11:57 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
You can do it sure, but you would be better off using a partition that is fat 32 so you will have read/write access by both systems and put your shared files on it.
 
Old 10-03-2001, 06:08 AM   #8
whysanity
LQ Newbie
 
Registered: Oct 2001
Distribution: Redhat 7.1
Posts: 6

Rep: Reputation: 0
except I alread have my 3 gigs of mp3s on my ntfs partition
i tried rebuilding the kernel and everything worked fine through bootup, but i had some display problems once i hit the login screen (run level 3, instead of the previous 5). Is there any way to get my current configuration, load it into a config file (to be loaded into xconfig), so i can just change the couple of options that i need? The kernel source for my current kernel version is NOT on the hard drive anywere. Or is my only option whenever recompiling the kernel (new kernel) to have to reselect EVERYTHING?
Thanks
 
Old 10-03-2001, 10:38 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
------------------------
Is there any way to get my current configuration, load it into a config file (to be loaded into xconfig), so i can just change the couple of options that i need?
-----------------------
edit the /etc/X11/XF86Config file
make a backup of it in case you screw it up.
 
  


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
How to see windows XP files from fedora core 4 and vice versa tnnath Linux - Newbie 6 11-03-2005 04:18 AM
access external hard drive linux partition on linux and vice versa garyozzy Linux - Newbie 2 08-03-2005 06:11 PM
Accessing a local windows 2000/xp filesystem from linux and vice versa kaplan71 Fedora 6 05-24-2005 08:46 AM
Accessing Windows files on a seperate hard drive ickselglic Linux - Hardware 1 01-22-2005 06:13 PM
seeing windows files in linux and vice versa shycalais Linux - Newbie 5 09-10-2003 09:05 AM

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

All times are GMT -5. The time now is 02:21 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