Gentoo Archives: gentoo-user

From: Nilesh Govindrajan <me@××××××××.com>
To: Gentoo User Mailing List <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Portable Gentoo (Pen Drive Linux)
Date: Sat, 22 Mar 2014 13:13:01
Message-Id: CAHgBc-smQmUkCbgmd5XiLLXoOtd+oMe0LK82hGPRFf17QexjcQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Portable Gentoo (Pen Drive Linux) by Alan McKinnon
1 On 22-Mar-2014 6:39 pm, "Alan McKinnon" <alan.mckinnon@×××××.com> wrote:
2 >
3 > On 22/03/2014 15:00, Nilesh Govindrajan wrote:
4 > > On 22-Mar-2014 5:42 pm, "Brian Hesdorfer" <zerophnx@×××××.com
5 > > <mailto:zerophnx@×××××.com>> wrote:
6 > >>
7 > >>
8 > >> On 3/21/2014 9:53 PM, Nilesh Govindrajan wrote:
9 > >>>
10 > >>> Hi,
11 > >>>
12 > >>> Since I don't have a laptop, I'm thinking of installing Gentoo on my
13 > >>> USB 3 pen drive. I'll use binpkgs from my desktop so that pen drive
14 > >>> lives long.
15 > >>>
16 > >>> Has anybody tried Samsung's F2FS? I heard it performs better than the
17 > >>> traditional ext4/xfs/etc on flash drives.
18 > >>>
19 > >>> Also the pen drive will be used on random hardware (which can be a
20 > >>> laptop or a desktop), so what else do I need to consider other than
21 > >>> using genkernel's default configuration (the livecd config, which
22 > >>> enables all modules)?
23 > >>>
24 > >>
25 > >> FWIW, I've been F2FS plus encryption with Arch and haven't had any
26 > > problems. I'd suggest having anything important backed up somewhere else
27 > > since it's still seen as experimental (I think).
28 > >>
29 > >
30 > > Of course. Pen drives are as such not very reliable, so backups are a
31 must.
32 > >
33 > >> If you're using it on random hardware and want X, you'll have to
34 > > include the variety of video cards you might run into (Intel, ATI,
35 > > Nvidia) in your USE flags.
36 > >>
37 > >
38 > > Will it work out the box without configuration?
39 > >
40 > >> Also, be wary of the predictable naming for network interfaces
41 > > (enp5s0, enp9s2,etc). You might want to disable that feature using
42 > > something like "net.ifnames=0" in your bootloader or a udev rule so you
43 > > can just set eth0 to DHCP and it will work on most machines.
44 > >>
45 > >
46 > > NetworkManager helps with that, or may be just run dhcpcd.
47 > >
48 >
49 >
50 > I suspect you will end up duplicating a lot of work that is already done
51 > elsewhere by the binary distros. You'll probably also have your hands
52 > full just trying to keep up with video hardware as you'll need at least
53 > intel, fglrx and nvidia drivers (plus maybe nouveau and radeon).
54 >
55 > Are you 100% sure you want to go that route? Sounds like a huge amount
56 > of work. In your position, I would rather investigate a LiveCD type
57 > solution with a persistent fs layer on top and let the distro do all the
58 > heavy lifting.
59 >
60 > Especially as you don't have the target hardware to hand for testing,
61 > you can only test by plugging the stick and seeing if it works.
62 >
63 >
64 >
65 >
66 > --
67 > Alan McKinnon
68 > alan.mckinnon@×××××.com
69 >
70 >
71
72 I realize those problems, and that's why I've stayed away till now. I'm
73 running Fedora currently on the pen drive.
74 But the unmatched flexibility of gentoo is tempting me.
75
76 For example, 3.13.5,6 have problems with USB 3 storage. I've patched the
77 kernel on my desktop and it's working fine.
78 Such things are against mainstream distros.
79
80 What other distros are suited for this use case?

Replies

Subject Author
Re: [gentoo-user] Portable Gentoo (Pen Drive Linux) Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Portable Gentoo (Pen Drive Linux) Peter Humphrey <peter@××××××××××××.uk>