Author Topic: Sl5600, Root Too Small, Hpw To Expand It?  (Read 4517 times)

wenlez

  • Newbie
  • *
  • Posts: 18
    • View Profile
Sl5600, Root Too Small, Hpw To Expand It?
« on: September 27, 2005, 05:28:20 pm »
hi, i just bought a Zaurus SL5600, and install OZ3.5.3 with OPIE1.2
there is only 3086KB left in the root (where i install programs), and it's just not enough!
i tried to install programs in the home folder(has 34000KB for storage), which causing linking problems, and programs will never works.

does anyone know how to expand the root space? i mean, i don't even need that home to be 32mb. if i can get the root to 60MB would be great! do a partition expand? how?>

or how to solve the link problems?  

sorry, i am really new to zaurus, and i can't get the programs work.


[span style=\'font-size:14pt;line-height:100%\']thanks![/span]
« Last Edit: September 28, 2005, 05:50:37 am by Hrw »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Sl5600, Root Too Small, Hpw To Expand It?
« Reply #1 on: September 27, 2005, 05:45:40 pm »
What does /etc/ipkg.conf contain? Is there a line along the lines of:

dest blah /home/user

Please post the contents of this file (just any lines starting 'dest' will do).

It is possible to install stuff to the /home partition, but you need to know what it's called in ipkg.conf, then install there using the -d switch for ipkg.

For the dest line I gave (called blah), one would do the following:

ipkg install -d blah somepackage.ipk

Then run ipkg-link to create the symlinks like so:

ipkg-link mount /home/user


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

wenlez

  • Newbie
  • *
  • Posts: 18
    • View Profile
Sl5600, Root Too Small, Hpw To Expand It?
« Reply #2 on: September 29, 2005, 02:44:45 pm »
Quote
What does /etc/ipkg.conf contain? Is there a line along the lines of:

dest blah /home/user

Please post the contents of this file (just any lines starting 'dest' will do).

It is possible to install stuff to the /home partition, but you need to know what it's called in ipkg.conf, then install there using the -d switch for ipkg.

For the dest line I gave (called blah), one would do the following:

ipkg install -d blah somepackage.ipk

Then run ipkg-link to create the symlinks like so:

ipkg-link mount /home/user


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=97291\"][{POST_SNAPBACK}][/a][/div]


wow, this is so.... complicated, i think i can do it. i'mma try this weekend. thanks first

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Sl5600, Root Too Small, Hpw To Expand It?
« Reply #3 on: September 29, 2005, 04:22:47 pm »
Quote
wow, this is so.... complicated, i think i can do it. i'mma try this weekend. thanks first

No problem, drop me a line (PM/email/etc.) if you need any help.


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

wenlez

  • Newbie
  • *
  • Posts: 18
    • View Profile
Sl5600, Root Too Small, Hpw To Expand It?
« Reply #4 on: October 16, 2005, 02:17:19 pm »
ok, my ipkg.conf contains the following lines:

# Generated by Opie Package Manager

arch all 1
arch any 6
arch noarch 11
arch arm 16
arch all 21
arch arm 26
arch armv4 31
arch armv5te 36
arch poodle 41
arch poodle 46
#src <src-name> <source-url>
dest root2 /home/root
#option http_proxy http://proxy.tld:3128
#option ftp_proxy http://proxy.tld:3128
#option proxy_username <username>
#option proxy_password <password>
#option offline_root target
src/gz upgrades http://openzaurus.org/official/unstable/3.5.3/upgrades/
src/gz base http://openzaurus.org/official/unstable/3.5.3/feed/base/
src/gz libs http://openzaurus.org/official/unstable/3.5.3/feed/libs/
src/gz console http://openzaurus.org/official/unstable/3.5.3/feed/console
src/gz devel http://openzaurus.org/official/unstable/3.5.3/feed/devel
src/gz opie http://openzaurus.org/official/unstable/3.5.3/feed/opie
dest root /
lists_dir name /media/card


i set the home space(32mb) as my root2, and when i install from feed, i choose root2 instead of the roo(regular,3mb left root)
but i always get the link problem and stuff i install won't run.

thank you so much for helping me. i really appreciate this.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Sl5600, Root Too Small, Hpw To Expand It?
« Reply #5 on: October 17, 2005, 05:44:48 am »
You have the line:

dest root2 /home/root

which is what I was looking for.

So you can use ipkg like so:

ipkg install -d root2 <packagename>

and ipkg-link like so:

ipkg-link mount /home/root


Si
« Last Edit: October 17, 2005, 05:46:12 am by lardman »
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

wenlez

  • Newbie
  • *
  • Posts: 18
    • View Profile
Sl5600, Root Too Small, Hpw To Expand It?
« Reply #6 on: October 22, 2005, 06:49:29 pm »
so i have to use console to install package?

i don't unerstand....

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Sl5600, Root Too Small, Hpw To Expand It?
« Reply #7 on: October 22, 2005, 07:15:04 pm »
You don't have to use the console, but there is a memory leak in the gui package manager so you may be better off using the console. It's all very simple really, promise

If you want to use the gui package manager, then just make sure you choose root2 as the destination for the packages (I'm afraid I can't help you much with this bit as I use GPE and I use the command line too). I think that the gui package manager will create the links automatically when you exit it (but as I said, I don't use it, sorry).

I'd use the command line:

ipkg install -d root2 somepackagenamehere

then

ipkg-link add somepackagenamehere

to create the symlinks so it can be used.


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