Gentoo Archives: gentoo-dev

From: waltdnes@××××××××.org
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] usr merge
Date: Sat, 09 Apr 2016 16:09:42
Message-Id: 20160409160938.GA17530@waltdnes.org
In Reply to: Re: [gentoo-dev] usr merge by Rich Freeman
1 On Sat, Apr 09, 2016 at 07:11:31AM -0400, Rich Freeman wrote
2
3 > It was simply a recognition that we were already in a state where
4 > booting a system without /usr mounted early can cause problems.
5
6 For certain edge cases... yes. But they were already using initramfs
7 or merging /usr into /. I'm talking about the 95% who don't really need
8 it.
9
10 > I never really got the mentality that using an initramfs is a burden.
11
12 One more piece of software that can go wrong. You have to
13 maintain+configure it; e.g. sync software and library versions with
14 what's on the rest of the system.
15
16 > An initramfs is just a secondary bootloader for userspace. I almost
17 > always use them even if I'm just booting a VM with a single partition
18 > on it. If something goes wrong you can fall back to a shell in the
19 > initramfs and it is like having a rescue disk built into your system
20 > disk.
21
22 There is single-user mode for rescue.
23
24 > For a more complex setup it is much more robust than relying on
25 > the kernel to find your root, and it also lets you build with a more
26 > module-based kernel, which has some benefits as well even if you build
27 > kernels tailored to each host.
28
29 I have "Production" and "Experimental" entries in my LILO menu. A new
30 kernel is always set up as the "Experimental" entry. After running
31 several days without problems, I run a script which copies the data from
32 the "Experimental" portion to "Production".
33
34 The only time my system had problems "finding root" was years ago when
35 the switch from /dev/hd* to /dev/sd* took place. The "Experimental"
36 boot with the new kernel died. I booted "Production", read the mailing
37 list, changed "hd" to "sd" for the "Experimental" entry, and rebooted.
38 After several days without problems, I made the same change to the
39 "Production" entry, and copied the "Experimental" portion to
40 "Production".
41
42 --
43 Walter Dnes <waltdnes@××××××××.org>
44 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-dev] usr merge James Le Cuirot <chewi@g.o>
[gentoo-dev] Re: usr merge "»Q«" <boxcars@×××.net>
Re: [gentoo-dev] usr merge "Canek Peláez Valdés" <caneko@×××××.com>