Language and disk writing permission


Forum: DSL Embedded
Topic: Language and disk writing permission
started by: MikeNavy

Posted by MikeNavy on Aug. 17 2005,08:43
Hello,
I am running dsl 1.4 embedded under Windows XP home sp2 with Qemu (I have used both 7.0 and 7.1.3 versions of qemu, with the same problems).
- Language:
I am unable to change language (I would like French keyboard), DSL boots automatically without letting possibility to use F2 and type "dsl lang=fr"
- Disk writing permission:
Though I have mounted the mnt/hdb disk (and checked it was mounted), I can read it but not write anything in it "permission denied"; I have tried then to make a dir in it with sudo, but I have been asked a password; typing "Enter" (no password) or "dsl" as password didn't give any result.

Does anyone have a solution?

Posted by mstrhelix on Aug. 17 2005,17:47
Ok first you need to open the dsl-windows.bat file and put lang=fr in it after append... This is where you can add boot options.

-append "qemu sb=0x220,5,1,1 frugal lang=fr quiet"

I don't know why you are having problems writing to /dev/hdb because I have the same exact setup as you and i can write to hdb without any problems... can you backup/restore to hdb?

Posted by mstrhelix on Aug. 17 2005,17:48
Oh yeah this may not be it but you should check the permissions of /mnt/hdb to see what they are via

ls -la /mnt/hdb

you may need to be root .

Posted by MikeNavy on Aug. 18 2005,11:40
Thank you for your help.

Language: I will try what you say; I did succeed in changing language by launching dsl with qemu from an iso image (in that case I am offered all boot options).

Disk writing permissions (writing on "harddisk" image given with del-embedded): the write permissions are enabled for "user" and disabled for the two other cases in the "file manager" emfl... something, and not possible to change them within emfl... (permission denied). I apparently succeeded in becoming root in the X terminal, but I don't know how to change permissions in X (I am more used to Windows than Linux...).

Note that I was surprised to be able to surf the web from within dsl / qemu / windows xp; apparently, If I am connected to the web before to launch qemu, qemu automatically adopts my computer IP address and then connects itself to the web through windows when it is requested by Firefox (it is what my firewall says). And I am seen from the web as running Linux!

Now I just try to save somewhere the files created when under dsl, in a disk / image where I could open them within windows.

Mike Navy

Posted by MikeNavy on Aug. 18 2005,18:09
I finally solved the disk writing permission problem. You need to be root!
- mount hdb disk,
- Launch X Terminal, then sudo su, Enter (no password requested),
- under bash, in root, launch emelfm
- within emelfm change mnt/hdb permissions, allow write
- close emelfm
- under bash, launch firefox
You can now save files from firefox in mnt/hdb!

MikeNavy

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