qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: qemu and already installed OS


From: Sami Haahtinen
Subject: [Qemu-devel] Re: qemu and already installed OS
Date: Sat, 20 Mar 2004 14:05:18 +0200
User-agent: Mozilla Thunderbird 0.5+ (Windows/20040319)

address@hidden wrote:
On Friday 19 March 2004 14:17, Sami Haahtinen wrote:
That would be your lilo, grab the kernel from the partition, put it
somewhere, load that kernel image with qemu (with the appropriate
parameters, you can get them from lilo conf, it's the append line) and
fire away.


How do you "grab the kernel" ?
I tried "dd if=/dev/hda", but as I said, lilo crash....

Ok, i found a neater way for you to do that.. ;)

go to: http://www.lnx-bbc.org/download.html fetch the iso image.

boot with the image, log in as root. mount your partition, and chroot to it:
mount /dev/hda1 /tmp
chroot /tmp /bin/sh

If you have other filesystems you are forced to mount, you shouldn't really do this unless you have to. If you do this, you need to clean up before you go:
mount -a

Re-install lilo by running lilo.

Back out once again:
exit (exit back to lnx-bbc)
umount /tmp
sync (i like to play it safe)

shutdown the system and boot up without the bootable CD-Image.

That's the quick tour on recovering from a HD failure, there are better howtos for this, but if you are clever you should be able to do it with this.

-- Sami





reply via email to

[Prev in Thread] Current Thread [Next in Thread]