All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sami Haahtinen <ressu@ressukka.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: qemu and already installed OS
Date: Sat, 20 Mar 2004 14:05:18 +0200	[thread overview]
Message-ID: <c3hc20$evd$1@sea.gmane.org> (raw)
In-Reply-To: <200403201011.09796.vaise@votreservice.com>

vaise@votreservice.com 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	other threads:[~2004-03-20 12:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-19 11:57 [Qemu-devel] qemu and already installed OS vaise
2004-03-19 11:11 ` Thomas Glanzmann
2004-03-19 12:46   ` vaise
2004-03-19 13:24     ` vaise
2004-03-19 12:47       ` Rudi Lippert
2004-03-19 13:12       ` Thomas Glanzmann
2004-03-20 10:09         ` vaise
2004-03-23 13:10           ` vaise
2004-03-19 14:17       ` [Qemu-devel] " Sami Haahtinen
2004-03-20 10:11         ` vaise
2004-03-20 12:05           ` Sami Haahtinen [this message]
2004-03-19 13:58     ` [Qemu-devel] [small help] dd, mbr, fdisk Sebastien Bechet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='c3hc20$evd$1@sea.gmane.org' \
    --to=ressu@ressukka.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.