public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: gabriel <gabriel.j@telia.com>
To: linux-kernel@vger.kernel.org
Subject: Booting from USB with initrd
Date: Fri, 15 Apr 2005 09:27:36 +0200 (MEST)	[thread overview]
Message-ID: <28347315.1113550056435.JavaMail.tomcat@pne-ps4-sn1> (raw)

Hi Im trying to boot an encrypted file system using an initrd on a USB. 
I use syslinux for the actual boot process as I couldnt get Grub to boot
of it for some reason. This is the .cfg

 default vmlinuz
 timeout 100
 prompt 1
 label linux
 kernel vmlinuz
 append initrd=/initrd.gz root=/dev/ram0 rootfstype=minix init=/linuxrc

As far as I can tell this should load the initrd but that never happens.
Everything seems to boot fine. Syslinux loads the kernel and I get to 
the point where initrd should be mounted only to get this error.

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
followed by the USB information and stop.
<5> Vendor SWISSBIT Mode: Victorinox 2.0 Rev 2.00
Type Direct-Access ANSI SCSI Revision: 02
SCSI device sdb: 1022720 512 byte hdwr sectors (524mb)
sdb: Write Protect is off
sdb: asuming driver cache: write-through

I have support for minix, vfat, ext2 and ext3 in the kernel. I have recompiled the 
kernel 
like 20 times to test different things. So what Im thinking is that the 
USB device doesn't 
get realized before syslinux tries to load it?

Oh I do have the ramdisk in the kernel and everything.


             reply	other threads:[~2005-04-15  7:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15  7:27 gabriel [this message]
2005-04-15  7:38 ` Booting from USB with initrd Inaky Perez-Gonzalez
2005-04-15  8:19 ` Bernhard Schauer
2005-04-16  3:44 ` Eric Lammerts
  -- strict thread matches above, loose matches on Subject: below --
2005-04-16 20:15 gabriel
2005-04-18  7:48 ` Bernhard Schauer
2005-04-20 22:24   ` Gabriel Jägenstedt

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=28347315.1113550056435.JavaMail.tomcat@pne-ps4-sn1 \
    --to=gabriel.j@telia.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox