LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2009, 06:21 PM   #1
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
Problem with script/qemu-help


Evening, I am trying to find the solution to this problem...
downloaded Billix-0.23/0.24 'cause I wanted to check out the DSL/Qemu feature for Linux/Windows users.
A few months ago I remember downloading Billix and the Qemu/DSL .sh worked.
Now, it says what you see below...

Code:
bash-3.1# mount -t vfat -o rw,exec /dev/sde1 
/mnt/usb
mount: /dev/sde1 already mounted or /mnt/usb busy
mount: according to mtab, /dev/sde1 is already mounted 
on /mnt/usb
bash-3.1# cd /mnt/usb
bash-3.1# cd /mnt/sde1
bash-3.1# ./dsl-linux.sh
qemu: could not open hard disk image 
'qemu/harddisk'
bash-3.1#
If you download both versions-0.23/0.24 you will see a difference in the contents of the Qemu folder.
This is the script-
Code:
qemu/qemu -L qemu/ -soundhw sb16 -kernel 
boot/linux24 
-initrd boot/minirt24.gz -hda KNOPPIX/KNOPPIX 
-hdb qemu/harddisk -append "qemu frugal quiet 
modules=hdb nousb noscsi nofirewire atapicd noideraid noacpi acpi=off noapm noagp nomce"
here's the readme-
Code:
When Running from Linux:
Mount the pendrive and then
from shell type:

 dsl-linux.sh

If dsl-linux will not execute then see 
qemu-linux-notes.txt
Here's the Qemu notes-
Code:
If problem dsl-linux.sh will not execute:

There is an option to mount called "exec" it allows execution of files within the file system. 
Apparently it is not a default option to have on when mount vfat (unsurprisingly).

So to mount your usb drive:
mount -t vfat -o <your other options>,exec <your device> <your mount point>

e.g.
mount -t vfat -o rw,exec /dev/sda1 /mnt/usb

Or in fstab...
/dev/sda1 /mnt/usb vfat noauto,user,rw,exec 0 0

Then dsl-linux.sh worked!
So, what's the issue here??

Last edited by linus72; 03-31-2009 at 06:23 PM.
 
Old 04-01-2009, 07:20 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK-I changed the script a bit for Billix-0.23 and got Qemu to boot DSL but there are still Major issues. Why does this script exist if it doesn't work?
Anyway, I edited the script a few times and can get DSL to boot, but it either says it can't find the Modules to load, or it gets to the configuring screen and nothing works-mouse, keyboard-only thing that works is the "enter" key-so I can't use the up/down left/right arrow keys to choose xconfig, etc.
The desktop has a grey background and nothing works.
Obviously it's loading and everything-just something is not being loaded...
Here I changed the dsl-linux.sh from "-hda KNOPPIX/KNOPPIX -hdb qemu/harddisk " to "-hda DSL/KNOPPIX -hdb qemu/qemu"
Her's the term output-
Code:
bz@bz-desktop:~$ sudo su
[sudo] password for bz: 
root@bz-desktop:/home/bz# cd /home/bz/Desktop/billix
root@bz-desktop:/home/bz/Desktop/billix# ./dsl-linux.sh
Could not open '/dev/kqemu' - QEMU acceleration 
layer not activated
root@bz-desktop:/home/bz/Desktop/billix#
See the loading screenshot-

So, how do I fix this?
As I said everything else goes well except the modules are not being loaded and the mouse/kybd, etc not working.

Ha! Somehow I just got it working-except I had to use the "shift" key plus the arrow buttons on the right side of the keyboard-the numeric
or calculator keyboard-what's it called?
Anyway see the screenshot of the Desktop-that's Qemu running via "dsl-linux.sh" out of the "Billix-0.23" folder on my SuperUbuntu-8.10 Desktop!
Now, because it didn't load the modules correctly how do I fix that??
If some one could please download both Billix-0.23 and Billix-0.24-check out the differences in the qemu folders(I had to use the 0.23 version as the 0.24 version is missing "Qemu".
( http://ftp2.uk.freebsd.org/sites/dow...e/b/bi/billix/ )
I really need to figure this out-
Thanks

Last edited by linus72; 06-14-2009 at 10:07 AM.
 
Old 04-01-2009, 07:40 AM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK-the keyboard and mouse work in qemu DSL, but what do the errors mean in screenshot 1-
Can't locate module XFS
Can't locate module minix
Can't locate module hfs
Can't locate module efs
What is xfs/efs/hfs/minix??
How do I correct this??
 
Old 04-01-2009, 11:38 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
I would suggest you contact the people of billix.
 
  


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
qemu problem afreitascs Slackware 4 07-07-2008 11:03 PM
problem of qemu cjzjm100 Linux - Software 1 10-01-2007 10:45 PM
Help me please..I need an Installation script to install qemu with kqemu on Mepis depam Linux - Software 1 04-24-2006 06:32 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 - Newbie

All times are GMT -5. The time now is 08:10 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