public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* initramfs and kernel  2.6.7
@ 2004-06-30 18:55 Arkadiusz Patyk
  2004-07-01 17:15 ` Chris Lingard
  0 siblings, 1 reply; 2+ messages in thread
From: Arkadiusz Patyk @ 2004-06-30 18:55 UTC (permalink / raw)
  To: linux-kernel

Hi,

I 'am trying to launch linux kernel 2.6.7 with initramfs.

My pxelinux.cfg/default file looks as follows:
default a1
prompt 1
timeout 600
label a1
kernel vmlinuz-2.6.7-1
append initrd=initramfs_data.cpio.gz root=/dev/ram0 init=/linuxrc

Kernel image  vmlinuz-2.6.7-1 and  initramfs_data.cpio.gz was loaded 
succesfully by pxelinux.

Kernel says:
checking if image is initramfs... it is

but later occurs an error:
Kernel panic: VFS: Unable to mount root fs on ram0

Full log: http://rescuecd.pld-linux.org/minicom.cap

What should I do to run my system? 
Maybe root=/dev/ram0 is not correct?

Best regards,
-- 
Arkadiusz Patyk [areq(at)pld-linux.org] [http://rescuecd.pld-linux.org/]
[IRC:areq ICQ:16231667  GG:1383]  [AP3-6BONE] [AP14126-RIPE]

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

* Re: initramfs and kernel  2.6.7
  2004-06-30 18:55 initramfs and kernel 2.6.7 Arkadiusz Patyk
@ 2004-07-01 17:15 ` Chris Lingard
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Lingard @ 2004-07-01 17:15 UTC (permalink / raw)
  To: Arkadiusz Patyk; +Cc: linux-kernel

On Wednesday 30 June 2004 19:55, Arkadiusz Patyk wrote:
> Hi,
>
> I 'am trying to launch linux kernel 2.6.7 with initramfs.

> kernel vmlinuz-2.6.7-1
> append initrd=initramfs_data.cpio.gz root=/dev/ram0 init=/linuxrc

The append line is unnecessary

First, your script with your initramfs should be called init and
not linuxrc :-(

Assuming that you are creating the cpio with --format=newc,
you should copy your initramfs.cpio.gz to:
linux-2.6.7/usr/initramfs_data.cpio.gz

Make the kernel, boot the kernel; and the initramfs will be mounted as
root, and control given to the init script.

Chris Lingard

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

end of thread, other threads:[~2004-07-01 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30 18:55 initramfs and kernel 2.6.7 Arkadiusz Patyk
2004-07-01 17:15 ` Chris Lingard

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