WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Minor FAQ change

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Minor FAQ change
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Minor FAQ change, Ge van Geldorp <=