Installing XP on Ubuntu

Preston Hagar prestonh at gmail.com
Thu Oct 22 17:08:41 UTC 2009


On Thu, Oct 22, 2009 at 5:35 AM, dheeraj bansal
<bansalcooldheeraj at gmail.com> wrote:
> Hi,
>
> Thanks a ton guys for all the help, my ultimate objective is to
> connect a windows XP machine with a Ubuntu machine using cross cable
> to share data between the two, and for this I was in the notion that
> it is possible only if I have windows XP on both. So may be u can help
> connecting cross cable in the current setup or help me in installing
> XP on ubuntu box and then I will be able to connect the two. And I can
> partition the harddisk and do geeky stuff with my machine, so please
> everyone go ahead with all the possible solutions. Any help will be
> highly appreciated.
>
> Thanks and Regards,
> Dheeraj Bansal
>

There are two general solutions I use for transferring files from
Windows machines to Linux machines:  samba and scp.

Overall, in my opinion, scp is the easiest to setup, but not quite as
user friendly.  To use scp, you would just need to connect the two
machines with a crossover cable, put them both on the same subnet
(maybe make one 192.168.1.1 netmask 255.255.255.0 and the other
192.168.1.2 netmask 255.255.255.0), then install the openssh server on
the Ubuntu machine:

sudo apt-get install openssh-server

On the windows machine, download/get WinSCP
http://winscp.net/eng/index.php

You then just open up WinSCP on the Windows machine, put in the IP
address you set for the Linux machine, your username and password and
connect.  It will give you a split screen with your Windows file
system on the left and your Linux filesystem on the right.  You can
then navigate on your Linux machine where you want the files to go (or
where you want to get them from) and then drag and drop.

The another option is to use samba.  You could make either machine the
host, set your share directory read-write and then copy data as you
wanted.  It honestly it probably a little easier to just right-click a
folder in Windows, go to Sharing and security and share it out and
then use smbclient (sudo apt-get install smbclient)  on Ubuntu to
mount the drive.  You can though, setup your Linux machine as a samba
server, create a share, and then map that as a network drive on your
windows machine.

As usual there are several ways to accomplish a task with Linux.
Hopefully this will give you something to start with or Google and
then ask follow up questions about.

Preston




More information about the ubuntu-users mailing list