Skip to contentSkip to conversation

How to skip the initramfs?

DISCUSSION Thomas Meyer 2 participants 3 messages Apr 10, 2012

lore
Share & tools
lore
#0 lore raw

How to skip the execution of the initramfs? option "noinitrd" doesn't seem to work on 3.0 kernel.

Or is there an option to build an abootimg without initramfs? I didn't find one.

with kind regards
thomas

#1 lore raw
Quoted 8 lines · Thomas Meyer

How to skip the execution of the initramfs? option "noinitrd" doesn't seem to work on 3.0 kernel.

Or is there an option to build an abootimg without initramfs? I didn't find one.

with kind regards
thomas

I have always built my kernel without support for initramfs/initrd by setting the build configuration variable CONFIG_BLK_DEV_INITRD' to n'; in a Kconfig set up UI, you can find this option under `General setup' as the item:

Initial RAM filesystem and RAM disk (initramfs/initrd) support

You should probably also tell your boot loader (such as `grub') not to bother loading an initial ram disk.

However, I have the vague notion that there have been rumblings about requiring initramfs/initrd support in the future; does anybody know if this is true?

Sincerely,
Michael Witten

#2 lore raw
Quoted 15 lines · Michael Witten
Quoted 8 lines · Thomas Meyer

How to skip the execution of the initramfs? option "noinitrd" doesn't seem to work on 3.0 kernel.

Or is there an option to build an abootimg without initramfs? I didn't find one.

with kind regards
thomas

I have always built my kernel without support for initramfs/initrd by setting the build configuration variable CONFIG_BLK_DEV_INITRD' to n'; in a Kconfig set up UI, you can find this option under `General setup' as the item:

Quoted 8 lines

 Initial RAM filesystem and RAM disk (initramfs/initrd) support

You should probably also tell your boot loader (such as `grub') not to bother loading an initial ram disk.

However, I have the vague notion that there have been rumblings about requiring initramfs/initrd support in the future; does anybody know if this is true?

I should also add that if you do this, it is imperative that you build into the kernel all of the necessary drivers for completing the boot process.