Re: initramfs and kernel 2.6.7

From: Chris Lingard
Date: Thu Jul 01 2004 - 12:16:49 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/