how do i set embedded up??


Forum: DSL Embedded
Topic: how do i set embedded up??
started by: DImGR

Posted by DImGR on Dec. 04 2004,15:33
i downloaded the zip files but i do not see any instructions. only a small txt file saying if you are usingWIndows...  I am not.
Posted by Aiku on Dec. 04 2004,16:16
Shall we all post our guess of what you are running?
OK. Mac ?

Posted by DImGR on Dec. 04 2004,16:51
Quote (Aiku @ Dec. 04 2004,11:16)
Shall we all post our guess of what you are running?
OK. Mac ?

linux debian
Posted by cbagger01 on Dec. 05 2004,00:12
If I were you, I would unzip the file and then go into the directory and then try to run the dsl-linux.sh  shell script.

Never tried it myself, but that would be my first step.

However, I don't think that the linux qemu executable is included with 0.9 embedded.

Try downloading 0.84 embedded and give it a spin.

Posted by DImGR on Dec. 05 2004,03:32
Quote (cbagger01 @ Dec. 04 2004,19:12)
Never tried it myself, but that would be my first step.

what have you tried ?
Posted by cbagger01 on Dec. 05 2004,03:41
I run DSL embedded from my Windows XP OS.

If I want to use DSL while running Linux, I boot DSL natively (IE: from CD or from bootable USB drive) and I don't bother using the PC Emulator Qemu whille running Knoppix, Peanut or some other Linux OS.

But if I DID try to do it, I would follow the advice in my previous post.

Posted by DImGR on Dec. 05 2004,15:56
Quote (cbagger01 @ Dec. 04 2004,19:12)
If I were you, I would unzip the file and then go into the directory and then try to run the dsl-linux.sh  shell script.

Never tried it myself, but that would be my first step.

However, I don't think that the linux qemu executable is included with 0.9 embedded.

Try downloading 0.84 embedded and give it a spin.

there is no such script



ls

gehidore@gnortra gehidore $ ls /build/
SDL.dll dsl-windows.bat dsl.iso qemu.exe vgabios-cirrus.bin
bios.bin dsl.img harddisk readme.txt vgabios.bin
gehidore@gnortra gehidore $

Posted by roberts on Dec. 05 2004,18:14
I have just uploaded dsl-embedded-0.9.0.1.zip.
It has both windows and linux versions of qemu and their associated startup scripts.
This is still to be considered  "preview" as qemu is under heavy development with many changes.

Posted by DImGR on Dec. 06 2004,00:18
does the script run??


unzip dsl-embedded-0.9.0.1.zip -d /home/dimgr/dsl
Archive:  dsl-embedded-0.9.0.1.zip
 inflating: /home/dimgr/dsl/readme.txt
 inflating: /home/dimgr/dsl/SDL.dll
 inflating: /home/dimgr/dsl/vgabios-cirrus.bin
 inflating: /home/dimgr/dsl/vgabios.bin
 inflating: /home/dimgr/dsl/dsl-linux.sh
 inflating: /home/dimgr/dsl/qemu
 inflating: /home/dimgr/dsl/dsl.iso
 inflating: /home/dimgr/dsl/bios.bin
 inflating: /home/dimgr/dsl/dsl-windows.bat
 inflating: /home/dimgr/dsl/harddisk
 inflating: /home/dimgr/dsl/qemu.exe
dimgr@PenguinGR:~$ cd /home/dimgr/dsl
dimgr@PenguinGR:~/dsl$ ls
SDL.dll   dsl-linux.sh     dsl.iso   qemu      readme.txt          vgabios.bin
bios.bin  dsl-windows.bat  harddisk  qemu.exe  vgabios-cirrus.bin
dimgr@PenguinGR:~/dsl$ dsl-linux.sh
bash: dsl-linux.sh: command not found
dimgr@PenguinGR:~/dsl$ sh dsl-linux.sh
dsl-linux.sh: line 2: /home/dimgr/dsl/qemu: Permission denied
dsl-linux.sh: line 2: exec: /home/dimgr/dsl/qemu: cannot execute: Success
dimgr@PenguinGR:~/dsl$ su
Password:
root@PenguinGR:/home/dimgr/dsl# sh dsl-linux.sh
dsl-linux.sh: line 2: /home/dimgr/dsl/qemu: Permission denied
dsl-linux.sh: line 2: exec: /home/dimgr/dsl/qemu: cannot execute: Success

Posted by roberts on Dec. 06 2004,02:37
Of course the script work. However, I can only test on what I have.

1. Booting from a DSL liveCD.
2. Downloading from ibiblio.org
3. md5sum -c dsl-embedded-0.9.0.1.zip.md5.txt
   Be sure it is OK
4. unzip dsl-embedded-0.9.0.1.zip
5. ./dsl-linux.sh

Works fine. DSL running DSL. All permissions downloaded OK. Only possible area is paths. Be sure to "cd" into the directory and if it is not in your path then use ./dsl-linux.sh

