This will also allow someone duel booting windows 7 have the same programs installed on an NTFS drive.
This Article requires that you have 2 Hard Drives and 4 Partitions.
Firstly assuming you have installed Windows 7 you should already have an NTFS partition with windows on it now you need to install Ubuntu 11.10 with at least a / root partition and a swap partition preferably.
now you need to create a NTFS drive with the following command
sudo fdisk -l
check which drive to use and partition to create
e.g sudo fdisk /dev/sda
type 'n' and enter the new partition sizes etc.
type 't' to set the type of file system to NTFS, I think this is type '7' from memory.
now sudo mkfs /dev/sda1, assuming you are using the first partition for your NTFS drive
Next we need to link create an entry in FSTAB
sudo gedit /etc/fstab
enter the following for your NTFS drive, assuming again its /dev/sda1 you will have to change this to suit your system.
/dev/sdb1 /path_to/windowsdrive/mount_point ntfs-3g uid=1000,gid=1000,umask=0000 0 0
This will give the NTFS drive read write to a user so remember it is only for games so who cares about permissions. The most important part is the umask=0000 which sets the permissions to read write for user not root.
We will use the /path_to/windowsdrive/mount_point to link the files to Crossover/Wine later.
Now to install Crossover/Wine
first you need to download it and install it at the command line under a user account NOT as root
so dont use SUDO in crossover to install it or WINE to run winecfg
CROSSOVER/CEDEGA
cd ~/Downloads
type './install-crossover*
WINE
add the repository to software sources first in Ubuntu Software Center with ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get wine1.3
winecfg
after that install mc (midnight commander) to copy the .wine directory under /home/username/.wine contents using INSERT to select everything F6 to move it to your NTFS drive here /path_to/windowsdrive/mount_point/{WINE|CROSSOVER|CEDEGA} <---- remember to set this to the place you will install your games to under windows. you can then do this for WINE CROSSOVER or CEDEGA again if you want them all.
remember to do this first to install MC
sudo apt-get update
sudo apt-get install mc
type 'mc' to start midnight commander
and cd /home/username/.wine <--- .cxgames for Crossover Games and .cedega for Cedega
press TAB to swith between windows and cd /path_to/windowsdrive/mount_point/
press F7 to make a folder called Crossover/Wine
type cd /path_to/windowsdrive/mount_point/WINE
Press TAB again to swich windows
once in select files with INSERT
and F6 to move all files to your NTFS drive.
Now everything should be on a seperate NTFS drive where you can install programs to the same place, eg. J:\WINDOWS\WINE
I think the best way to do things is to put windows on a drive seperately to your games and then back them up seperately using True Image under Windows 7 or FSArchiver under Ubuntu 11.10.
The most important thing to do is to always back up your Ubuntu Home Directory and then all you need to do to restore it is to copy back icons, menus for Crossover/Wine.
I always make a partition for that to back it up because it doesnt take much space and you can just copy the files from /home/username/.config/menus etc.
Remember though you need to make sure you only copy what you want back over the top of your menus and not everything in the home directories.
Theres already pleanty of info about restoring menus/icons on the internet in other places.
Now to link the folders/directories to the NTFS drive
firstly remove the empty folder with
sudo rm /home/username/.wine
type sudo ln -s -d "/path_to/windowsdrive/mount_point/WINE" "/home/username/.wine"
www.crackpassword.net
www.cracklister.com
Share:











































