All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] boot from "live cd" in qemu ?
@ 2004-09-26 18:13 jmf
  2004-09-26 18:17 ` Philipp Gühring
  2004-09-26 18:18 ` Lennert Buytenhek
  0 siblings, 2 replies; 5+ messages in thread
From: jmf @ 2004-09-26 18:13 UTC (permalink / raw)
  To: qemu-devel


How can I boot from a BSD or Linux "live cd" in qemu ? 

qemu allows the user to set it's emulated "devices" to arbitrary files or real devices so I tried to set the cdrom, or an iso image, to fda or hda but this did not work:



$ qemu -hda /dev/cdrom

$ qemu -hda livecd.iso



$ qemu -fda /dev/cdrom

$ qemu -fda livecd.iso



all fail to boot. What I would like to do would be something like



$ qemu -boot_from_cdrom ./mylivecd.iso



or



$ qemu -boot_from_cdrom /dev/cdrom



If this is possible, how? If it is not possible, will this feature be added in the future? "live cds" are so popular now, this would be very helpful.









_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] boot from "live cd" in qemu ?
  2004-09-26 18:13 [Qemu-devel] boot from "live cd" in qemu ? jmf
@ 2004-09-26 18:17 ` Philipp Gühring
  2004-09-26 18:18 ` Lennert Buytenhek
  1 sibling, 0 replies; 5+ messages in thread
From: Philipp Gühring @ 2004-09-26 18:17 UTC (permalink / raw)
  To: jmfguy, qemu-devel

Hi,

Try

qemu -cdrom /dev/cdrom

qemu -cdrom livecd.iso

qemu -cdrom /dev/cdrom -boot d

qemu -cdrom livecd.iso -boot d


Many greetings,
Philipp Gühring

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] boot from "live cd" in qemu ?
  2004-09-26 18:13 [Qemu-devel] boot from "live cd" in qemu ? jmf
  2004-09-26 18:17 ` Philipp Gühring
@ 2004-09-26 18:18 ` Lennert Buytenhek
  2004-09-26 18:30   ` Jim C. Brown
  1 sibling, 1 reply; 5+ messages in thread
From: Lennert Buytenhek @ 2004-09-26 18:18 UTC (permalink / raw)
  To: jmfguy, qemu-devel

On Sun, Sep 26, 2004 at 02:13:45PM -0400, jmf wrote:

> qemu allows the user to set it's emulated "devices" to arbitrary files or real devices so I tried to set the cdrom, or an iso image, to fda or hda but this did not work:
> 
> 
> 
> $ qemu -hda /dev/cdrom
> 
> $ qemu -hda livecd.iso

Try:

$ touch temp_hda_image
$ qemu -hda temp_hda_image -cdrom /dev/cdrom -boot d


--L

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] boot from "live cd" in qemu ?
  2004-09-26 18:18 ` Lennert Buytenhek
@ 2004-09-26 18:30   ` Jim C. Brown
  2004-09-26 18:49     ` Lennert Buytenhek
  0 siblings, 1 reply; 5+ messages in thread
From: Jim C. Brown @ 2004-09-26 18:30 UTC (permalink / raw)
  To: qemu-devel

On Sun, Sep 26, 2004 at 08:18:33PM +0200, Lennert Buytenhek wrote:
> On Sun, Sep 26, 2004 at 02:13:45PM -0400, jmf wrote:
> 
> > qemu allows the user to set it's emulated "devices" to arbitrary files or real devices so I tried to set the cdrom, or an iso image, to fda or hda but this did not work:
> > 
> > 
> > 
> > $ qemu -hda /dev/cdrom
> > 
> > $ qemu -hda livecd.iso
> 
> Try:
> 
> $ touch temp_hda_image
> $ qemu -hda temp_hda_image -cdrom /dev/cdrom -boot d
> 

You don't need the "-hda temp_hda_image" part.

$ qemu -cdrom /dev/cdrom -boot d

would suffice.

> 
> --L
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] boot from "live cd" in qemu ?
  2004-09-26 18:30   ` Jim C. Brown
@ 2004-09-26 18:49     ` Lennert Buytenhek
  0 siblings, 0 replies; 5+ messages in thread
From: Lennert Buytenhek @ 2004-09-26 18:49 UTC (permalink / raw)
  To: qemu-devel

On Sun, Sep 26, 2004 at 02:30:48PM -0400, Jim C. Brown wrote:

> > Try:
> > 
> > $ touch temp_hda_image
> > $ qemu -hda temp_hda_image -cdrom /dev/cdrom -boot d
> 
> You don't need the "-hda temp_hda_image" part.

Aha.  It became a habit of mine to always add this because qemu won't
let me boot a kernel without specifying a hda, and quite often all I
want to do is just to boot a kernel to see if it works at all.


--L

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-26 18:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-26 18:13 [Qemu-devel] boot from "live cd" in qemu ? jmf
2004-09-26 18:17 ` Philipp Gühring
2004-09-26 18:18 ` Lennert Buytenhek
2004-09-26 18:30   ` Jim C. Brown
2004-09-26 18:49     ` Lennert Buytenhek

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.