Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Letzte Überarbeitung Beide Seiten der Revision | ||
xen [2013/12/17 08:21] admin [Betrieb von s4e2010 & d4e2010] |
xen [2015/05/23 11:19] admin |
||
---|---|---|---|
Zeile 53: | Zeile 53: | ||
*Masquarading aktivieren | *Masquarading aktivieren | ||
+ | |||
+ | ===== XEN: Installation bootfähig machen ===== | ||
+ | |||
+ | <file> | ||
+ | Falling back to ... | ||
+ | After the error, I dropped to a shell, and did: | ||
+ | mount /dev/xvda2 /mnt | ||
+ | mount -o bind /dev /mnt/dev | ||
+ | mount -t proc proc /mnt/proc | ||
+ | mount -t sysfs sysfs /mnt/sys | ||
+ | /mnt/usr/bin/chroot /mnt | ||
+ | mkinitrd | ||
+ | |||
+ | I got the error: | ||
+ | No modalias for device xvda | ||
+ | Script /lib/mkinitrd/setup/72-block.sh failed! | ||
+ | |||
+ | As stated above, mkinitrd can't figure out what module provides xvda. This | ||
+ | patch allows the initrd to be built: | ||
+ | |||
+ | --- /lib/mkinitrd/setup/72-block.sh~ 2007-07-31 12:09:22.000000000 -0600 | ||
+ | +++ /lib/mkinitrd/setup/72-block.sh 2007-07-31 12:09:35.000000000 -0600 | ||
+ | @@ -41,6 +41,9 @@ | ||
+ | i2o*) | ||
+ | echo i2o_block i2o_config | ||
+ | ;; | ||
+ | + xvd*) | ||
+ | + echo xenblk | ||
+ | + ;; | ||
+ | *) | ||
+ | if [ ! -d /sys/block/$blkdev/device ] ; then | ||
+ | echo "Device $blkdev not handled" >&2 | ||
+ | | ||
+ | </file> | ||
+ | |||
+ | |||
===== Betrieb von s4e2010 & d4e2010 ===== | ===== Betrieb von s4e2010 & d4e2010 ===== | ||