Received: from eggs.gnu.org ([208.118.235.92]:58688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US1Ma-0003Vf-LJ for qemu-devel@nongnu.org; Tue, 16 Apr 2013 04:35:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US1MZ-00005q-8F for qemu-devel@nongnu.org; Tue, 16 Apr 2013 04:35:40 -0400 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:35437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US1MZ-00005a-0Y for qemu-devel@nongnu.org; Tue, 16 Apr 2013 04:35:39 -0400 Received: by mail-we0-f174.google.com with SMTP id u12so166647wey.5 for ; Tue, 16 Apr 2013 01:35:38 -0700 (PDT) Date: Tue, 16 Apr 2013 10:35:35 +0200 From: Stefan Hajnoczi Message-ID: <20130416083535.GE6308@stefanha-thinkpad.redhat.com> References: <516C009F.8050106@itcsnam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <516C009F.8050106@itcsnam.com> Subject: Re: [Qemu-devel] Fedora core 2 filesystem List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benito Cc: qemu-devel@nongnu.org On Mon, Apr 15, 2013 at 02:29:03PM +0100, Benito wrote: > I have a question regarding qemu. Is it possible to take a working > root filesystem ( old machine running Fedora core 2 ) and emulate it > with qemu > on a new PC running a modern Linux distribution ? If so , is it > going to be a nightmare to accomplish , or is there support to do > this already ? Yes, that is possible. It's called physical-to-virtual (p2v) migration. The process is: 1. Gather old machine hardware configuration info, mainly from lspci(1) 2. Copy disk contents into a raw image file, typically using dd(1) 3. Configure a new guest with hardware that matches old host as closely as possible. Most important are network card, storage controller, and display adapter since the OS may fail to boot up to a useful level if it lacks drivers. If your hardware is not emulated by QEMU, try rtl8139 for NIC, IDE for storage, and cirrus VGA for display. These are old devices and many guest OSes ship with drivers for them. Keep the old machine around during this process so you can go back if you hit a hurdle. Good luck! :) Stefan