kernel 3.4.0,and [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support [*] Support initial ramdisks compressed using XZ <*> RAM block device support (4) Default number of RAM disks (8192) Default RAM disk size (kbytes) # cd rootfs # find .| cpio -o -H newc > ../a.cpio root [ xz-5.0.0 ]# src/xz/xz -V xz (XZ Utils) 5.0.0 liblzma 5.0.0 root [ xz-5.0.0 ]# src/xz/xz /tmp/a.cpio my grub.conf ---------------------------- timeout 1 default 1 title rootfs-2.07 root (hd0,1) kernel /boot/3.4.0 console=tty0 initrd /boot/a.cpio.xz KERNEL boot info --------------------------- ..... L2TP core driver, V2.0 L2TP IP encapsulation support (L2TPv3) L2TP netlink interface L2TP ethernet pseudowire support (L2TPv3) 8021q: 802.1Q VLAN Support v1.8 Using IPI No-Shortcut mode rtc_cmos 00:03: setting system clock to 2012-11-07 17:03:22 UTC (1352307802) RAMDISK: xz image found at block 0 Input was encoded with settings that are not supported by this XZ decoder Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Your xz encoder must be told to generate crc32 (xz --check=crc32) as embedded XZ does not support sha256/crc64
thanks!