Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-22-2016, 04:21 AM
|
#1
|
LQ Newbie
Registered: Jan 2016
Posts: 7
Rep: 
|
Deb installation path
I use Ubuntu 14.04LTS with the SoftwareManager.
However I have limited space on my SDD. Ubuntu with his partitions are on the SDD and this is good. But each time I install an app his installation and working data is also located on the SDD. I would like to have an option to change the install path.
I have in my system on extra disk which is ext4 formated and a bunch over others which are NTFS.
|
|
|
10-22-2016, 08:41 AM
|
#2
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by next1
I use Ubuntu 14.04LTS with the SoftwareManager.
However I have limited space on my SDD. Ubuntu with his partitions are on the SDD and this is good. But each time I install an app his installation and working data is also located on the SDD. I would like to have an option to change the install path.
I have in my system on extra disk which is ext4 formatted and a bunch over others which are NTFS.
|
partitioning, move your directory that you are talking about over to that one then fstab changes are then made to your system.
I've never done this, other then my entire root / and /home being split, but in Linux/GNU theory it should work. it is just splitting your tree up and placing it on different drives. Then using fstab to mount them all accordingly.
Linux gives you the means to have each directory mounted on separate hard drives and mount them all through the fstab file. Even split them up into small groups of directories and do the same.
their maybe other ways too , soft links might also work.
I have my root on an ssd and my home on a larger separate drive. Then I use my "extra space" on that same ssd as a data partition and mount it in fstab.
Quote:
I have in my system an extra disk which is ext4 formatted and a bunch of others which are NTFS.
|
the methodology behind the theory is.
You could move that directory like one would if they where moving their /home . create a new directory by the same name on a different hard drive, move everything into it make changes to the fstab file, run mount -a to be sure it takes, then check it to be sure you didn't forget anything by trying to install something. a reboot too maybe needed to fully set the changes within the system. IMPORTANT: they have to be a formate for Linux. ext4 will work.
Last edited by BW-userx; 10-22-2016 at 09:07 AM.
|
|
|
10-22-2016, 09:04 AM
|
#3
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by BW-userx
partitioning, move your directory that you are talking about over to that one then fstab changes are then made to your system.
I've never done this, other then my entire root / and /home being split, but in Linux/GNU theory it should work. it is just splitting your tree up and placing it on different drives. Then using fstab to mount them all accordingly.
the in this theory is you can have each directory mounted on separate hard drives and mount them all through the fstab file. Even split them up into small groups of directories and do the same.
their maybe other ways too , soft links might also work.
I have my root on an ssd and my home on a larger separate drive. Then I use my "extra space" on that same ssd as a data partition and mount it in fstab.
the methodology behind the theory is.
You could move that directory like one would if they where moving their /home . create a new directory by the same name on a different hard drive, move everything into it make changes to the fstab file, run mount -a to be sure it takes, then check it to be sure you didn't forget anything by trying to install something. a reboot too maybe needed to fully set the changes within the system. IMPORTANT: they have to be a formate for Linux. ext4 will work.
|
this covers how to do this with the var directory in Debian but the steps are/should be the same, minus the home directory.
moving-var-home-to-separate-partition
|
|
|
10-23-2016, 04:53 PM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
The debs get downloaded the /var/cache/apt/archives/ by default. But you might get more bang for your buck by moving things like /usr/share/doc/, /home/, /tmp/, and such to other mediums.
|
|
|
10-25-2016, 12:58 PM
|
#5
|
LQ Newbie
Registered: Jan 2016
Posts: 7
Original Poster
Rep: 
|
As I did the OS installation I choose in the setup process encryption.
I don`t know which exact option.
Could this a pitfall.
|
|
|
10-25-2016, 01:37 PM
|
#6
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by next1
As I did the OS installation I choose in the setup process encryption.
I don`t know which exact option.
Could this a pitfall.
|
not knowing which exact option you chose could indeed be a pitfall.
|
|
|
10-26-2016, 07:18 AM
|
#8
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by next1
|
What you keepin' on ur laptop Willis?
some top secret eyes only shit???? 
Last edited by BW-userx; 10-26-2016 at 07:19 AM.
|
|
|
10-26-2016, 07:54 AM
|
#9
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,231
|
If you are installing from your system's repositories, most software will expect to be installed to a specific location and will often have dependencies and libraries it needs to access. If you install in a non-standard location, you will have to manually configure this. Best and simplest thing was suggested above. Have a separate partition for /home or /data on which to keep your personal data.
|
|
|
10-26-2016, 12:29 PM
|
#10
|
LQ Newbie
Registered: Jan 2016
Posts: 7
Original Poster
Rep: 
|
Sure in fact I need no encryption but it is a nice feature.
I will move the /home to a separate partition. However I don`t know in which way I have to handle this with the selected encryption.
|
|
|
10-26-2016, 12:44 PM
|
#11
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
this will help you in ,...
link 1
link 2
|
|
|
10-26-2016, 04:26 PM
|
#12
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
rereading your post, did you mean this:
- you already installed ubuntu with encryption, and it is working ok
- you have hardly any space left and need to move part of your install to a seperate partition
i would simply do the second part then.
not sure, but i think you have to edit fstab anyway, and that will also tell you about encryption (i am not good with encryption, sorry)?
|
|
|
All times are GMT -5. The time now is 06:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|