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

Notices

Reply
 
Search this Thread
Old 04-17-2007, 03:04 PM   #1
towjamb
Member
 
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.

Thanks.
 
Old 04-17-2007, 03:27 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,472

Rep: Reputation: 154Reputation: 154
"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, 03:43 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,673

Rep: Reputation: 122Reputation: 122
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, 05:33 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
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.
 
  


Reply


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 05:06 PM
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 04:32 PM
How to mount a new hard drive in qemu depam Linux - Software 0 03-01-2006 02:21 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
qemu: qemu stopped right after command exec bitpicker Linux - Software 1 03-04-2005 11:25 PM


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

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