Working with Windows from inside Ubuntu

by Daniel P. Roy.

Share
|
Homepage | Submit your article | Contact | TOS
More articles on linux  

You are here: Categories » Computers and technology » Linux

Although the Linux platform offers an increasingly compelling platform for the desktop, there are sometimes situations when there is just no alternative application available. This is often the case with specific business applications, educational tools, and games. Luckily, you can run many of these applications right on top of your Ubuntu desktop.

For the last twelve years, the members of the Wine project have been beavering away to create a free software implementation to run Windows applications on Linux. They have made great strides in getting more and more applications to run. Although there are often still quirks here and there, there are many programs that run perfectly under Wine. It is recommended that you try the applications you want to run before you use them for important work.

Install the Wine package with the Synaptic package manager. When the package has downloaded and installed, run the winecfg tool. To do this, press Alt-F2, and type winecfg. This small program sets up your Wine environment and provides some options for configuring how your Wine system is run. The default settings should be suitable for most applications.

Running Applications

To run an application right-click it, and select Open with Wine Windows Emulator. Most Windows applications need to be installed before use, so first right-click the setup program, and run it under Wine. When the program is installed, you can find it in the .wine/c_drive/Program Files folder in your home folder. Navigate to that directory (making sure you turn on hidden file viewing in Nautilus), and run any files with an .exe extension.

Using Windows Files on Another Partition

For those of you with a considerable amount of your life present on Windows partitions, you may want to be able to access these partitions from Ubuntu. This is no problem, although you will need to edit a special configuration file to do this. Luckily, you only need to edit this file once, and then everything will be set up.

You should first load Administration > Disks and write down the partition numbers and filesystem for your Windows partitions. The partition number will look something like /dev/hdb1 or /dev/sdb1, and the filesystem will be either FAT, VFAT, or NTFS. If you have a FAT or VFAT filesystem, you are in luckyou can read and write the partition. If you have an NTFS partition, you will unfortunately only be able to read from it.

The next step is to create some mount points. When your Windows partitions are enabled, they are accessed via a particular folder in Ubuntu. This is called a mount point. So, as an example, if you have a mount point as /media/win1 and on your Windows partition you want to access your Work folder, you would access it from Ubuntu as /media/win1/work.

Mount points usually live in the /media folder. Create a different mount point for each windows partition. As an example, if you have three Windows partitions, run the following commands:

foo@bar:~$ sudo mkdir /media/win1  
foo@bar:~$ sudo mkdir /media/win2  
foo@bar:~$ sudo mkdir /media/win3 

Now open up the following configuration file:

foo@bar:~$ sudo gedit /etc/fstab  

The /etc/fstab file maps partition numbers to mount points. At the bottom of the file add a line like this for each mount point:

/dev/hdb1 media/win1 vfat users,rw,owner,umask=000 0 0 

You will need to change the partition number (the first column), mount point (second column), and filesystem (third column) for your relevant partitions.

Now reload /etc/fstab to enable the partitions:

foo@bar:~$ sudo mount -a 

Some hard disk icons for the new partitions now appear.

Leave a comment or ask a question
Total comments: 0

Linux Disclaimer

  • The e-articles directory is not responsible for any and all copyright infringements by writers and authors. If you suspect the information contained by this page for any copyright infringements, please contact us to investigate the issue
Customizing Kubuntu - A major feature of Kubuntu is the amount of customization that can be done. Due to the freedom of Open Source software, if there is an application you are looking to use, you can find it. Every (more...)
History of KDE - In 1996, Matthias Ettrich posted a now famous newsgroup post that described some of the problems that he had with the Unix Desktop.    Unix popularity grows thanks to the (more...)
History of Kubuntu - When Ubuntu was first being discussed there were rumors that it would be only based on GNOME, and KDE would be left out. Jonathan Riddell, a KDE developer, posted an article on his (more...)
Installing Kubuntu - Installing Kubuntu is just like installing Ubuntu. It is pretty much a snap. Let's start with where you find it. Where to Find Kubuntu Kubuntu is available a (more...)
Root iNode Corruption Cause Data Loss in Linux - Article contains information over root I node corruption failure causes data loss. Article also contains recovery solution for all kind of data loss in linux. In Linux and other Unix-like o (more...)
LINUX r Services - rlogind and rshd are the remote login and remote shell daemon. These so-called r services use TCP ports 513 and 514, respectively. The RLOGIN protocol is described in RFC 1282 and RSH in RFC. (more...)
Short History of Ubuntu - Born in April 2004, a history of Ubuntu may seem premature. However, the last years have been full ones for Ubuntu. With its explosive growth, it is difficult even for those involv (more...)
Free Open source Software and GNU Linux - Free Software and GNUIn a series of events that have almost become legend through constant repetition, Richard M. Stallman created the concept of "free software" in 1983. Stallman grew (more...)
Choose an Ubuntu Version - The developers behind Ubuntu have worked to make the software as easy and flexible to install as possible. They understand that people will be installing Ubuntu on different types of computers (more...)
Customize Ubuntu Look and Feel - Changing the Background To change the background of your desktop right-click it and select Change Desktop Background. Inside the dialog box that appears, choose yo (more...)

 
free content
    Copyright © 2006 - 2012 e-articles.info.
The texts, articles and tutorials in the directory are property of their respective owners and authors.