stoney cloud: Installation in Qemu\KVM: Difference between revisions
Jump to navigation
Jump to search
(Created page with "The stoney cloud contains drivers needed to run in a virtualized environment, namely Qemu/KVM, but the initial ramdisk does not load them automatically. Therefore, when booti...") |
No edit summary |
||
| Line 1: | Line 1: | ||
The stoney cloud contains drivers needed to run in a virtualized environment, namely Qemu/KVM, but the initial ramdisk does not load them automatically. | The stoney cloud contains drivers needed to run in a virtualized environment, namely Qemu/KVM, but the initial ramdisk does not load them automatically. Therefore some manual work is needed to successfully boot a fresh installation inside Qemu/KVM. | ||
== Before finishing the installation == | |||
When being asked <code>Do you want to reboot your system?</code> switch to a second console and do this: | |||
<source lang='bash'> | |||
vim /mnt/osbd/boot/grub/grub.conf | |||
# append the following to the two lines starting with "kernel": | |||
# doload=virtio_pci,virtio_blk | |||
</source> | |||
This will make sure that the initial ramdisk loads the required virtio-drivers during boot. | |||
== After having finished the installation == | |||
Even if you already finished the installation and rebooted, there is a way to boot your installation: | |||
When you get the GRUB boot screen: | |||
* press <code>e</code> on the already selected boot line | * press <code>e</code> on the already selected boot line | ||
* use the arrow keys to navigate to the entry starting with <code>kernel /kernel ...</code> and press <code>e</code> again | * use the arrow keys to navigate to the entry starting with <code>kernel /kernel ...</code> and press <code>e</code> again | ||
| Line 12: | Line 27: | ||
mount /boot | mount /boot | ||
vim /boot/grub/grub.conf | vim /boot/grub/grub.conf | ||
# | # append the following to the two lines starting with "kernel": | ||
# doload=virtio_pci,virtio_blk | |||
</source> | </source> | ||
[[Category: stoney cloud]][[Category: Installation]] | [[Category: stoney cloud]][[Category: Installation]] | ||
Revision as of 11:08, 1 February 2014
The stoney cloud contains drivers needed to run in a virtualized environment, namely Qemu/KVM, but the initial ramdisk does not load them automatically. Therefore some manual work is needed to successfully boot a fresh installation inside Qemu/KVM.
Before finishing the installation
When being asked Do you want to reboot your system? switch to a second console and do this:
vim /mnt/osbd/boot/grub/grub.conf
# append the following to the two lines starting with "kernel":
# doload=virtio_pci,virtio_blk
This will make sure that the initial ramdisk loads the required virtio-drivers during boot.
After having finished the installation
Even if you already finished the installation and rebooted, there is a way to boot your installation:
When you get the GRUB boot screen:
- press
eon the already selected boot line - use the arrow keys to navigate to the entry starting with
kernel /kernel ...and presseagain - append the following to the line:
doload=virtio_pci,virtio_blk - press
ESCto exit and thenbto boot
This change can be made permanent by logging in as root after the startup and editing the grub configuration:
mount /boot
vim /boot/grub/grub.conf
# append the following to the two lines starting with "kernel":
# doload=virtio_pci,virtio_blk