Gentoo Archives: gentoo-user

From: felix@×××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Another plan for /usr and udev-181
Date: Sat, 14 Apr 2012 05:14:52
Message-Id: 20120414051258.GL5696@crowfix.com
In Reply to: Re: [gentoo-user] Another plan for /usr and udev-181 by "Canek Peláez Valdés"
1 On Fri, Apr 13, 2012 at 11:03:43PM -0500, Canek Pel??ez Vald??s wrote:
2
3 > Mmmh. You don't need single user mode anymore with an initramfs (at
4 > least with dracut). From dracut.cmdline(7):
5 >
6 > rd.break={cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot}
7 > drop to a shell on defined breakpoint
8 >
9 > You add that to your kernel command line in GRUB/GRUB2, and it drops
10 > you tou a shell before doing the mount (pre-mount). Then you only need
11 > to put the necessary LVM tools in the initramfs; since my LVM
12 > installation is 3.13 MB, it sounds like a reasonable feature. Or you
13 > can have a "fat" initramfs (with another GRUB entry) for resizing LVM
14 > volumes, and a "slim" normal initramfs with its corresponding GRUB
15 > entry.
16 >
17 > Other way in which (IMHO) an initramfs is a better option that
18 > stuffing everything and the kitchen sink on /.
19
20 Interesting stuff. I see I had better get familiar with dracut and
21 maybe try some things out.
22
23 Back in the stone age, there was no kitchen sink to put in /bin :-)
24
25 --
26 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
27 Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com
28 GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
29 I've found a solution to Fermat's Last Theorem but I see I've run out of room o