Web lists-archives.com

Re: Restore backup to KVM




On 24/09/17 11:51, Reco wrote:
Cheat it then and run QEMU like this (I don't know what's your root
filesystem is called, you may need to replace sda2 with something else):

qemu-system-x86_64 -hda <your_qemu_file_here> \
	-kernel <restored_kernel> \
	-initrd <restored_initrd> \
	-append "root=/dev/sda2 ro init=/bin/bash"

Hi Reco, does /dev/sda2 refer to the partition containing the root file system of the *host*?