:: Re: [Dng] How to bust into a broken…
Inizio della pagina
Delete this message
Reply to this message
Autore: Steve Litt
Data:  
To: dng
Vecchi argomenti: Re: [Dng] How to bust into a broken Qemu VM?
Oggetto: Re: [Dng] How to bust into a broken Qemu VM? <SOLVED>
On Sat, 16 May 2015 17:12:04 +0800
Brad Campbell <lists2009@???> wrote:

> On 16/05/15 07:37, 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.
> >
> > So how do you bust back into a borked VM?
>
> With systemrescuecd.
> qemu -hda my.img -cdrom /path/to/sysresccd.iso -boot d
>
> Easy peasy.
>
> Brad


Thanks Brad,

Your method both worked and was dead bang easy. Yesterday I performed
this procedure about 10 times in 2 hours. Note that System Rescue CD
requires -vga std in order to have anything resembling a decent image.
And of course I used --enable-kvm so I wouldn't get gray hair waiting
for it to boot.

A big thank-you goes out to Peter Maloney for suggesting chroot.
Although chroot technically isn't necessary, using it prevents a lot of
stupid mistakes, so I use it every time and indeed have put it into my
document.

Thanks!

SteveT

Steve Litt
May 2015 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz