OESF Portables Forum
General Forums => General Discussion => Topic started by: mr_clark on September 22, 2004, 12:26:29 am
-
I'm running OZ 3.3.5 and I read somewhere that you can install apps on the CF or SD cards but I can't seem to figure out what to do. Are there any How-tos on how to do this?
-
I'm not sure on this, so I hope someone will come in and correct me if I'm not, but I just installed OZ yesterday, and it looks like you'd want to setup a destination in the packet manager. Open that up, go to (may not be the exact wording) Action --> Configuration, click on the Destination tab, and create a new destination. Label it whatever you want (sd, cf, etc) and make it /mnt/card or /mnt/cf and I think that'll do it. I'm not sure if you'll need to "select" the destination before you install or if it'll ask when you install, but give that a shot.
-
Or from the command line:
check that /etc/ipkg.conf contains the lines (the important bit is the /mnt/*, the bit before it just gives the name which can be passed to ipkg using the -d flag):
dest sd /mnt/card
dest cf /mnt/cf
Then do:
ipkg install -d sd package_name.ipk
ipkg install -d cf package_name.ipk
etc.
Si
-
Okay I've tried this with a couple of packages and keep getting the following error:
# ipgk install -d sd ice_bloxx_1.0.0_arm.ipk
postinst script returned status 2
ERROR: fbvncserver.postinst returned 2
I received the same error when trying to install zsafe.
My sd card is formatted as VFAT. Is that a problem. I did read somewhere about how you used to have the cars formatted ext2 or ext3 because of the symlinks it creates. But I thought that was fixed in later ROMs?
Thanks for your help.
-
postinst script returned status 2
Out on a limb here...
I have a feeling that this is because in the postinst script (Which you'll find somewhere under /mnt/card/usr/lib/ipkg) the script is called using bash, and OZ doesn't have bash, only sh. A quick fix is to create a symlink like so:
ln -s /bin/sh /bin/bash
See whether that fixes it.
Si
-
Nope. tried that and have the same issue.
I tried installing zsafe and ice_bloxx and a couple of other programs and get the same error.
Any suggestions?
-
OZ doesn't have bash????!?! Good god!
-
OZ doesn't have bash????!?! Good god!
I think it has ash? Something like that, seems to do much the same job, but probably cut down to save weight.
Nope. tried that and have the same issue.
I tried installing zsafe and ice_bloxx and a couple of other programs and get the same error.
Any suggestions?
Take a look in the postinst file (e.g. fbvncserver.postinst), they will be somewhere under:
/mnt/card/usr/lib/ipkg/
(for you as you installed to sd, for other mount points change accordingly).
See whether you can spot the problem. If not post the scripts here and I'll see whether I can spot anything.
Si
-
I can't find a postinst file anywhere.
What am I doing wrong? Its very strange.
One other problem I'm having is reformatting my 64MB SD card. I try a 'mkfs.ext2 /dev/mmcda1' and it seems to work just fine but when I go to remount the SD Card it shows up as still formatted VFAT. I even tried manually doing a 'mount -t ext2 /dev....' but then it says its the wrong file format.
Slightly off topic here (but I want to try different things here and maybe get something that works) What ROMs do people recommend for the SL-5000D?
I was thinking of trying the ROM from Thekompany.
-
# ipgk install -d sd ice_bloxx_1.0.0_arm.ipk
postinst script returned status 2
ERROR: fbvncserver.postinst returned 2
I'd not noticed that the package you are installing and the error come from different packages.
Have you tried 'ipkg remove fbvncserver' before the installation (to get rid of the error)?
Slightly off topic here (but I want to try different things here and maybe get something that works) What ROMs do people recommend for the SL-5000D?
I was thinking of trying the ROM from Thekompany.
Each to their own; I'd stick with OZ if I were you (but I'm biased of course).
One other problem I'm having is reformatting my 64MB SD card. I try a 'mkfs.ext2 /dev/mmcda1' and it seems to work just fine but when I go to remount the SD Card it shows up as still formatted VFAT. I even tried manually doing a 'mount -t ext2 /dev....' but then it says its the wrong file format.
That's odd; two possibilities :- your mkfs isn't working or you need to use fdisk to change the partition type flag. Not sure.
Si
-
Your solution worked. I uninstalled the fbvncserver ipkg and now I can install other software without a problem.
Is there another good VNC server available for my zaurus 5000D? I really liked fbvncserver with the view of the full unit.