[LinuxBIOS] how to use ramdisk as rootfs

zhu shi song zhushisongzhu at yahoo.com
Mon Jul 10 12:04:43 CEST 2006

I must concern two requirements:
(1) I boot my linux from IDE CF card whose capacity is
no more than 128M Bytes.
(2) my ram is large enough(above 1G) for the size of
the whole root file system.
  In the past ,when I use linux-2.4 kernel, I use
initrd-dyn method and can use one tar.gz file just
like initrd transferred to kernel as parameter. The
kernel can uncompress the tar.gz file and mount it on
ramdisk as rootfs.  Unfortunately, initrd-dyn can't
support linux-2.6 kernel.  Can I convert my tar.gz
file to cpio format as initramfs and make kernel
uncompress it and mount it as rootfs on ramdisk
automatically?  I'm not so familiar with either initrd
or initramfs, where can I find more and clear info
about these topics?

--- Russell Whitaker <russ at ashlandhome.net> wrote:

> On Fri, 7 Jul 2006, Stefan Reinauer wrote:
> > * zhu shi song <zhushisongzhu at yahoo.com> [060707
> 10:50]:
> >> Dear Lists,
> >>    I can boot my EPIA using Linuxbios.  But I
> want to
> >> use RAM disk as root file system.  How can I do
> with
> >> it?
> >
> > Use an initial ramdisk (initrd). You can specify
> it in the bootloader
> > (ie filo) as initrd=/path/to/initrd in the kernel
> command line, or
> > use mkelfImage to produce a single binary from
> kernel and initrd so it
> > can be flashed to rom as part of LinuxBIOS.
> >
> Check out www.linux-live.org
> It has a series of scripts to run everything from
> cdrom or usb, and a
> script to transfer everything to ram. Both files and
> dirs are compressed.
> There are two distros now using these scripts:
>      www.slax.org
>      www.zenlive.tuxfamily.org
> russ

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the coreboot mailing list