All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Korty <joe.korty@ccur.com>
To: Paul Dickson <paul@permanentmail.com>
Cc: Arjan van de Ven <arjan@infradead.org>,
	rahul@genebrew.com, ram.gupta5@gmail.com,
	linux-kernel@vger.kernel.org
Subject: Re: booting without initrd
Date: Thu, 8 Jun 2006 23:33:50 -0400	[thread overview]
Message-ID: <20060609033350.GA1148@tsunami.ccur.com> (raw)
In-Reply-To: <20060608184325.5c470dcf.paul@permanentmail.com>

On Thu, Jun 08, 2006 at 06:43:25PM -0700, Paul Dickson wrote:
> On Fri, 09 Jun 2006 02:40:59 +0200, Arjan van de Ven wrote:
> > On Thu, 2006-06-08 at 13:40 -0400, Rahul Karnik wrote:
> > > On 6/7/06, Ram Gupta <ram.gupta5@gmail.com> wrote:
> > > > I am trying to boot with 2.6.16  kernel at my desktop running fedora
> > > > core 4 . It does not boot without initrd generating the message "VFS:
> > > > can not open device "804" or unknown-block(8,4)
> > > > Please append a correct "root=" boot option
> > > > Kernel panic - not syncing : VFS:Unable to mount root fs on unknown-block(8,4)
> > > 
> > > AFAIK Fedora sets up the kernel command line with "root=LABEL=/" in
> > > grub.conf and therefore needs the initrd in order to work correctly.
> > > If you do not want an initrd, then change this to
> > > "root=/dev/<your_disk>" in grub.conf. 
> > 
> > it's more than that; also udev is used from the initrd to populate a
> > ramfs /dev, if you go without the initrd you need to populate the
> > *real* /dev manually first

When I do the following to FC5, I am able to boot kernel.org kernels w/o
an initrd:

        # mount --bind / /mnt
	# cd /mnt/dev
	# mknod null c 1 3
	# mknod console c 5 1
	# for i in $(seq 0 9); do mknod tty$i c 4 $i; done
	# cd /
	# umount /mnt

IMHO, FC5's failure to set up a minimal disk-based /dev like this
is a bug on its part.

Regards,
Joe

  reply	other threads:[~2006-06-09  3:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07 16:13 booting without initrd Ram Gupta
2006-06-07 18:00 ` Jan Engelhardt
2006-06-08 17:40 ` Rahul Karnik
2006-06-08 14:39   ` Mark Lord
2006-06-08 17:58     ` David Lang
2006-06-08 19:56     ` Mark Rustad
2006-06-08 20:32     ` Måns Rullgård
2006-06-09  0:40   ` Arjan van de Ven
2006-06-09  1:43     ` Paul Dickson
2006-06-09  3:33       ` Joe Korty [this message]
2006-06-09 20:44 ` Yaroslav Klyukin

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=20060609033350.GA1148@tsunami.ccur.com \
    --to=joe.korty@ccur.com \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paul@permanentmail.com \
    --cc=rahul@genebrew.com \
    --cc=ram.gupta5@gmail.com \
    /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.