lkml.org 
[lkml]   [2001]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pivot_root and initrd kernel panic woes
Hi,

On Tue, Dec 11, 2001 at 01:50:46PM -0500, Joy Almacen wrote:

> After which I added this line my /etc/lilo.conf file:
>
> image=/boot/vmlinuz-2.4.9-12smp
> label=2.4.9smp
> append="initrd=/boot/initrd-2.4.9-12smp.img root=/dev/ram0
> init=/linuxrc rw"

That's your problem. You need to specify your real root device in the
"root=" section; for example, mine looks like

image=/boot/vmlinuz-2.4.9-13
label=linux
initrd=/boot/initrd-2.4.9-13.img
read-only
root=/dev/md1

The initrd magic happens before the real root gets loaded: you don't
need to point root to /dev/ram0 to get a ramdisk.

Cheers,
Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.612 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site