All of lore.kernel.org
 help / color / mirror / Atom feed
* initrd load from any block device
@ 2005-08-05  7:29 Vadim Yatsenko
  2005-08-05  8:33 ` Jan Engelhardt
  0 siblings, 1 reply; 2+ messages in thread
From: Vadim Yatsenko @ 2005-08-05  7:29 UTC (permalink / raw)
  To: linux-kernel

Hello!

May be it was discussed but I havn't answer.
So my question is: why only supported media to load
initial ramdisk is floppy?

In embedded systems it's more other suitable devices
such as mtdblock, etc. So why not to add some code
to support loading compressed initrd images from
any block device. It's can reduce boot up time.

I've tried to do this on my ARM machine and was
impressed how much faster my board was get alive.

It is usual practice in embedded world to use ramdisk
as a root.

Any comments?

With best regards. Vadim Yatsenko 




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: initrd load from any block device
  2005-08-05  7:29 initrd load from any block device Vadim Yatsenko
@ 2005-08-05  8:33 ` Jan Engelhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2005-08-05  8:33 UTC (permalink / raw)
  To: Vadim Yatsenko; +Cc: linux-kernel


>May be it was discussed but I havn't answer.
>So my question is: why only supported media to load
>initial ramdisk is floppy?

Who said that? Linux LiveCDs all load it from CD, and since the kernel 
provides initramfs, the initrd can also be loaded from within the kernel 
itself.

>In embedded systems it's more other suitable devices
>such as mtdblock, etc. So why not to add some code
>to support loading compressed initrd images from
>any block device. It's can reduce boot up time.

Though, I am seeing your point. The initrd= option does not seem to take block 
devices, so this must be a bootloader feature - because the bootloader needs 
to load the initrd into some memory location so the kernel can play with 
afterwards.

>It is usual practice in embedded world to use ramdisk
>as a root.
>Any comments?

root=/dev/ram0 initrd=somefile_on_the_iso init=/my_favorite_file_in_the_initrd

Works wonders.


Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-05  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-05  7:29 initrd load from any block device Vadim Yatsenko
2005-08-05  8:33 ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.