PDA

View Full Version : Download and save to windows partition?



rrfish72
09-03-2004, 01:51 PM
Is it possible to download files and other material and save it to the windows partition. I have 60GB of space on the windows partition and would like to download files and save them there. Is there a program or something I can do to let me do this. When I try it on certain folders and files in hda1(windows partition) I get this message:

Could not save properties. You do not have sufficient access to write to /mnt/hda1/Music Back up/.directory

and I was just trying to change the icon there.

j.drake
09-03-2004, 02:40 PM
When you say Windows partition, are you talking NTFS or FAT32? If NTFS, I would make sure I''m running 2.6 kernel and Captive NTFS. Even then, I'd be nervous without a good backup of critical files. I save files to FAT32 partitions all the time - no problem.

Other issue - I assume you flagged your Windows partition for read/write access, right?

jd

rrfish72
09-03-2004, 03:12 PM
Partition is ntfs. How do I go about running/installing captive NTFS? I think I did the read -write access, but could you refresh my memory please?

j.drake
09-03-2004, 04:35 PM
For read/write - Right click drive icon ->properties -> third tab -> uncheck read only -> OK -> Right-click icon again - if unmount is not an option, you're done, if it is, click it, then left click the icon again to remount.

Captive NTFS. There is a script that you can find from the penguin icon to (IIRC, Utilities - either that or configure), but DON'T USE IT. It's buggy and will freeze your machine. Here's (http://www.knoppix.net/forum/viewtopic.php?p=47365#47365) the workaround that worked for me.

jd

rrfish72
09-03-2004, 05:13 PM
So how does that go: copy what drivers to my home directory. How do I get those

X:\%WINDIR%\system32\drivers\cdfs.sys
X:\%WINDIR%\system32\drivers\fastfat.sys
X:\%WINDIR%\system32\drivers\ntfs.sys
X:\%WINDIR%\system32\ntoskrnl.exe

to be copied? Where are they so I can copy them?
This is what I get without that step:

root@17[knoppix]# sudo captive-install-acquire --text --scan-path=/home/knoppix/captive-drivers

(process:3563): Captive-WARNING **: Error loading "file:///home/knoppix/captive-drivers": File not found
root@17[knoppix]# sudo mount -t captive-ntfs /dev/hda1 /mnt/hda1
Captive NTFS v1.1.4. Check a new version at: http://www.jankratochvil.net/
mount.captive-ntfs: /dev/hda1 already mounted
mount.captive-ntfs: according to mtab, /dev/hda1 is mounted on /mnt/hda1
mount.captive-ntfs: Use '-o force' to mount the image notwithstanding.
root@17[knoppix]#

After I made a folder with nothing in it in my home called captive-drivers nothing happens after running sudo captive-install-acquire --text --scan-path=/home/knoppix/captive-drivers.

j.drake
09-03-2004, 08:14 PM
No, I think you have to find and copy them first. E2g pretty well told you where they're found (even though he applied variables for the drive letter and Windows directory).

If I were you, I'd boot into Windows, open Windows Explorer, and click on the Windows folder. On my computer, it's C:\Windows. If that's true in your case as well, then it's likely that cdfs.sys, fastfat.sys and ntfs.sys are in the C:\Windows\system32\drivers\ directory, and ntoskrnl.exe is in the C:\Windows\system32\ directory. USe the search function if you'd rather. Find them and copy them somewhere (you know, rt click copy, rt click paste). Put them on a USB key, or create a folder called C:\drivers if you want, and paste them there.

Exit Windows, open Knoppix. Open your home directory, and create a new folder called "captive-drivers", to use e2g's example. Go to your hda1 icon on your desk and click it. It should open, then you can open the folder you named "drivers", and the files should be inside. Select all of them, right click, copy, go back to the "captive-drivers" folder you installed in your home directory, right-click, paste. From here on out, should be just as he said with the commands.


Unmount the partition. Then run

sudo captive-install-acquire --text --scan-path=/home/knoppix/captive-drivers

and you'll get an error message about not being able to read ext2fsd.sys that you can ignore. You should now be able to mount your NTFS partition using the command

sudo mount -t captive-ntfs /dev/hda1 /mnt/hda1

Alternatively, he suggested,


Maybe all you really need to do is copy those four files from WinXP into /var/lib/captive and you're good to go!

I didn't try that method because the other one worked for me.

The reason you got the "file not found" error when running those commands is because you hadn't yet copied them over (BTW, it's really kind of dangerous to take liberties with a process when you're running as root - you might want to avoid doing that). Then, when you went to mount the partition, the filetype was unfamiliar (note in his suggested command, the "-t captive-ntfs" - if you look up the syntax for the mount command, the "-t" is the flag for fille Type, and for Knoppix to deal with that filetype, it needs those drivers, and needs to know where they are.

hth

jd.

rrfish72
09-03-2004, 11:16 PM
Did all of the above. Now when I try to unmount hda1 it say the device is busy. Is there a way to force an unmount? Wait...everyting went through after closing all applications and it told me about another update or newer version. Now, how do I go about writning to it?