PDA

View Full Version : [ubuntu] OS drive and data drive



Kaail
August 12th, 2012, 11:54 PM
Is it possible to install games and the like on a separate, larger, hard drive? I ask this because the software centre automatically installs them in /opt and I would preferably like to choose where the games are installed.

Paddy Landau
August 19th, 2012, 01:54 PM
You cannot change where the package manager installs the programs. However, you can change the location of /opt to reside on your larger disk.

I need some more information before I can help you do this.


Where is your larger partition (e.g. /dev/sdb2)?
Have you set it to automatically mount at boot (before log-in) or not?
How is that partition formatted, e.g. ext3?


It would help me if you would:


Enter the following command in a terminal and paste the results here (between
and ).
sudo parted --list
Likewise, paste the contents of /etc/fstab here (again, between
and ). You can find the contents of that file by opening it with your Text Editor.


Why do you want to change the location of the installed programs, BTW? Applications are not usually large enough in Linux to cause space problems.