LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2005, 03:54 AM   #1
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Rep: Reputation: 15
Network Access From an XP machine


Ive Just set up a pc, with two 20gig hard disk drives, specifying the second as /home in the setup program (dont know whether that was a mistake or not) and what i want to do is be able to effectively share the second hard drive over the network, so windows XP machines can access the second drive, and use it like a remote hard disk, but so several computers can access it, without having shared files themselves, and without an extra program required on the windows, (keeping windows simple). i also want to be able to use the second drive to store files from the linux system as well, if that matters. any answers will be greately appreciated
 
Old 07-07-2005, 04:04 AM   #2
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
I think the first step, (leave it to me to state the obvious ) in order to ensure cross-compatability, will be to make sure the drive is formatted fat32, if you want (reliable) rw capabilities in Linux, or NTFS if you don't.
 
Old 07-07-2005, 04:17 AM   #3
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
thankyou for stating the obvious, because to me its not quite so obvious, so how do i reformat it as fat32?
 
Old 07-07-2005, 04:24 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If you go to Control Panel > Administrative Tools > Computer Management > Storage > Disk Management, you should be able to reformat it there and choose the file system. Remember to back up any data on the drive first though!
 
Old 07-07-2005, 05:00 AM   #5
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
how do i get to the control panel

i feel like such an idiot for having to ask that question
 
Old 07-07-2005, 07:18 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally posted by coal-fire-ice
how do i get to the control panel

i feel like such an idiot for having to ask that question
Haven't been using XP that long? Click the Start button, then Settings and it's under there.
 
Old 07-07-2005, 07:52 AM   #7
Xzanron
LQ Newbie
 
Registered: Dec 2004
Location: London, UK
Distribution: Mandriva 2005 LE
Posts: 11

Rep: Reputation: 0
I thought we wanted network access?

You only need fat32 if windows and linux are dual booted and you want both OSs to see the same harddisk.

If windows and linux are on a different computer, but on the same network, then install samba on the linux box. This emulates windows file sharing for linux.

My distro sets up samba so that it automatically shares the home folders, if not you'll need to configure it.

Windows users can then get to their files (without even needing to log in, if the windows username and passwords match the samba ones). In a My Computer window, your windows users would type "\\linuxbox\username\" and would then see their home directory.

This method preserves/enforces file/directory permissions.

Things i've noted about samba are that it has it's own user tables, so you'll need to add all your linux users to samba, just something to watch out for.

I have a linux box acting as my filestore, so that i can randomly trash my windows PC without losing data and this setup works for me.

-----------------------------------------------------------------------------------------
If the linux and windows OS are in the same box then please note this:

If you backup the second drive in XP, make sure you actually copy All the files.

WindowsXP by default hides certain files, notably hidden ones. Also windows XP has problems with files that start with a dot. It seems ok copying them, but you cannot create them in XP.

To ensure you are copying all files open My Computer, and from the menu select Tools->Folder Options. In the view tab, go through and ensure that all the settings that get windows to hide files are turned off (or whatever, it's not always consistant).

Then you can copy the files off the hard drive, reformat it and put them back on.

If you actually have linux installed at the time.. it might be better to do this through linux, as i have no idea how linux will react to the harddisk suddenly changing filesystem.

Also from a security point of view, FAT32 does not have file permissions. So everyone will have access to everyone else's files.
 
Old 07-07-2005, 08:54 AM   #8
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Looking at the original post, many of the replys are incorrect or unnecessary. The questions was, "what i want to do is be able to effectively share the second hard drive over the network". Over the network will require that Samba be running on the linux computer. That is it. All the discussions of formatting are unnecessary. He isn't sharing data between 2 OSes on 1 machine, he is using the samba server as a file server. Any formatting will be fine, and samba will allow the M$ computers to write across the network, provided he gets the permissions set up correctly.

To the original poster, there is no problem with have one full drive set as home. 20 GB doesn't strike me as much space, particularly if music/video files are involved, but if that is what you have to work with, that is fine. Getting samba set up correctly isn't a trivial task. You'll most likely have to do a ton of reading, as well as searches here and on google. What you are looking to do is often done, so look for guides to help you if you get stuck.

Peace,
JimBass
 
Old 07-07-2005, 09:39 AM   #9
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
thankyou - obviously the first guy didnt understand what i wanted to do, thankyou, to the other people for your responses though, cos now i know what i got to do.
 
Old 07-12-2005, 05:56 PM   #10
LordSurvivoR
Member
 
Registered: Jul 2005
Location: Serbia
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
Is Linux able to write on NTFS partition(s) throught samba (without damaging data on ntfs partition)? (linux box to write throught LAN to windows machine on ntfs)
I can't afford me to reformat windoz's NTFS partitions on other PC, no space available for backup.

Last edited by LordSurvivoR; 07-12-2005 at 05:59 PM.
 
Old 07-12-2005, 07:26 PM   #11
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Take a look at this if you want to use samba
http://us4.samba.org/samba/docs/using_samba/toc.html
It will be very helpfull.
 
Old 07-13-2005, 12:09 AM   #12
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Quote:
Originally posted by coal-fire-ice
thankyou - obviously the first guy didnt understand what i wanted to do, thankyou, to the other people for your responses though, cos now i know what i got to do.
Upon review, I OBVIOUSLY didn't think your question all the way through! I'm very sorry about that! Unfortunately, incomplete thinking plagued me quite a bit over the past two weeks, a symptom of raging insomnia. This problem has been resolved, and (hopefully) I won't be talking out of my butt again any time soon!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestions for setting up a network machine with remote terminal access cav Slackware 4 11-11-2005 06:14 PM
Control multiple machine from one machine with help of network spinner_0 Linux - Networking 4 10-27-2005 07:20 AM
how to access internet from a linux machine via a linux machine as gateway b0nd Linux - Newbie 5 03-21-2005 11:59 AM
linux machine does not connect to the network in windows network Bzuco Linux - Networking 2 07-19-2004 04:44 AM
Can see RH machine, but can't access it hanchey Linux - Networking 23 08-22-2003 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration