DSL Embedded :: "Permission denied" starting QEMU/Linux
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
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...
I had the exact same trouble on my Mandrake Linux machine. No matter what I do, it says permission denied.
Me = no help...
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
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.
Next Page...
original here.