You are not logged in.
For my first install of Arch Linux I partitioned the harddrive according to its suggestions. However, I am now running out of room for applications in the / partition. I am wondering why I need to separate / at all. What is the reason for this? Is it a bad idea to reinstall with only a swap and main partition? (Regardless, I need to reinstall because I didn't optimize my partitions for my SSD.)
--
Stand up and be counted!
https://linuxcounter.net/cert/550973.png
Offline
You can easily reinstall the OS without touching your data, you can more easily make backups of the OS and your data using different methods, frequency, ..., you can have the partitions on different drives, ...
Offline
You don't NEED to do this, it's just good practice. Home might have different mount options than root. It is also easier to fix, should anything kill your root partition and it's easier to backup. But in the end, you should use whatever partitioning works best for you. If you don't have much space anyway and won't keep much data on /home, put them together.
Offline
Or you can install a different OS on a different partion and then allow home to be mounted on theat OS without exposing the entire Arch installation. Note that it is not recommended to use the same home on multiple OSs, but one can mount it elsewhere on the other OS to provide access.
A separate home also allows you to copy home to a different size partition and then subsequently use that other partition as home. That partition need not be on the same disk as /
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
A few quick notes:
Yyou can have the partitions on different drives, ...
I only have one drive
Or you can install a different OS on a different partion and then allow home to be mounted on theat OS without exposing the entire Arch installation.
I also only have one OS (and only intend to have one OS
The easier to back up is quite compelling. How do you predict how much space they will need in their / partition? (And the other partitions for that matter.)
--
Stand up and be counted!
https://linuxcounter.net/cert/550973.png
Offline
If you ever want to change the distro you use, you won't have to backup you personal files.
Offline
If you ever want to change the distro you use, you won't have to backup you personal files.
Not backing up personal files doesn't seem like a great idea ...
Offline
How do you predict how much space they will need in their / partition? (And the other partitions for that matter.)
I think it's just experience.
My operating system is on a 10 GB partition. I'm sort of "liberal" in what I install (many libraries, toolkits, webserver, and GUI applications) and Arch Linux only uses about half of that space. The only time time I get a little low on space is when I try out a big video game, such as Xonotic, but most other games I play on Linux are very small.
Everything else goes to /home.
So, what do you plan on installing?
Offline
GERGE wrote:If you ever want to change the distro you use, you won't have to backup you personal files.
Not backing up personal files doesn't seem like a great idea ...
Not like that. If you have one HD, with every re-install you have to copy or download all files back from CrashPlan or something to your machine if you use one partition.
Offline
How do you predict how much space they will need in their / partition? (And the other partitions for that matter.)
I have 15GB for / of which currently 7.6GB is used. You can easily increase the size if necessary though, I originally only gave 10GB to / but found it to be a bit too tight.
Offline
And I have 23.4 GiB on root, 20.2 GiB of that is currently being used . Obviously it varies from system to system (I have a 4 GB swap file for hibernating, and texlive by itself is already 1 GB (plus another half a GB in cache).... 2 GB for /var/abs/local/aur....
Like I said, depends on your system and usage.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
I find 10GB plenty for / though I do need to periodically purge my pacman cached tarballs - they can add up over a few months.
Offline
I have:
/boot -> ext2 -> 200MB
swap -> 2GB (2GB RAM in machine too)
/ -> ext4 -> everything else. (which includes /home of course)
I'm on a laptop so it has one hard drive and will never have another hard drive. Arch is my only OS on the drive.
Edit, forgot to mention: I also have another computer, Win7, which has a network share which is on a USB HD connected to that machine. I access this share from Arch to back-up anything that is even remotely important. That USB HD is 2TB and serves as backup for both my Arch laptop and Win7 desktop.
Last edited by headkase (2012-04-20 04:47:07)
Offline
How do you know how much swap you need for hibernating?
I think I am leaning towards partitioning mine similar to @headkase's. I am also on a laptop that won't have another hard drive or another OS.
--
Stand up and be counted!
https://linuxcounter.net/cert/550973.png
Offline
I believe your swap file needs to be the same size or larger than your amount of RAM to hibernate. I may be wrong but I'm pretty sure on that! Also, I made an edit to my above post: regarding back-ups and why I need a separate /home less because I have external-to-my-laptop redundancy in case of failure.
Offline
Is hibernation the same as when laptops "suspend" or "sleep?"
--
Stand up and be counted!
https://linuxcounter.net/cert/550973.png
Offline
There is suspend to RAM and suspend to disk.
Basically, suspend to disk totally powers down the machine. Suspend to RAM powers down everything but the RAM.
Hibernation is suspend to disk.
Last edited by headkase (2012-04-20 05:06:05)
Offline
Thank you! Now I just need to figure out what Gnome 3 means by suspend. I suspect it means suspend to RAM. Do you know which it is and if the suspend to Disk option can be added?
--
Stand up and be counted!
https://linuxcounter.net/cert/550973.png
Offline
You're welcome. For GNOME, sorry, don't know offhand - I'm xfce4. The: Arch GNOME wiki is the best place to start.
Edit:
A cursory examination of that page doesn't reveal much of anything useful. I'm sure suspend and hibernate is available in GNOME 3 - I just don't know how you'd go about it..
Last edited by headkase (2012-04-20 05:15:55)
Offline
I trust you know not to use swap and /var on an SSD.
You don't need a different /home. I haven't had one for at least 4 years now. I like to keep my dot files separate from storage drives. There are some advantages to using a separate home but IMO nothing to worry about too much. Some people pointed out that if a program goes haywire it can fill up your / with junk or the browser cache fills up your /, but I've never had such problems. In the old days you couldn't log in if your / had 0 KB available. Now, EXT4 has about 5% reserved space in case something like this happens (google "reserved ext4 space"), which also helps with fragmentation.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
I trust you know not to use swap and /var on an SSD.
My laptop only has one drive and it is SSD. Is their a workaround for this?
--
Stand up and be counted!
https://linuxcounter.net/cert/550973.png
Offline
https://wiki.archlinux.org/index.php/SSD
Make sure you read it properly. There are some good tips in there.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Does partition order matter?
For example is there a difference if swap comes before /?
--
Stand up and be counted!
https://linuxcounter.net/cert/550973.png
Offline
On a HDD, yes, because the platters spin faster at the edges. It's basic physics. It's also why it's recommended that you keep your OS (along with any swap/pagefile) installed as close to the beginning of the drive as possible and keep your storage data on the remaining free space. In contrast, CD/DVD's start writing data from the centre because it lowers the risk of CRC errors (due to scratches, fingerprints, etc).
On an SSD, no. It doesn't matter, as there are no moving parts.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
As far as I know, there isn't a problem with having swap on an SSD for hibernation. You can set it to not use it as memory so that the swap is reserved for hibernation. Of course, that involves writing to the disk but presumably you want it to in that case. 'swappability" I think - it probably has something on the SSD page.
I set linux up for somebody with an ssd. I included swap because I've read not having it can cause issues rarely. Instead I just set it so that the system will be maximally reluctant to ever use it unless it is really, really desperate. I figure that will happen so rarely, if ever, it is a non-issue write-wise and I'd rather it had the option if things are that dire. (This is partly calculated based on the user of the machine, though. Since user is not at all technically savvy, I wanted to be maximally conservative.)
I also put /var on the ssd. I don't know what else you are meant to do with it if you've only got a ssd to install to.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline