Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: "Permission denied" starting QEMU/Linux< Next Oldest | Next Newest >
tawalker Offline





Group: Members
Posts: 73
Joined: Dec. 2004
Posted: Jan. 03 2005,11:40 QUOTE

I'm setting up the "triple boot" version of DSL on my USB pen drive (Sandisk Mini Cruzer 256Mb), and so far I think I'm making slow but steady progress :) I can't tell whether the drive is bootable yet, as it seems none of my PCs can boot from a USB pen drive, but that's another post on its own.

The main issue right now: I can run the Windows QEMU, but not the Linux one, as the latter gives me a "Permission denied" error. This DSL forum post addresses the same problem, but the steps suggested there didn't solve the problem for me. The permissions on dsl-linux.sh and the QEMU executable appear to be correct, and I can't seem to change them anyway as the pen drive is formatted with FAT32.

I'm more likely to want to run QEMU on a Windows PC when I'm out and about, but it would be good to have a Linux option too. Can anyone suggest any ideas for fixing the Linux permissions problem?

Many thanks,
Tim
Back to top
Profile PM 
tawalker Offline





Group: Members
Posts: 73
Joined: Dec. 2004
Posted: Jan. 03 2005,17:52 QUOTE

Just to add to this: I also tried starting the Linux QEMU from my laptop running Fedora Core 3, and it gave me a "Segmentation fault" error.

Maybe it's just not my week... :p
Back to top
Profile PM 
durbnpoisn Offline





Group: Members
Posts: 47
Joined: Dec. 2004
Posted: Jan. 06 2005,20:22 QUOTE

I had the exact same trouble on my Mandrake Linux machine.  No matter what I do, it says permission denied.

Me = no help...
Back to top
Profile PM 
tawalker Offline





Group: Members
Posts: 73
Joined: Dec. 2004
Posted: Jan. 07 2005,19:51 QUOTE

Ironic, isn't it - at present, the only way I can run DSL from my pen drive is under Windows!

- Embedded on RH9 system = "Permission denied"
- Embedded on FC3 system = "Segmentation fault"
- Neither of my two PCs seem to be able to boot from USB, but that's a hardware problem

To be fair, the Embedded DSL problems look like they're more down to QEMU/Linux than DSL itself. I'm already thinking ahead to how DSL might be perfect for a Mini-ITX PC, but I've quite a while in which I can dream about that...

Tim
Back to top
Profile PM 
Hasbro35 Offline





Group: Members
Posts: 10
Joined: Dec. 2004
Posted: Jan. 09 2005,08:12 QUOTE

For Fedora Core 3 I installed the QEMU 0.6.1 from the dag repository at http://dag.wieers.com/home-made/  These packages are specifically compiled for fedora core.

Here are the steps I used to get qemu working from FedoraCore3 using my 1GB Lexar Jumpdrive
1.  Installed QEMU for FC3 from Dag's repository using Synaptic (an apt GUI front-end).  You should be able to just install by grabbing the RPM from his site as well and using RPM to install.
2. Created a new directory on the usb pen drive called  /qemufc (for fedora core).  I created this new directory so that the default files would be untouched so I could try them on other distros.  
3. Copied the Dag version of "qemu" from my Fedora Core 3 install (located in /usr/bin/qemu) to /qemufc/
4. Made a copy of dsl-linux.sh and called it dsl-fedoracore3.sh
5. Edited dsl-fecoracore3.sh so that the command line would execute /qemufc/qemu instead of /qemu/qemu

Here is the contents of my dsl-fedoracore3.sh:
#!/bin/sh
qemufc/qemu -L qemu/ -enable-audio -kernel linux24 -initrd minirt24.gz -hda knoppix/knoppix -hdb qemu/harddisk -append "qemu frugal quiet"

That's it.  Now I run ./dsl-fedoracore3.sh and QEMU runs without a segmentation fault.  Note: A much simpler solution would be to back up the default /qemu/qemu and replace it with Dag's version.  Then, just run the default dsl-linux.sh and it should work, but I have such a large pen drive that space wasn't an issue so I did it the way I did above.  Also my way allows me to try the default dsl-linux.sh on other distros without having to make any edits to shell scripts.
Back to top
Profile PM 
7 replies since Jan. 03 2005,11:40 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: "Permission denied" starting QEMU/Linux

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code