Network & NTFS help neededForum: Other Help Topics Topic: Network & NTFS help needed started by: bryanw20 Posted by bryanw20 on June 18 2005,17:21
I need help, I used DSL about a year ago to recover a notebook HD via my network. I thought I made a cheat sheet of what I did, of course I can't find it now and have another HD that I can't access from windows anymore, but I was able to fumble around enough with DSl to see there are files on the HD still.How can I run DSL to mount the ntfs drive to be accessed by another win machine so I can try to copy some files over? The more descriptive the better as it's been a long time since I've used linux. Thanks I have a CD bootable version of DSL working, the machine has a linux compatible NIC card as I was able to sure the web when I was playing with it. Bryan Posted by bryanw20 on June 19 2005,15:50
I've fumbled around a bit and can mount the HD. I can see files in emnfl(?) I somehow set an ip number and can ping it from my other win machines. I just can't remember what I did to copy the files from linux boot to the windows box. I ran some program, maybe something as simple as a FTP, but just can't remember.Any help on how to copy would be great. Bryan Posted by SuperLou on June 19 2005,16:35
I'm away from my DSL comp. so I'm not quite sure on the exact things, but you can setup an ftp pretty simply with DSL. Open a terminal and type "sudo passwd dsl" and follow the instructions to change (set) the pass of the DSL user account. Then from your right click menu (i think it's in the system subheading) choose Start ftpd. Open up an IE window on the windows box and type in < ftp://dsl.machine.ip.here > . With any luck the /home/dsl folder should show up after you give it your username "DSL" and pass "whatever you set".
Posted by bryanw20 on June 19 2005,17:20
Thank you, thank you... I'm getting somewhere now, except when I do the "sudo passwd dsl" I type in a password, but then it says error creating file. I'm running DSL from CD, does that make a difference? I tried the loadtoram option and get the same problem. Is there a gerneric user/password? My dsl box shows the linux box name as "box", does this mean anything? Is that a user account?Thanks for the help, I'm feeling more confident every minute I'm going to get this figured out! Posted by SuperLou on June 19 2005,18:05
Ok. I had that problem too early on. Try running /etc/init.d/ssh_addusers as user root. This will ensure that all the password related files are writeable (thanks Roberts < http://damnsmalllinux.org/cgi-bin....sword). > Once you do that try mounting the ntfs readonly somewhere inside your home/dsl and i think it should show up in the ftp.
Posted by bryanw20 on June 19 2005,19:40
Thanks again, that worked. I can now ftp into the box from the win machine. Now I can't see the hdb1. If I mount /dev/hdb1 or mount -t ntfs .... I can no longer ftp into the box. What did I screw up? When I Ftp I'm seeing the /ramdisk/home/dsl dir of the linux box. Hopefully there's a simple way to see hdb1 also. Thanks again! Posted by SuperLou on June 20 2005,02:15
where did you mount it to? To be honest, I'm not quite sure how ftpd works. Did you make a folder "/home/dsl/ntfsfolder/" and use "mount /dev/hdb1 /home/dsl/ntfsfolder -t ntfs -ro"I think the mount command is something like that. -ro is just to warn dsl it's read only. Posted by hawki on June 20 2005,17:24
HiHere's a few things: 1. On the DSL machine use the menu/system/addusers script to add a new user and password. 2. When you booted the system should have found the ntfs partition all you should need to do is use the mount app on the right to mount it. 3. From the M$ machine use ftp ot login to the DSL machine using the new user and password. 4. You should now be able to get files from the DSL machine by navigating to the /mnt/hdb1 directory. 5. I don't think you will be able to put files to the DSL machine. I don't think the ntfs file system can be mounted read/write on the DSL machine. In other words I think ntfs is always read-only. Trying to write to it may lock things up. 6. I could be wrong about #5. 7. The new user you added in step one will not be there the next time you boot. good luck Posted by bryanw20 on June 20 2005,22:26
Thanks for the help. That seems to be the path I was on. I could create a user/pw, and ftp to the dsl box. The problem is I have no permmisions after I mount the ntfs drive (hdb1). Going on the FTp concept I did the reverse. I started a ftp server on my MS machine, then used anyftx from DSL. I can't seem to que a whole lot of folders at a time, but I have slowly been transfering the data. so far about 12G in 12hrs. Slow, but I'm getting access to files other wise lost! Which lead to another question, maybe no one here can help with. Why would a drive stop working in windows (2k), where it's been for years, but Linux, which has it's own format, can read & transfer the files fine? |