public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] rfc: locations of binaries and separate /usr
  @ 2012-01-07  6:58 99%                               ` Zac Medico
  0 siblings, 0 replies; 1+ results
From: Zac Medico @ 2012-01-07  6:58 UTC (permalink / raw
  To: gentoo-dev

On 01/06/2012 07:10 PM, Michael Weber wrote:
> On 01/05/2012 03:40 AM, Zac Medico wrote:
>> The FHS notion of "root filesystem as a recovery partition" existed long
>> before the relatively modern development of things like busybox and
>> initramfs made it more practical to use an initramfs as a recovery
>> partition. Anyone who wouldn't prefer to use an initramfs for their
>> "recover partition" probably just doesn't realize how well suited an
>> initramfs is for the job. It's so well suited for the job that it makes
>> the old FHS notion of "root filesystem as a recovery partition" seem quaint.
> 
> Please stop hailing to busybox. I think it's a bulk load of faulty, half
> implemented code that's not worth the time compiling.
> 
> You can do better w/ the real tools. (Not my crappy little initrd
> script, but the well established, fully operational, as used to programms)
> 
> http://xmw.de/dotfiles/scripts/mkinitramfs.sh

That seems like an awfully large initramfs to load into memory for every
boot, just to have it wiped from memory after switching to the real
root. It's fine as long as you're not trying to shave every last
microsecond off of your boot time though.

An alternative approach to a having a bulky initramfs "recovery
partition" like yours would be to put the content of a livecd/usb
recovery disk onto a spare partition, and configure your lean busybox
initramfs to mount that as the root if something goes wrong with your
real root.
-- 
Thanks,
Zac



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-01-03 18:50     [gentoo-dev] rfc: locations of binaries and separate /usr Olivier Crête
2012-01-03 19:02     ` William Hubbs
2012-01-03 19:12       ` Fabian Groffen
2012-01-03 20:01         ` William Hubbs
2012-01-03 21:22           ` Fabian Groffen
2012-01-03 23:09             ` William Hubbs
2012-01-04  0:47               ` Thomas Sachau
2012-01-04  8:17                 ` Michał Górny
2012-01-04 12:06                   ` Thomas Sachau
2012-01-04 15:37                     ` Michał Górny
2012-01-04 16:33                       ` Fabian Groffen
2012-01-04 16:47                         ` Michał Górny
2012-01-04 17:12                           ` Ulrich Mueller
2012-01-04 17:32                             ` Olivier Crête
2012-01-05  2:40                               ` Zac Medico
2012-01-07  3:10                                 ` Michael Weber
2012-01-07  6:58 99%                               ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox