:: Re: [Dng] How to bust into a broken…
Página Inicial
Delete this message
Reply to this message
Autor: Brad Campbell
Data:  
Para: dng
Assunto: Re: [Dng] How to bust into a broken Qemu VM?
On 16/05/15 15:37, Peter Maloney wrote:
> On 05/16/2015 02:00 AM, Adam Borowski wrote:
>> On Fri, May 15, 2015 at 07:37:57PM -0400, Steve Litt wrote:
>>> When you accidentally bork a Qemu VM such that it won't boot to a
>>> virtual terminal, how do you bust back in. I doubt System Rescue CD
>>> would help, unless you can boot from the "cdrom" but somehow also
>>> access the existing "hard disk" borked VM image.
>> Well... you use the exact same arguments as you used for installing the
>> system in the first place. That is, give qemu both the hard disk image and
>> the CD. Then -boot d to boot from the first attached CD.
>>
> Or you can have more fun and mount it on the host...
>
>
> losetup /dev/loop0 disk1.img


With the caveat that only works for RAW format images though.


Brad
--
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.