Author Topic: help installing packages on 3.3.6pre1  (Read 2006 times)

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
help installing packages on 3.3.6pre1
« on: August 11, 2004, 10:17:18 am »
All,

I am having a devil of a time installing packages on 3.3.6pre1. The system is a Zaurus 5500 with a fresh re-flash and an SD card. Package installs us space on the / path and run out of space. The result is the Zaurus locks up out of space.

How is the Zaurus set up to force package installls to an SD card?

Is there a step by step howto somewhere?

After the flash how is the SD card configured?

After the flash how are the packages mounted? What path should the Zaurus be in? What are  the commands?

Thanks,
Dan

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
help installing packages on 3.3.6pre1
« Reply #1 on: August 11, 2004, 10:37:38 am »
If you are using the Packages app that comes with OZ then you can tell the app whether to install to root, sd or cf just before you click the Start button. There is a drop down list at the top right of that window (IIRC).

So select the packages, press the green arrow thingy button to get the list of things which are to be installed and then select the destination before pressing start.

That is all that is necessary using the gui.

If you are doing it from the command line do

ipkg -d sd install package-name

Then after installation of everything is complete do

ipkg-link mount /mnt/card

to get the links set up.

If the sd destination isn't already set up there are ways to do that but you shouldn't have to. If you do I'll try and explain that later.

diesel1

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.diesel1.demon.co.uk
help installing packages on 3.3.6pre1
« Reply #2 on: August 11, 2004, 07:19:30 pm »
You must have the SD formatted as ext2.

I then ran this script (found on the web) on a clean flash of the rom, before installing any ipks.

#!/bin/sh
clear
echo removing sdcard dirs if they exist
rm -r /mnt/card/usr
rm -r /mnt/card/root
rm -r /mnt/card/opt
rm -r /mnt/card/home
cd /
echo copying opt
cp -a /opt /mnt/card/opt
echo copying root
cp -a /root /mnt/card/root
echo copying home
cp -a /home /mnt/card/home
echo removing opt
rm -r /opt
echo removing root
rm -r /root
echo removing home
rm -r /home
ln -sf /mnt/card/opt /opt
ln -sf /mnt/card/root /root
ln -sf /mnt/card/home /home
echo rebooting please wait
init 6


The Z will reboot.

You should now have no problem installing ipks to / or /mnt/card.

Simon.
« Last Edit: August 11, 2004, 07:22:21 pm by diesel1 »
C860-Zubuntu
DLinkAir660WCF-1Gb/256Mb/64MbIntegralSD-256Mb/64MbIntegralCF

SL5500-OZ3.5.2/OPIE1.1.7

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
help installing packages on 3.3.6pre1
« Reply #3 on: August 12, 2004, 04:03:05 am »
Note that if you run the above script then your Z won't run without the SD card inserted as you've moved all of Opie (the GUI) to run from the card.

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva