Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Very new linux user here and a fairly simple question (perhaps annoyingly so), though one I've found difficult to answer on my own.
I run a Debian-based distrobution (Ubuntu "Warty Warthog") on my laptop and I have fairly large disc space requirements due to my filetrading addiction. I have three partitions on my current HD - hda1 for /, hda2 for /home, and a 1GB swap partition. I'm thinking of adding a USB hard drive (or IDE) but I'm not sure exactly how to make the new space available to /home, which is where I want it.
Can someone suggest a site or good tutorial that will explain the basics of adding space to an existing directory? From the perspective of a new linux user, this is by no means a trivial task!
IBM put together a great article on how to move the /home partition, read it here Naturally, the idea here is that you could add space to /home by moving it to a bigger partition. -- J.W.
Thanks for the info everyone, just what I was looking for.
ps. The reason I have a 1GB swap is that I have been told several times that the swap should be roughly double the size of RAM, which is 512MB. Is this not correct or efficient?
The "swap = twice RAM" guideline is obsolete, and applied during the days where 32Mg of RAM was leading edge. Assuming you've got a modern machine (such as yours is) I'd say 256Mg is plenty for swap. Keep in mind that the only time swap even gets used is when RAM is pushed past capacity and the system is forced to write memory pages out to disk. The more RAM you have, the less likely that event will be.
It's not so much that having a big swap space would be inefficient, it's just a waste of disk space since it will never get used -- J.W.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.