Results 1 to 10 of 17
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 ...
- 09-07-2006 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 4
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
)
- 09-07-2006 #2
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 is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-07-2006 #3
You can use ntfs-3g to reliably access ntfs
As Casper noted, it is difficult to write to NTFS from Linux. At least until recently.
Originally Posted by devils_casper
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.
- 09-07-2006 #4Just Joined!
- Join Date
- Sep 2006
- Posts
- 4
Awesome This driver looks like just the thing I needed. Thank you so much!
- 10-11-2006 #5
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.
- 10-11-2006 #6you needs root permissions to execute this code.ntfs-3g /dev/hdb1 /windows/E -o silent,umask=0,local=en_US.utf8
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
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-11-2006 #7Just 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:
Originally Posted by oldcpu
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.
- 10-12-2006 #8
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)
- 10-12-2006 #9chicken:/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?
- 10-12-2006 #10
mount points
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.
Originally Posted by mullet
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.


Reply With Quote
