|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Minor FAQ change
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 <=
|
|
|
|
|