Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > SuSE Linux Help > Accessing your windows files

Forgot Password?
 SuSE Linux Help   For help and discussions related to SuSE Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 09-07-2006   #1 (permalink)
Just Joined!
 
Join Date: Sep 2006
Posts: 4
Unhappy Accessing your windows files

Hello, I am new to these forums and also a bit new to linux so bare with me if you would .

Anyways, heres the overview:

I recently made a partition and installed SuSe linux, and everything seemed to go well. I logged on to my linux account and went around, and then I logged out to get on my windows partition. So I proceeded to get on the windows partition, and I recieved the error "Missing file hal.dll" and it rebooted me. So I got back on linux and got the file from the internet and tried to place it in the file and it gave me the error "You do not have permission". I then tried to place the file in the directory using the konsole, but I got the error that it is a read only directory.

So, basically, my question is, is there any way to access my windows partition and just place this file in? (So close yet so far )
Humdain is offline  



Reply With Quote
Old 09-07-2006   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,596
HI !!!


you can't write in NTFS. if you have FAT32 partition, then copy file there, boot up Windows and copy file in NTFS.
there are a few third party packages which allows writing in NTFS too, but its "Use at your own risk".... i wont suggest you that....


EDIT : ntfs-3g works fine. till now i didn't get any complaints or problems. you can trust ntfs-3g.



.... casper ....
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 09-07-2006   #3 (permalink)
Linux Engineer
 
oldcpu's Avatar
 
Join Date: Aug 2005
Location: Europe
Posts: 1,142
You can use ntfs-3g to reliably access ntfs

Quote:
Originally Posted by devils_casper
you can't write in NTFS. if you have FAT32 partition, then copy file there, boot up Windows and copy file in NTFS.
there are a few third party packages which allows writing in NTFS too
As Casper noted, it is difficult to write to NTFS from Linux. At least until recently.

The new free opensouce "ntfs-3g" driver (and I have NO affiliation) is very reliable and very fast. I've been using it for many weeks (since its mid-summer release) without a problem. It does have a few querks, which still need be resolved, but they are easy to work around.

http://sourceforge.net/mailarchive/f...&forum_id=2697

Thus far only a 32-bit version exists. The driver is purportedly very reliable, and very fast in the testing that has taken place to date.

There is a plan to integrate it into the linux-ntfs project:
http://www.linux-ntfs.org/

I managed to get it working on my SuSE-10.0 and 10.1 PCs, although I can't get it to load automatically via the FSTAB (either due to my boot setup for "fuse", or, to a known bug in the ntfs-3g driver). Instead, as root, one can type a command (or two) from a bash shell, and that enables the driver:

ntfs-3g /dev/hdb1 /windows/E -o silent,umask=0,local=en_US.utf8


and if that gives a failure to mount (and it usually does fail the first time), then one can type the work around:

modprobe fuse

and then repeat the initial line:
ntfs-3g /dev/hdb1 /windows/E -o silent,umask=0,local=en_US.utf8

To unmount one can type:
fusermount -u /windows/E.

I gave the /windows/E directory permissions 775.

One can also put the above in ones /etc/init.d/boot.local and /etc/init.d/halt.local.

There is also another way to put the above in one's boot files, such that the fstab works. I have not got around to implementing that yet on my pc.

The are 32-bit rpms for SuSE-10.0 and 10.1 by guru:
http://linux01.gwdg.de/~pbleser/rpm-...ystem/ntfs-3g/

One must install "fuse" prior to installing ntfs-3g.

I've also read it works for 64-bit, but one would have to get the tarball and compile in that case (or rebuild a 32-bit rpm src file).

The driver looks very promising, and I'm hoping within 6-months or sooner, it should be reasonably polished for 32-bit linux versions.
oldcpu is offline   Reply With Quote
Old 09-07-2006   #4 (permalink)
Just Joined!
 
Join Date: Sep 2006
Posts: 4
Awesome This driver looks like just the thing I needed. Thank you so much!
Humdain is offline   Reply With Quote
Old 10-11-2006   #5 (permalink)
Just Joined!
 
mullet's Avatar
 
Join Date: May 2005
Posts: 49
Send a message via MSN to mullet
I couldn't get the modprobe fuse it keeps saying command error each time. I also tried that command and it kept saying permission denied.

