You are not logged in.

#1 2012-07-21 22:42:05

carolinabranden
Member
Registered: 2011-03-24
Posts: 9

Optimization and Configuration - Flash Drive

I am installing Arch Linux x86_64bit onto a 4GB flash drive with an Arch Live CD. This is the first time I have tampered with installing an Arch OS in such a small space. My partitions will be /, /boot, Swap and /home. Figuring out what the sizes of each ought to be is somewhat boggling with so little room to use. cfdisk is open now awaiting my input. lol ;P Any ideas, tips or even possibly corrections? Thank you gentlemen or ladies for your input!

Last edited by carolinabranden (2012-07-21 22:44:52)

Offline

#2 2012-07-21 22:51:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Optimization and Configuration - Flash Drive

Putting swap on a flash drive may not be smart.
Do you really need separate /home? In you situation every couple hundred MB wasted can be painful.

Offline

#3 2012-07-21 23:03:51

carolinabranden
Member
Registered: 2011-03-24
Posts: 9

Re: Optimization and Configuration - Flash Drive

karol wrote:

Putting swap on a flash drive may not be smart.
Do you really need separate /home? In you situation every couple hundred MB wasted can be painful.

I had that on my mind too as a matter of fact. The system has more than enough RAM as is. Adding them is more or less a habit. hmm

Last edited by carolinabranden (2012-07-21 23:04:11)

Offline

#4 2012-07-21 23:20:48

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Optimization and Configuration - Flash Drive

carolinabranden wrote:

My partitions will be /, /boot, Swap and /home.

Why? You only need one partition, for /.

With 4gb RAM, I don't use/need a swap partition, and I run Windows under virtualbox.

Offline

#5 2012-07-22 06:16:15

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Optimization and Configuration - Flash Drive

4 GB is pretty small. You should consider investing $8-10 in a 16 GB USB stick.

Of course, you can try... but you can't afford multiple partitions at this time, so forget about a separate /home. Your /home dir will be a regular dir on the root fs.

Look into btrfs with LZO compression, and don't forget about the "usb" hook in /etc/mkinitcpio.conf (and always remember to re-generate your initramfs image after editing this file). Other than that, there's not much to "optimize" or configure. Swap on flash media is definitely a bad idea. Come to think of it, a journalled filesystem (ext3, ext4, btrfs, reiserfs, NTFS, etc) is a bad idea for flash media... But they're cheap, who gives a shit.

Last edited by DSpider (2012-07-22 06:20:14)


"How to Succeed with Linux"

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

Board footer

Powered by FluxBB