Gentoo Archives: gentoo-amd64

From: Branko Badrljica <brankob@××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] boot Gentoo from USB key
Date: Wed, 30 Apr 2008 15:04:53
Message-Id: 48188AC2.70804@avtomatika.com
In Reply to: Re: [gentoo-amd64] boot Gentoo from USB key by Jason
1 Jason wrote:
2 >
3 > initrd is exactly how you do it. In the case of booting off of USB,
4 > there are too many variables (drive detection order, different
5 > hardware, etc) to handle on the kernel command line. An initrd gives
6 > you the flexibility to solve these problems.
7 >
8 >> You could use initrd/initramfs, but seems like a lot of complications
9 >> for little gain...
10 >
11 > I wouldn't call a portable, writable, boot from anywhere Linux OS on a
12 > thumbdrive a trivial gain. ;-)
13 >
14 > Jason.
15 >
16
17
18 But y<ou have the headache of interface at the old and new root across
19 the pivot root. What happens if you execute something that was
20 dynamically linked from intramfs and it decides to load and link another
21 module with dlopen() from new root ? If you have that module and it
22 belongs to the same version, then probably everything is fine. Otherwise
23 it might not be.
24
25 Also, opened files and extra nodes in /dev during intiramfs phase tend
26 to cause a headache or two...
27
28
29 Branko
30 --
31 gentoo-amd64@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] boot Gentoo from USB key Jason <gentoo@××××××××××.net>