Bhargav Bhatt wrote:
how would i sharestuff between both machines i.e in
effect, have a common 110
gb space which can be accessed by both machines. I dont mind leaving aside 5gs
for each OS, but i still want to share the rest. Keep in mind that i intend to
run a ftpserver, which is why i want shared space :).
Install the samba package from your distro CD.
If you just want to access the windows machine via the Linux machine, you need
not configure samba. Just install it. In case of Red Hat Linux just install
samba-common, samba-client and the samba rpms. Start the smb service.
Share some folders on the windows machine and ensure that there is connectivity
between the two machines. ( ping ).
Now run the following command.
mount -t smbfs -o username=<your-windows username>, password=your-pass> \
For e.g. to access the shared folder Desktop on the windows machine Ho do the
mount -t smbfs -o username=ashok,password=xxxxx //Ho/Desktop /mnt/cdrom
Use your username obviously.
You can put this in rc.local so that the windows folder is mounted when the
Linux machine starts.
man smbmount for details.
For accessing the Linux machine from Windows, you will need to configure
samba on the Linux machine. Check out oreilly's excellent book.