Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Flash Drive Install
Date: Fri, 06 Feb 2009 17:01:45
Message-Id: loom.20090206T164927-896@post.gmane.org
In Reply to: [gentoo-user] Flash Drive Install by sean
1 sean <tech.junk <at> myfairpoint.net> writes:
2
3
4 > Once you go through the steps instructed here,
5 > http://www.gentoo.org/doc/en/liveusb.xml
6
7 cool
8
9 > Can the live CD install be altered to work just like a normal Gentoo system?
10 > I have managed to get my hands on a 16GB flash drive, and am thinking of
11 > trying it out.
12
13
14 Dunno, but give it a shot.
15
16 I use 4GB CF cards with CF to ide converters, and it works like a charm.
17 They've been up for 6 months, with no issues.
18
19 Caveats:
20 use ext2
21
22 /dev/hda1 /boot ext2 noatime 1 2
23 /dev/hda2 none swap sw 0 0
24 /dev/hda3 / ext2 noatime 0 1
25
26 do not log, or use things that generate lots of writes. If you must,
27 NFS mount a remote HD for all of that. After every emerge remove
28 all that is not necessary from the system (examples):
29 /use/portage/distfile and /var/tmp/portage. and /tmp.
30
31 Keep the system/packages minimal.
32
33 make.conf:
34 CFLAGS="-Os -march=i586 -pipe -fomit-frame-pointer"
35
36 USE="-* -nls hardened ncurses ssl crypt berkdb tcpd pam perl pcre \
37
38 Notice the -Os and the -*, as they are the key.
39
40 Keep room in /boot/ for several kernels, because kernel size
41 minimization really helps performance.
42
43
44 *LESS is better*
45
46 If you are looking at a install for a workstation, google
47 "gentoo catalyst" for ideas.
48
49 If you come up with more/better tips, post back to the thread.
50
51 goodluck,
52
53
54 James

Replies

Subject Author
Re: [gentoo-user] Re: Flash Drive Install sean <tech.junk@×××××××××××.net>
Re: [gentoo-user] Re: Flash Drive Install Iain Buchanan <iaindb@××××××××××××.au>