LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-02-2006, 01:09 PM   #1
stees
Member
 
Registered: May 2006
Distribution: OpenSuse 11, Red Hat, Fedora
Posts: 34

Rep: Reputation: 15
Is there way to share/view files with local windows partition???


I installed a dual boot on my old 700mhz system.

One partition (20.5GB) currently runs windows xp
while another partition (17 GB) has a logical volume group that runs linux (a root mount, a home mount, and a swap volume)
the last partition is the /boot (102MB)

I am wondering if there is a way for Linux to view/share the files on my local windows partition. I have read numerous forums, websites, and faqs, but nothing seems to be exactly what i need. I have tried using samba to connect to the local partition without success. I tried to mount /dev/hda1 to /mnt/windows. but my mount command doesnt work with ntfs filesystems.... (i know there is a seperate mount binary executable for NTFS... but i wish to learn other options/solutions before i pursue that one)

is the mount command the only way to view/share my files on my local windows partition
i am not part of any network it is just a standalone home desktop...

BUT i have a similiar setup at work (one partition a NTFS windows xp and the other partition a logical volume group running the linux mounts the swap volume)
so how would i share/view the files at work? the samba client works well with the network at work, but is there a way to share/view the local files on my windows partition at work too?


thanks for the help in advance.

I am using Fedora Core 5 if that helps and the file system is ext3
 
Old 05-02-2006, 02:07 PM   #2
EchoWarrior
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Gentoo 2006.0, Debian 3.1r0
Posts: 60

Rep: Reputation: 15
Have you tried:
Code:
mount -t ntfs /dev/hda1 /mnt/windows
 
Old 05-02-2006, 02:21 PM   #3
stees
Member
 
Registered: May 2006
Distribution: OpenSuse 11, Red Hat, Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by samba`
I have tried using samba to connect to the local partition without success. I tried to mount /dev/hda1 to /mnt/windows. but my mount command doesnt work with ntfs filesystems.... (i know there is a seperate mount binary executable for NTFS... but i wish to learn other options/solutions before i pursue that one)
yeah, this is what i get
Quote:
Originally Posted by terminal
[root@artimus samba]# mount -t ntfs /dev/hda1 /mnt/windows
mount: unknown filesystem type 'ntfs'
i read further about this, and it seems that to mount a NTFS file system you need a seperate mount binary executable that supports the NTFS (in other words the NTFS file system has a mount executable of its own)
thanks 4 ur help though
 
Old 05-02-2006, 02:46 PM   #4
stees
Member
 
Registered: May 2006
Distribution: OpenSuse 11, Red Hat, Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
my /proc/filesystems

my /proc/filesystem is as follows
Code:
[samba@artimus proc]$ cat filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cpuset
nodev   binfmt_misc
nodev   debugfs
nodev   securityfs
nodev   sockfs
nodev   usbfs
nodev   pipefs
nodev   futexfs
nodev   tmpfs
nodev   inotifyfs
nodev   eventpollfs
nodev   devpts
        ext2
nodev   ramfs
nodev   hugetlbfs
        iso9660
nodev   mqueue
nodev   selinuxfs
        ext3
nodev   rpc_pipefs
nodev   autofs
i am inferring that my kernel does not support NTFS filesystems???

kernel version is 2.6.15-1.2054_FC5 at home
and 2.6.15-1.2054_FC5smp at work
 
Old 05-02-2006, 02:48 PM   #5
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
Try running

# modprobe ntfs

before issuing the mount command. If that doesn't work, you'll need to compile a kernel with ntfs support.
 
Old 05-02-2006, 03:28 PM   #6
stees
Member
 
Registered: May 2006
Distribution: OpenSuse 11, Red Hat, Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
hmm

Code:
[samba@artimus ~]$ modprobe ntfs
bash: modprobe: command not found
is modprobe a command from another distro??
i am running fedora core 5, is there maybe a similiar command??
or maybe i did not install the package that has that command???
 
Old 05-02-2006, 03:33 PM   #7
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
try
su
<password>
modprobe ntfs
 
Old 05-02-2006, 03:35 PM   #8
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
run it as root
 
Old 05-02-2006, 04:29 PM   #9
stees
Member
 
Registered: May 2006
Distribution: OpenSuse 11, Red Hat, Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
same....

Code:
[root@artimus samba]# modprobe ntfs
bash: modprobe: command not found
 
Old 05-02-2006, 04:30 PM   #10
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
fedora, hmm, try

# /sbin/modprobe ntfs
 
Old 05-02-2006, 04:31 PM   #11
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
try /sbin/modprobe ntfs as root
 
Old 05-02-2006, 04:47 PM   #12
stees
Member
 
Registered: May 2006
Distribution: OpenSuse 11, Red Hat, Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
YOU GUYS ARE GOOD!

but...

Code:
[root@artimus samba]# /sbin/modprobe ntfs
FATAL: Module ntfs not found.
so i guess i have to recompile???

hmmm is there not a way to configure SAMBA to share locally???
 
Old 05-02-2006, 05:01 PM   #13
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
Looks like you can install an ntfs module as an rpm for the kernel in fedora core (no recompile necessary):

http://www.linux-ntfs.org/content/view/187/

and you can use yum to install this:

http://www.fedorafaq.org/#ntfs

Also check out

http://www.stanton-finley.net/fedora...ion_notes.html

(the section about ntfs)

Cheers.
 
Old 05-03-2006, 01:41 PM   #14
stees
Member
 
Registered: May 2006
Distribution: OpenSuse 11, Red Hat, Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
ok. here's the result:

Code:
[root@localhost yum.repos.d]# yum install kmod-ntfs
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core                                                                 [1/3]
updates                                                              [2/3]
extras                                                               [3/3]
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: kmod-ntfs
Nothing to do
i get the same messages when i try to install some of the other packages listed in the fedorafaq:
# yum install gstreamer-plugins-ugly
# yum install xmms-mp3
# yum install kdemultimedia-extras


at work: i still have the following line for baseurl in the *.repo files in /etc/yum.repos.d/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

but at home (where i have the same exact error) i have a local repository consisting of the files from the 5 installation disks [entire first disk, and the rpms from the rest in their respective directory]
so at home the baseurl in the *.repo files in /etc/yum.repos.d/ is:
baseurl=file:///var/repo/

i guess i have to download these packages manually to install them.....
this package is not on any of the 5 disks that came as the installation?? (the disks are at home right now....im not)

just for everyone's information: i initially installed fedora almost 2 weeks ago [had about 4-5 reinstalls] and i am still trying to configure basic things!!!
[modem, soundcard, screen resolution, AOL DIAL-UP [yea... i know], access to windows filesystem, playing mp3/divx, etc...]

SO I THANK ALL OF YOU FOR THE HELP THUS FAR!

Last edited by stees; 05-03-2006 at 01:44 PM.
 
Old 05-03-2006, 01:52 PM   #15
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
ok, so it looks like kmod-ntfs isn't in your repos. So you will either need to add some repos or download the rpms that you are going to need if you want kmod-ntfs
 
  


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
share files on local machine bulldogzerofive Linux - General 1 09-16-2005 09:46 AM
View files on Linux and Windows lennysokol Linux - Software 2 04-03-2005 11:53 AM
axyftp doesn't view local files gunnix Linux - Software 2 03-22-2005 09:25 PM
cant view files on windows share Pete Dogg Linux - Software 3 10-22-2003 10:18 PM
to view linux partition on windows 95 arraman Linux - General 4 06-08-2001 11:41 PM


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