PDA

View Full Version : More Linux woes....


bogger-tee
08-08-2004, 09:08 PM
K, here?s my latest Linux problem?

I?ve got a desktop with 2hd?s in it. One with XP one with Debian. Both in the same machine.

From What I know Samba is the Linux side of the file sharing but how about xp? When I built debian I added NTFS as a file system (assuming I had to) but still not having much luck.

Basically I want to be able to access either drive for either OS.

Go guru?s go!!!!

Mr_Pink
08-08-2004, 09:10 PM
Linux is one BIG woe......hahahahhahaha. :p

bogger-tee
08-08-2004, 09:22 PM
Linux is one BIG woe......hahahahhahaha. :p

Seems like it. Nothing is easy!

Mr_Pink
08-08-2004, 09:36 PM
I imagine someone here can figure it out for you.

bogger-tee
08-08-2004, 09:51 PM
I imagine someone here can figure it out for you.
Yeah that's what I thought.

Have trawled through the web a bit, found a bit of info but nothing really specific.
People rambling on about using FAT32, fuck that! Some whispy haired nerd must have figured out how to share using NTFS.

Or maybe I'll just have to bite the bullet and go to a Linux users meeting..

"Bring some biscuits, tea and coffee is free"???shudder..??.

Finnster
08-09-2004, 08:08 AM
I'd say that your first problem is utilizing xp for anything except internet applications. If you want to file share between linux and windows, the easiest to set up is with windows 2000. And no, you don't have to do anything special. From your linux side, nfs mount the directory on the windows side you wish to have shared and voila. File sharing. This is of course from a noob on the file sharing thing... but that's what we do here at my office.

Phaed would probably give you a little more detail on this issue. But after you turn samba on, turn on nfs and mount a directory and see what happens.

Finnster
08-09-2004, 08:11 AM
About the fat32 thing.... I have been told that on a double boot box that the windows partition does not nave to be ntfs and in fact is better in fat32 in order for linux to basically ignore it. But seeing as how you have 2 hds, it doesn't really matter what your windows is set up as.

That cock probably had no idea what the hell he was saying. Oh well.....

I hope you get your problem figured out.

Phaedrus
08-09-2004, 05:04 PM
K, here?s my latest Linux problem?

I?ve got a desktop with 2hd?s in it. One with XP one with Debian. Both in the same machine.

From What I know Samba is the Linux side of the file sharing but how about xp? When I built debian I added NTFS as a file system (assuming I had to) but still not having much luck.

Basically I want to be able to access either drive for either OS.

Go guru?s go!!!!

From what I am gathering, you want to be able to access either HDD? If you are in Debian, access the Windows drive and vice versa...

Accessing NTFS is not that hard. there actually is a site that keeps up with latest kernels which you can find here (http://linux-ntfs.sourceforge.net/). I think there is a Debian driver there, but I'm not sure. I haven't used Debian in a while.

As for accessing ext or ext2 from Windows XP -- I'm not too sure on that. Best my knowledge I haven't seen support for ext or ext2 from within Windows.

One thing to note -- NTFS is tricky, due to the built in security (likewise with ext and ext2) which is why support is still sketchy at best. Make sure you read through the ntfs driver documentation to find out how to mount a partition with support for read/write/execute. I didn't mess with it too much as I don't really have a need to access drives on the same machine when all of the files I would need are on a SMB server.

Speaking of SMB... If you are going to be accessing files across a network then that is WAY too easy. You can use Webmin to configure SMB top to bottom in about 15 minutes -- complete with users, share permissions, and other security features, such as restricting access based on IP Address/subnet. you can get it here (http://www.webmin.com/) and it's VERY easy to install. Not sure if apt has it listed, but may be worth an apt-get install webmin just to see.

Good luck.

bogger-tee
08-09-2004, 05:19 PM
Thanks for the help guys...

Will try this stuff out and let you know how I get on.
I'm keen to get this damn linux working if it kills me!

Just at the moment I still need MS for functionality

P.S. are there any good Bittorrtent clients round?? pref GUI??

Phaedrus
08-09-2004, 05:34 PM
There are for Windows, but I haven't tried any of them. Try googling them.

Phaedrus
08-09-2004, 05:36 PM
I was able to find support for ext, ext2, and ext3 for Windows. It's easy to setup, and works after a reboot. Much like accessing NTFS from within Linux, you can pretty just access the mounted FS with read only permissions. Check it out here (http://uranus.it.swin.edu.au/~jn/linux/ext2ifs.htm).

http://www.voidofcontent.com/files/ext3_xp.jpg

bogger-tee
08-10-2004, 10:45 PM
I was able to find support for ext, ext2, and ext3 for Windows. It's easy to setup, and works after a reboot. Much like accessing NTFS from within Linux, you can pretty just access the mounted FS with read only permissions. Check it out here (http://uranus.it.swin.edu.au/~jn/linux/ext2ifs.htm).

http://www.voidofcontent.com/files/ext3_xp.jpg


Cool man, nice little app. Got it to go with out to much hassle.
Only prob was assigning the drive letter through XP

Still having a bit of a hassle sorting samba. Have tried to manually configure the smb.conf file and also tried to get SWAT going..

How do I mount the drives in linux??

Ok bit of topic but this always gets me.... dependencies why is it so hard to install anything, example I want a Bt client there's one called Bittornado so fine. "apt-get install bittornado" fine there are libraries missing. Now why can this be automated for me?

P.S. Using debian

Phaedrus
08-11-2004, 12:29 AM
Cool man, nice little app. Got it to go with out to much hassle.
Only prob was assigning the drive letter through XP

Still having a bit of a hassle sorting samba. Have tried to manually configure the smb.conf file and also tried to get SWAT going..

How do I mount the drives in linux??

Ok bit of topic but this always gets me.... dependencies why is it so hard to install anything, example I want a Bt client there's one called Bittornado so fine. "apt-get install bittornado" fine there are libraries missing. Now why can this be automated for me?

P.S. Using debian

You'll need to create a mount point in the /mnt directory. To actually mount the share, you can use switches on the mount command, or you can try to use smbmount. Warning though -- if you are going to try to mount a share from an XP or Win200x Server, it's not going to work. But, if you are going to mount from an SMB server, or something other than 200X or XP, you can use either of the two commands above. You may want to try checking the man pages for each of those, or you can just google it, and come up with some pretty good examples. Also, you can automount the shares from the /etc/fstab file. Again, google for examples, as it's really easy to set that up. Let me know how that goes.