All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandr Andreev <andreev@niisi.msk.ru>
To: David Woodhouse <dwmw2@infradead.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Using cramfs as root filesystem on diskless machine
Date: Fri, 15 Jun 2001 21:16:04 +0400	[thread overview]
Message-ID: <3B2A42D4.7090004@niisi.msk.ru> (raw)
In-Reply-To: <3B2A0F05.6050902@niisi.msk.ru> <14506.992621390@redhat.com>

Hi, David.
David Woodhouse wrote:

>Where does the bootloader get the initrd from?
>
Bootloader only jumps to the kernel entry point. The initrd image is 
compiled
inside the kernel. ( special section in the ELF kernel binary )
.config:
...
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
...
If 'root=/dev/ram' option is set in command line, the root file system 
will bi in
RAM. When the linux kernel is booting, it tries to identify_ramdisk_image()
( at drivers/block/rd.c ). So it can only understand ext2, minix, romfs,
and gzipped images. But what about cramfs? How can i use a cramfs image 
to mount
it as my root file system? Is any patches to the rd.c requiried?


  parent reply	other threads:[~2001-06-15 17:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-15 13:35 Using cramfs as root filesystem on diskless machine Alexandr Andreev
     [not found] ` <14506.992621390@redhat.com>
2001-06-15 17:16   ` Alexandr Andreev [this message]
2001-06-15 18:27 ` David L. Parsley
2001-06-19 13:24   ` Alexandr Andreev
2001-06-19 14:04     ` David L. Parsley
2001-06-19 15:08       ` how to display proxy arp addresses using "ip neigh" from iproute2 Christopher Friesen
2001-06-21  5:16         ` Bernd Eckenfels
2001-06-19 15:44       ` Using cramfs as root filesystem on diskless machine Alexandr Andreev
2001-06-19 16:36         ` Stephane Casset
2001-06-17 16:28 ` Pavel Machek
     [not found] <Pine.LNX.4.33.0106151824240.28914-100000@imladris.demon.co.uk>
2001-06-15 17:35 ` Alexandr Andreev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B2A42D4.7090004@niisi.msk.ru \
    --to=andreev@niisi.msk.ru \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.