On Fri, Oct 12, 2007 at 11:53:20AM +0530, Rajeev Bansal wrote: > Hello All, > > I am trying to build a custom initrd using the busybox. In my initrd I > have modified the /sbin/init to a init script which I am mentioning below,
Initramfs uses /init, not /sbin/init (that's old-style initrd, where it is a filesystem image). <snip> > checking if image is initramfs...<6>Switched to high resolution mode on > CPU 0 > it is </snip> Well, the kernel believes it is an initramfs archive, but you didn't put a /init there. <snip> > VFS: Cannot open root device "<NULL>" or unknown-block(202,3) > Please append a correct "root=" boot option > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(202,3) </snip> It ended up trying to mount the block-major 202, which belongs to Xen (xvda3). -- lfr 0/0
pgpzSVTUuV2Z6.pgp
Description: PGP signature
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
