LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-31-2006, 08:07 AM   #1
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Rep: Reputation: 30
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 ???
 
Old 05-31-2006, 08:25 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Have you got the SDL libraries installed & working?
 
Old 05-31-2006, 08:50 AM   #3
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
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
 
Old 05-31-2006, 08:58 AM   #4
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Original Poster
Rep: Reputation: 30
The geexbox-1.0-rc2-en.i386.iso is a live cd , isn't ?That's why my -cdrom !
 
Old 05-31-2006, 09:22 AM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Do you have SDL installed. Respond to this or get no relevant help.
 
Old 05-31-2006, 09:28 AM   #6
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Original Poster
Rep: Reputation: 30
What is the packet for SDL in debian sarge ???What is SDL ?
 
Old 05-31-2006, 09:56 AM   #7
PsypherPunk
Member
 
Registered: Jul 2005
Posts: 109

Rep: Reputation: 15
Wouldn't you need to mount the .iso file first?

Code:
$mount -o loop geexbox*.iso /mnt/cdrom
$qemu -cdrom /dev/cdrom -boot d
...?
 
Old 05-31-2006, 10:57 AM   #8
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
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.
 
Old 05-31-2006, 11:06 AM   #9
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
You don't need to mount it, qemu can treat an ISO image as an actual burnt disk.
 
Old 05-31-2006, 12:19 PM   #10
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Original Poster
Rep: Reputation: 30
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 ?
 
  


Reply



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
QEmu mtecknology Linux - Software 5 09-14-2007 05:30 AM
qemu kbrown3074 Linux - Software 5 05-10-2006 12:22 PM
How to use Qemu altella Mandriva 1 04-12-2006 07:55 PM
qemu gaah Linux - Newbie 6 10-19-2005 05:22 AM
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 09:50 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