LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Qemu (https://www.linuxquestions.org/questions/linux-software-2/qemu-450209/)

gabsik 05-31-2006 08:07 AM

Qemu
 
Quote:

root@www:/var/www/xoops/html/modules# qemu -cdrom /home/gabrix/geexbox-1.0-rc2-en.i386.iso
Could not initialize SDL - exiting
What is this error ????What command did i miss ???

oneandoneis2 05-31-2006 08:25 AM

Have you got the SDL libraries installed & working?

Hitboxx 05-31-2006 08:50 AM

What are you trying to do?

IF you want to boot from a cd this is the syntax
Code:

$qemu -cdrom /dev/cdrom -boot d
Put whatever is your cd drive in '/dev/cdrom'

If you want to install a different OS onto your harddrive this is the syntax
Code:

$qemu -cdrom /dev/cdrom -hda myhdd.img -boot d
Put whatever is your cd drive in '/dev/cdrom'
Put whatever is your image location in 'myhdd.img'

NOTE: This requires you to have already created an img file(space for new OS).
This can be done
Code:

$dd if=/dev/zero of=myhdd.img bs=1024 count=2048000
This creates a 2GB space(myhdd.img) on your harddrive, change it to whatever you find suitable.

Otherwise you can always do a '#man qemu'

Hope this helps
Cheers

gabsik 05-31-2006 08:58 AM

The geexbox-1.0-rc2-en.i386.iso is a live cd , isn't ?That's why my -cdrom !

cs-cam 05-31-2006 09:22 AM

Do you have SDL installed. Respond to this or get no relevant help.

gabsik 05-31-2006 09:28 AM

What is the packet for SDL in debian sarge ???What is SDL ?

PsypherPunk 05-31-2006 09:56 AM

Wouldn't you need to mount the .iso file first?

Code:

$mount -o loop geexbox*.iso /mnt/cdrom
$qemu -cdrom /dev/cdrom -boot d

...?

Hitboxx 05-31-2006 10:57 AM

Quote:

Originally Posted by gabsik
The geexbox-1.0-rc2-en.i386.iso is a live cd , isn't ?That's why my -cdrom !

Nope!! Its just an image file. You need to burn it to a CD first or try the above syntax bu Punk.

oneandoneis2 05-31-2006 11:06 AM

You don't need to mount it, qemu can treat an ISO image as an actual burnt disk.

gabsik 05-31-2006 12:19 PM

Ok !I know for sure an iso livecd can be booted as if it was burnt on a cd with the -cdrom option by qemu.My question is SDL package for debian is libsdl-console right ?How do i use it ?


All times are GMT -5. The time now is 03:30 PM.