code:ntfs-3g /dev/hdb1 /windows/E -o silent,umask=0,local=en_US.utf8

Error opening partition device: Permission denied
Failed to startup volume: Permission denied
Couldn't mount device '/dev/hdb1': Permission denied
Mount failed.
mullet is offline   Reply With Quote
Old 10-11-2006   #6 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,596
Quote:
ntfs-3g /dev/hdb1 /windows/E -o silent,umask=0,local=en_US.utf8
you needs root permissions to execute this code.
before executing that command, type 'su -'

Code:
su -
enter root password

ntfs-3g /dev/hdb1 /windows/E -o silent,umask=0,local=en_US.utf8



casper
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 10-11-2006   #7 (permalink)
Linux Engineer
 
oldcpu's Avatar
 
Join Date: Aug 2005
Location: Europe
Posts: 1,142
Quote:
Originally Posted by oldcpu
There is also another way to put the above in one's boot files, such that the fstab works. I have not got around to implementing that yet on my pc.
Just to complete my contribution to this thread (apologies, .... I got lazy): On the suseforums site, the following was recommended to me, which works quite well for loading the ntfs-3g driver upon boot. First in a konsole (with root permissions) type:

modprobe fuse

Then edit the file /etc/sysconfig/kernel and modify the line that says:
MODULES_LOADED_ON_BOOT=""
to
MODULES_LOADED_ON_BOOT="fuse"

[I did this using YaST, as opposed to editting the file directly]

And finally I editted /etc/fstab to mount my ntfs partitions.
/dev/hdb1 /windows/e ntfs-3g silent,umask=0,locale=en_US.utf8 0 0

I had previously created the directory /windows/e with 775 permissions.
oldcpu is offline   Reply With Quote
Old 10-12-2006   #8 (permalink)
Just Joined!
 
mullet's Avatar
 
Join Date: May 2005
Posts: 49
Send a message via MSN to mullet
Okay I have 3 NTFS ,C,D & E. drive, will it be the same procedure to mount for all three of them? As that command I used didn't work even in the Root console. I got this message (sorry, I'm still a newbie)

chicken:~ # ntfs-3g /dev/hdb1 /windows/E -o silent,umask=0,local=en_US.utf8
fusermount: bad mount point /windows/E: No such file or directory
fuse_mount failed.
Unmounting /dev/hdb1 (WinXP)
mullet is offline   Reply With Quote
Old 10-12-2006   #9 (permalink)
Just Joined!
 
mullet's Avatar
 
Join Date: May 2005
Posts: 49
Send a message via MSN to mullet
Quote:
chicken:/home/selenarocks552 # modprobe fuse
chicken:/home/selenarocks552 # ntfs-3g /dev/hdb5 /E -o silent,unmask=0,local=en,US.utf8
fusermount: failed to access mountpoint /E: No such file or directory
fuse_mount failed.
Unmounting /dev/hdb5 (backupdan)
chicken:/home/selenarocks552 # ntfs-3g /dev/hdb5 /windows/E -o silent,unmask=0,local=en,US.utf8
fusermount: bad mount point /windows/E: No such file or directory
fuse_mount failed.
Unmounting /dev/hdb5 (backupdan)
chicken:/home/selenarocks552 #

Okay so where do I create the windows/e directory then?
mullet is offline   Reply With Quote
Old 10-12-2006   #10 (permalink)
Linux Engineer
 
oldcpu's Avatar
 
Join Date: Aug 2005
Location: Europe
Posts: 1,142
mount points

Quote:
Originally Posted by mullet
Okay so where do I create the windows/e directory then?
Typically, upon installation, SuSE will detect any NTFS drives, and will automatically create mount points under /windows/C, /windows/D, etc ..... Now as you have discovered, you typically can not write to those NTFS drives with SuSE "as delivered", but as noted above in this thread with the ntfs-3g driver you can.

If /windows/C, /windows/D etc doesn't exist, then you can create them (using root permissions). Once they are created, be certain to change their permissions as I already noted in at least two of my posts above.

Be careful with Linux, in that it is case sensitive for syntax. Be absolutely certain you get the case correct.
oldcpu is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:30 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1