2008-02-18 21:48:05

by David Nicol

[permalink] [raw]
Subject: boot parameter to override a built-in initramfs?

noinitrd doesn't do anything; init=/bin/sh doesn't do anything

how does one override a built-in initramfs?


2008-02-19 00:39:17

by H. Peter Anvin

[permalink] [raw]
Subject: Re: boot parameter to override a built-in initramfs?

David Nicol wrote:
> noinitrd doesn't do anything; init=/bin/sh doesn't do anything
>
> how does one override a built-in initramfs?

One doesn't, because the system relies on certain pieces to be able to
execute the rest of the root-mounting sequence.

-hpa

2008-02-19 00:39:53

by H. Peter Anvin

[permalink] [raw]
Subject: Re: boot parameter to override a built-in initramfs?

David Nicol wrote:
> noinitrd doesn't do anything; init=/bin/sh doesn't do anything
>
> how does one override a built-in initramfs?

Correction: you can *override* it, you just can't *suppress* it. An
initrd provided via the command line (from the bootloader) overwrites
the built-in one.

-hpa