Ive been following the beginners guide on the arch linux wiki:
http://wiki.archlinux.org/index.php/Beginners_Guide
I got to the part where I partion my harddrive. In the example they provide:
sda1 = root
sda2 = swap
sda3 = home
But when it comes to set the file system mountpoints, they want me to set swap as sda3 and home as sda2. Is that a typo or is that what im supposed to do?
-
-
That the way I TRY to do mine....swap on the outside....do it
-
So after I partion my hdd, I should set my swap mountpoint as my home partion, and my home mountpoint as my swap partion?
-
Here's what I do with mountpoints: / (for the OS), /home (for settings and files), and /swap. / is sda1, /home is sda2, and /swap is sda3. If you mean just switch which partition home and swap go on, then yes. Maybe someone else can explain it better.
-
Looks like a typo to me
what is the size of sda2 and sda3?
obviously the smaller is the swap and the larger is the home
so set the smaller as swap and larger as home -
I doesn't matter what they suggested, just set it as when you partition the drive in the step before that. That's because you already set in the partition table the type of the partition. So, choose the right partition as you set it in the previous task (Preparing the HDD).
As for whether it is wise or not to set the swap on the outside, I have not seen any documentation that says that. Doesn't mean it's not true, maybe I simply don't know. -
It can sometimes matter where you put swap, but really only in terms of performance.
When you hit your swap, you want your heads to move as little as possible (to get the fastest seek times), so it is often recommended to put swap somewhere in the middle of the disk (between root, home or var or tmp or whatever).
It is totally irrelevant as far as I'm aware if you're using SSDs. -
The outside of the drive has the highest angular velocity thus faster seek times for the swap, but I never hit the swap file even running a virtual machine with several linux programs running at the same time. I have 3 gigs of ram.
Arch linux question
Discussion in 'Linux Compatibility and Software' started by arabdelight, May 22, 2008.