LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2009, 03:55 PM   #1
MediocreGopher
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Rep: Reputation: 0
Qemu problem


There's lots of guides on the internet for setting up a raw disk image for qemu using an install disk, but I haven't really been able to find one that details how to do so with a partition that already exists. Supposedly, qemu is able to boot directly from /dev/hda1, but I can't figure that out. Everytime I try (qemu -hda /dev/hda, or qemu -hda /dev/hda1, I wasn't sure, but neither worked), qemu starts up but gets stuck on "Booting hard disk..." and just sits there.

I think it's not finding a MBR, or something along those lines. I dd'd an image of my partition (Windows XP), but that doesn't seem to help any. I'm new to this virtualization stuff, so I'm sorry I'm way off track.

My computer:
2.6.27.21-170.2.56.fc10 x86_64 GNU/Linux
 
Old 04-30-2009, 04:07 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Hmmmm, I've never tried that-Your talking about a VHD on your HD-yes?

What do you mean by "but I haven't really been able to find one that details how to do so with a partition that already exists."

Clarify please...

Also, my dsl/qemu stuff uses the "KNOPPIX" cloop image as "-hda DSL/KNOPPIX"
And where "-hdb hdb/HDB" is the vhd I made for it in a folder named "hdb"
And it all runs from USB or out of the folder on your desktop
AND it has persistent save!
Start it with "./mydsl.sh"(double-click-select "run"), add some mydsl apps/themes and shutdown/backup and all your stuff's there!
Additionally-put whole DSL-embedded-persistent.zip on your USB, install syslinux, set boot flag and reboot
At the DSL live desktop, open a root shell(terminal), type "mount" to find where the usb is mounted(usually "/cdrom" or "/mnt/auto/cdrom"
Then type "cd /cdrom"
Then "./mydsl.sh"
Bang!
DSL-Qemu inside the DSL live desktop!
 
Old 04-30-2009, 04:35 PM   #3
MediocreGopher
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Basically I've got a Windows XP partition and a Fedora 10 partition, and I can dual-boot to either one. I'd like to be able to continue booting into the Windows partition normally so I can play games (I hear qemu really cuts down on processing speed), but I'd also like to be able to run that same Windows partition as a virtual machine while I'm running Fedora, so that I can do some Windows only stuff without having to reboot my computer. I've found tons of guides on the internet for making a windows virtual machine, but none on doing what I want to do.
 
  


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
Problem with script/qemu-help linus72 Linux - Newbie 3 04-01-2009 11:38 AM
qemu problem afreitascs Slackware 4 07-07-2008 11:03 PM
problem of qemu cjzjm100 Linux - Software 1 10-01-2007 10:45 PM
qemu problem with Win2k goldfish Linux - Software 7 12-10-2005 07:29 PM
qemu: qemu stopped right after command exec bitpicker Linux - Software 1 03-04-2005 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration