Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] swap partition on Raspberry
Date: Sat, 08 Jun 2013 05:32:56
Message-Id: 51B2525A.6010701@iinet.net.au
In Reply to: Re: [gentoo-user] swap partition on Raspberry by "Jan Hönig"
1 On 07/06/13 23:46, Jan Hönig wrote:
2 > Hello,
3 > well i have set my Raspberry (B) with ArchLinuxArm. I decided againts
4 > gentoo, because of the long compilling time (for example git takes a long
5 > time). Maybe i try gentoo on my second sd card...
6 >
7 > A1: I have set an extra swap partition. I followed this guide for resizing
8 > my main partition (i have a 16 GB sd card class 10) and setting the wap
9 > partition (or rather swap file?): Raspberry Pi – Partition an größere
10 > Sd-Karte anpassen [1]
11 > It is in german, but i think that if you are using gentoo, you should be
12 > able to follow just the commands, knowing what they do.
13 > I am not sure, how much swap you need, because you maybe need space for
14 > compilation of programs. Because of this fact i would encourage you to set
15 > a swap. How much swap you need/can give depends on the sd card. (I
16 > wouldnt't make 1GB swap on a 4GB card).
17 > I look forward to hearing more of you, because there are not that many
18 > people, talking about gentoo on raspberry (or rather i didn't found many).
19 >
20 > Can't answer A2, and A3, not enough knowledge.
21 >
22 > hrom
23 >
24 > [1] Setup Partitions on Raspberry
25 > Pi<http://sparky0815.de/2012/05/raspberry-pi-partition-an-grosere-sd-karte-anpassen/>
26 >
27 >
28 > On Fri, Jun 7, 2013 at 1:39 PM, fruktopus <fruktopus@×××××.com> wrote:
29 >
30 >> Hello,
31 >>
32 >> i am setting up gentoo a Raspberry (B) following the gentoo wiki [1],
33 >> first i prepare the SD-Card. The wiki links to the instructions over at
34 >> embedded linux wiki [2].
35 >>
36 >> I wonder about the disk layout.
37 >>
38 >> Q1: Do i need a swap partition, and if yes is 512m ok?
39 >>
40 >> The gentoo wiki creates one, the elinux wiki not.
41 >>
42 >> Q2: Also the Raspberry is likely to be powered down without warning. To
43 >> my belief jounarled filesystems can handle this. I plan to use JFS since
44 >> it works well on my desktop as well. Is there something I could have in
45 >> mind?
46 >>
47 >> Q3: The gentoo wiki briefly mentions to use squashfs for /usr/portage.
48 >> What will be the benefits of this?
49 >>
50 >> [1] http://wiki.gentoo.org/wiki/Raspberry_Pi
51 >> [2] http://elinux.org/RPi_Advanced_Setup
52 >>
53 >> frukto
54 >>
55 >>
56 >
57
58
59 using 256M - doesnt use it much but it currently just plays videos on
60 framebuffer.
61
62 Be careful using ext file systems and stock 4G cards - runs out of
63 inodes on large compiles. I installed from a gentoo image off the net
64 and rebuilt it. When I get time I'll do my own from scratch but its
65 working ...
66
67 BillK