Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Distribution: This changes often, but currently Bodhi 2.2
Posts: 84
Rep:
2 hard drive setup
Ok, so I want to install Ubuntu on my 80gb internal HDD on my laptop and use this drive to exclusively hold the OS & software. I want all of my files to be stored on an external HDD which stays connected at all times.
When I install new software, I want want it to automatically install on the internal drive, when I create a file, I want it saved to my external. Now, of course I know I can always choose where to save a file. But I want to cut a couple steps by avoiding the need to navigate to my external HDD every time I want to save a file.
Does anyone know if such a setup is possible?
Last edited by linuxPCplus; 12-19-2012 at 09:19 AM.
One possibility is to create a directory on the external and symlink (symbolic link) to it from your home folder.
For example, I created a "downloads" directory on an external, created a symlink to it in /home/[username], and set my browser to point to /home/[username]/downloads (the symlinked directory) as the default downloads directory; downloads get saved to the external.
See man ln for more on symlinks.
You could do the same for your documents, pictures, or any other directory.
I would not recommend pointing to the external as your entire home directory. If it fails or gets disconnected, that would be a bad thing.
Last edited by frankbell; 12-15-2012 at 09:44 PM.
Reason: Clarity
Distribution: This changes often, but currently Bodhi 2.2
Posts: 84
Original Poster
Rep:
Good idea
Symlinks are a good idea. I should have thought of that one. As for the safety issue you mention, only accidental disconnection is an issue since I automatically backup to my SpiderOak account anyway. So I know that anything more than say 5 minutes old is backed up & recoverable.
Thanks for the help Frankbell!
Could try to just mount a folder or partition on the usb as your /home for your common standard user account. As always, use runas or su, sudo to run root functions like installing software. Root should have the account on the internal so it won't fail if the usb isn't on. Might have to avoid autologin.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.