Posted by henk1955 on Dec. 06 2004,09:08
i have tried the same thing as DImGR and have the same result.
this "problem" has bin since the first dsl-embed.
it appears the files : dsl-linux.sh and qemu do not have the exe-bit set.
i can be solved easy.
add 1 line to dsl-embed.sh
Code Sample
#/bin/bash
chmod 764
exec ./qemu -L . -hda harddisk -cdrom dsl.iso -boot d -m 256 -enable-audio -user-net -localtime

and call it as: sh ./dsl-linux.sh
or
Code Sample
cd /to_the_dir_you_put_dsl-embed
chmod 764 dsl-linux.sh
chmod 764 qemu

then you call it as: dsl-linux.sh

<edit>
i just remebered.
if you extract to a windows(fat) filesystem. ALL mod-bits are set.
if you extract to a linux (ext2) filesystem NOT all m0d-bits are set
so it is posible roberts and DImGR have different results on testing dsl-embeded.
</edit>

Posted by cbagger01 on Dec. 06 2004,13:24
My guess is that roberts has installed DSL-embedded on a USB drive (FAT file system) while everyone else is trying to install it to a native EXT2 partition on a hard drive or in the RAMdisk.
Posted by DImGR on Dec. 06 2004,15:32
Quote (henk1955 @ Dec. 06 2004,04:08)
i have tried the same thing as DImGR and have the same result.
this "problem" has bin since the first dsl-embed.
it appears the files : dsl-linux.sh and qemu do not have the exe-bit set.
i can be solved easy.
add 1 line to dsl-embed.sh
Code Sample
#/bin/bash
chmod 764
exec ./qemu -L . -hda harddisk -cdrom dsl.iso -boot d -m 256 -enable-audio -user-net -localtime

and call it as: sh ./dsl-linux.sh
or
Code Sample
cd /to_the_dir_you_put_dsl-embed
chmod 764 dsl-linux.sh
chmod 764 qemu

then you call it as: dsl-linux.sh

<edit>
i just remebered.
if you extract to a windows(fat) filesystem. ALL mod-bits are set.
if you extract to a linux (ext2) filesystem NOT all m0d-bits are set
so it is posible roberts and DImGR have different results on testing dsl-embeded.
</edit>

this works and starts dsl BUT the keyboard does not function as it should

i press enter and it prints the letter  T   on screen..

and yes i am running it on a ext3

Posted by roberts on Dec. 06 2004,16:58
Quote
My guess is that roberts has installed DSL-embedded on a USB drive (FAT file system) while everyone else is trying to install it to a native EXT2 partition on a hard drive or in the RAMdisk.


No. Actually, downloaded into /home/dsl the ramdisk. unzip in ramdisk. It is OK.
Second test. download to ext2, unzip into ext2. It is OK.

However, I am using DSL and the unzip program that is in DSL.

Could it be the version of unzip that others are using?

Normally I would not use zip. But lets be real this is primarily for Windows users and that is why I am using zip.

If manually setting the perms is the answer then OK. But I still like to get to the bottom of these kinds of things. Can anyone else verify that running DSL using DSL's unzip works. I know I am exhausted from all the work that when into this release. But honsetly, this morning, I again verified that it works.

Posted by DImGR on Dec. 06 2004,17:14
mine works with unzip on ext3. I followed the instructions 3 posts above this for my problem with the script and it worked with only 1 problem.
the keybord acts crazy.
i press enter it prints T ...

Posted by henk1955 on Dec. 06 2004,19:37
i have:
1. used dsl-0.8.4 emelfm "unzip in other panel" to /ramdisk/home/dsl: OK
2. used dsl-0.9.0.1 emelfm "unzip in other panel" to /ramdisk/home/dsl: OK
3. used dsl-0.8.4-remix emelfm "unzip in other panel" to /ramdisk/home/dsl: exe-bits not set.
so there is no problem with the standard DSL.

some how my enhanced dsl.0.8.4 (using apt-get) unzips the dsl-embed.zip in a different way. it looks like DImGR has simular problem with his debian install.

Posted by DImGR on Dec. 06 2004,19:48
only problem is the way the keybord works

i cant type anythig

Posted by AwPhuch on Dec. 07 2004,06:39
What do you mean?

Brian
AwPhuch

Posted by DImGR on Dec. 08 2004,06:43
Quote (AwPhuch @ Dec. 07 2004,01:39)
What do you mean?

Brian
AwPhuch

i mean that when i hit the enter key , in screen  the letter T prints etc etc
i hit K it prints A ....

Posted by DImGR on Dec. 08 2004,14:46
ok more good news;

i have set up embedded in 2 ways.
first one on my hard drives ext3 and the second way on a usb thumbdrive with a fat partition

when i cd in sda1 then run the script everything works fine.
starting it from my hard drive though gives me problems such as the 1 i said above.

one question though. HOw do exit embedded ? not restart or shut down the machnine just exit it. Also , when i minimized a window i could not find it back !?!

Posted by cbagger01 on Dec. 08 2004,17:33
ALT-TAB should toggle you back to another X-Window if you have a typical window manager installed.

Also, you could type:

CTRL-ALT-2

to get to the QEmu console window.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.