public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Booting from USB with initrd
@ 2005-04-16 20:15 gabriel
  2005-04-18  7:48 ` Bernhard Schauer
  0 siblings, 1 reply; 7+ messages in thread
From: gabriel @ 2005-04-16 20:15 UTC (permalink / raw)
  To: linux-kernel

>Have you edit the build-initrd.sh script to fit your needs? 

Yeah.. but it shouldn't matter much since I've not been able to load the initrd 
yet?

>Does 
>  http://featherlinux.berlios.de/usb-instructions.htm or
>  http://www.ussg.iu.edu/hypermail/linux/kernel/0211.1/0551.html help?)

I thought the second one would so I changed the code (took a while to find 
the right place since I use 2.6 not 2.4) However that's a fix for a problem 
I don't have. My kernel never complains about root= bla it only says unable 
to mount on root fs.
I'm not sure what this tells us.

>Totally different Q's: 

>Have you called syslinux with the correct parameter to find your
>initrd.gz? 

I hope so. I have it setup up like in the loop-aes readme. Is there something special 
you have in mind?

>Do you have access to DOS bootable drive (To try to boot the kernel
>using loadlin from DOS command prompt. If that works you know that the
>issues are regarded to syslinux, if not - initrd/kernel) (?) 

Nope. I only have a knoppix and kanotix rescue disc to work off at the time 
=)

>Have you tried to boot kernel + initrd from your local linux
>installation?

No, I would if I knew how. Is there any howto for that?

Cheers.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Booting from USB with initrd
@ 2005-04-15  7:27 gabriel
  2005-04-15  7:38 ` Inaky Perez-Gonzalez
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: gabriel @ 2005-04-15  7:27 UTC (permalink / raw)
  To: linux-kernel

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.


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

end of thread, other threads:[~2005-04-20 22:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-16 20:15 Booting from USB with initrd gabriel
2005-04-18  7:48 ` Bernhard Schauer
2005-04-20 22:24   ` Gabriel Jägenstedt
  -- strict thread matches above, loose matches on Subject: below --
2005-04-15  7:27 gabriel
2005-04-15  7:38 ` Inaky Perez-Gonzalez
2005-04-15  8:19 ` Bernhard Schauer
2005-04-16  3:44 ` Eric Lammerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox