[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Minor FAQ change


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Ge van Geldorp <gvg@xxxxxxxxxxx>
  • Date: Thu, 21 Apr 2005 00:27:31 +0200
  • Delivery-date: Wed, 20 Apr 2005 22:27:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

When following the instructions in 3.7 of the FAQ at
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/faq.html to modify a FC3 initrd
the new initrd image would get ignored during boot. It turns out that the
initrd image needs to be in portable cpio format (-c flag) at least for FC3 and
I expect for most other distributions using cpio initrds too.

I've added a diff below, which probably isn't of much use 'cause the source of
the page says it's generated from a template.

Ge van Geldorp.

--- faq.html.orig       2005-04-21 00:15:11.000000000 +0200
+++ faq.html    2005-04-21 00:15:38.000000000 +0200
@@ -388,9 +388,9 @@
 <PRE>
 # mkdir initrd.mnt
 # gzip -d -S ".img" /path/to/initrd.img
-# mount -o loop /path/to/initrd initrd.mnt <b>OR</b> (cd initrd.mnt && cpio -i 
<../path/to/initrd)
+# mount -o loop /path/to/initrd initrd.mnt <b>OR</b> (cd initrd.mnt && cpio 
-ic <../path/to/initrd)
 # ...edit files in directory initrd.mnt....
-# umount initrd.mnt <b>OR</b> (cd initrd.mnt && find . | cpio -o --quiet 
>../path/to/initrd)
+# umount initrd.mnt <b>OR</b> (cd initrd.mnt && find . | cpio -oc --quiet 
>../path/to/initrd)
 # gzip -9 -S ".img" /path/to/initrd
 </PRE>
 If you use cpio then you may get warnings about truncated inode numbers.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.