Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-17-2007, 04:04 PM   #1
Registered: Aug 2004
Location: Canada
Distribution: Debian
Posts: 87

Rep: Reputation: 15
Qemu.img to hard drive

Has anyone done this?
That is, take a customized etch qemu image and transfered it to a fresh hard drive, mbr and all? Seems like it would save lots of post-install configuration.

Old 04-17-2007, 04:27 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"Has anyone done this? That is, take a customized etch qemu image and transfered it to a fresh hard drive, mbr and all? Seems like it would save lots of post-install configuration."

Whenever you transfer images from one disk to another you can run into problems with software that uses absolute hard drive addresses. Boot loaders typically use absolute hard drive addresses. So if the two hard drives have the exact same disk geometry then the new copy will probably work. If the two hard drives have different geometries then the new copy will probably have problems.

Steve Stites
Old 04-17-2007, 04:43 PM   #3
Dutch Master
Senior Member
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
I had trouble running a Qemu image made on one PC to run on a second. Imagine trying to run it on the actual hardware... In other words: I doubt it'll work, but I do understand your line of thought.
Old 04-17-2007, 06:33 PM   #4
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I've done it, not with Qemu, with bootitng. I also transferred an image of Windows XP Pro onto another computer with different size processor, different memory, different hard drive, different mac address on the network card. Allot of the components were the same, but two different models of HP computers, had to re-activate it also, but it worked.
I have a bootitng compressed image of all 6 OS's in my main box that can be installed on another drive, anywhere on the drive, as long as bootitng is used as a boot manager, I can install an image (Linux or Windows) anywhere on the drive and as many copies as I want. Right now, because Fedora has had it's dependency hell issues in the past, I have two copies of it installed derived from the same image.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Fedora 5 Hard Drive to another Hard Drive Using Knoppix 5.1.1 lud477 Linux - Software 2 03-17-2007 06:06 PM
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 05:32 PM
How to mount a new hard drive in qemu depam Linux - Software 0 03-01-2006 03:21 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
qemu: qemu stopped right after command exec bitpicker Linux - Software 1 03-05-2005 12:25 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration