|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] 2.6.31.6 pv_ops from xen-4.0.0-rc1 hangs by DomU initrd
> > Also, how did you generate the initrd?
> >
> echo ""
> mecho -info "Create initrd ..."
> echo ""
>
> cd ${INITRD_DIR}
> find ./ | cpio -H newc -o > ${INSTALL_PATH}/boot/initrd-${KERNEL_VERSION}
> cpio=$?
>
> if [ ${cpio} == 0 ]
> then
> gzip -f ${INSTALL_PATH}/boot/initrd-${KERNEL_VERSION}
I think you need to append "-9" argument. That is what 'mkinitrd' does:
(cd $MNTIMAGE; findall . | cpio -H newc --quiet -o) >| $IMAGE || exit 1
if [ -n "$compress" ]; then
gzip -9 < $IMAGE >| $target || rc=1
else
cp -a $IMAGE $target || rc=1
fi
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|