Author Topic: Installing To Sd Ext2  (Read 3944 times)

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
Installing To Sd Ext2
« on: January 18, 2005, 09:00:28 am »
Hi,

I am new to the linux command stuff, but have created ext2 format on my sd card and attempting to install via package manager to /mnt/card. I am not getting any errors with the install but the apps dont come up. I have already done the linking
'ln -s /mnt/card/usr/applications/* /usr/applications' etc as suggested in other topic (pinned RC8 is out) followed by a reboot but nothing happens. I have 96% used up in root (c750) , otherwise I do not know what I am doing wrong. Do  I need anything else on my sd card?

I would really like to get gnumeric running and maybe gimp, perl and so on.

Thanks for any insight.

Mark
----
slc750 pdaxrom kathryn
256 sd card
socket ethernet lan card
3200 from conics.net (switched from sharp to pdaxii13)

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Installing To Sd Ext2
« Reply #1 on: January 18, 2005, 12:15:11 pm »
hmm, I think the problem was that the icons were not present after a reboot.

The problems is that you don't see the applications in the menu or that they don't work at all?

Some apps might not work when installed on SD even formatted in ext2, but you should allways see the icons in the menu...


Can you try the ln-s thing, then use exit in the menu, then restart X, with startx.

When you install an application, stoping and restarting X is enough for the icons to appear in the menu

If this does not work can try to see if you see the .desktop file in /mnt/card/usr/share/applications are in /usr/share/applications
and the .png in /mnt/card/usr/share/pixmaps  in /usr/share/applications.

(in case you have any doubt, can you post the result of ls -al for these directory?)

Can you try to start the applications you have installed on the sd card from a terminal.

One application that I've installed on the sd card and that works is xchat, can you try to install this one to see if it works?
« Last Edit: January 18, 2005, 12:16:52 pm by pgas »
SLC-860 cacko / senao wifi

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
Installing To Sd Ext2
« Reply #2 on: January 18, 2005, 04:16:59 pm »
Quote
If this does not work can try to see if you see the .desktop file in /mnt/card/usr/share/applications are in /usr/share/applications
and the .png in /mnt/card/usr/share/pixmaps  in /usr/share/applications.

Can you try to start the applications you have installed on the sd card from a terminal.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=63036\"][{POST_SNAPBACK}][/a][/div]

[snip]
# pwd
/usr/share/applications

lrwxrwxrwx    1 root     root           48 Jan 17 21:23 firefox.desktop -> /mnt/card/usr/share/applications/firefox.desktop
lrwxrwxrwx    1 root     root           45 Jan 17 20:48 gimp.desktop -> /mnt/card/usr/share/applications/gimp.desktop
lrwxrwxrwx    1 root     root           49 Jan 17 20:54 gnumeric.desktop -> /mnt/card/usr/share/applications/gnumeric.desktop

# cd /mnt/card/usr/share/applications
-rw-r--r--    1 root     root          166 Jan 17 21:22 firefox.desktop
-rw-r--r--    1 root     root         3088 Jan 17 20:47 gimp.desktop
-rw-r--r--    1 root     root         4156 Jan 17 20:54 gnumeric.desktop
[/snip]

pgas, all the files are showing ok in applications and in pixmap. Firefox works but none of the others do. Also VNC is not showing in the menu today but was yesterday!

Could you tell me HOW to run the application from Aterm to test it from the card?

Thanks.

Mark
---
slc750 kathryn
256 sd card
3200 from conics.net (switched from sharp to pdaxii13)

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Installing To Sd Ext2
« Reply #3 on: January 19, 2005, 01:47:42 am »
generally the executable of the application is simply the name of the application,
that is to launch firefox from aterm just type
Code: [Select]
firefox [RET], if you want to be able ot use the aterm afterwards add an & at the end ie
Code: [Select]
gimp & [RET]. This starts the application in the background.

Though as you see the links, if you restart X the icons should appear. Maybe you have one of the sd cards that don't like ext2 format too much.

try to type dmesg in aterm and look if there are some read write errors.

If you format the sd car to fat again, an alternative to formatting the sd card to ext2 is described here in this thread
SLC-860 cacko / senao wifi

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
Installing To Sd Ext2
« Reply #4 on: January 19, 2005, 04:14:34 pm »
Quote
generally the executable of the application is simply the name of the application,
that is to launch firefox from aterm just type
Code: [Select]
firefox [RET],

pgas, I am getting these errors:
gnumeric error while loading shared libraries libgsf-gnome-1.so.1
gimp error while loading shared libraries libgimpwidgets-2.0.so.0

No doubt I need to find these libraries, though I didnt receive errors during package manager.

Cant find how to check vnc either. I think I will reflash and try ext3 maybe on a different sd (current is sandisk 256 but I have integral card too), unless there is an easier way. I would really like to make this rom work as it is very nice (apart from no hwr) but I suppose the lack of memory on the 750 does cause problems. Thanks again for your help.

Mark
-----
slc750 kathryn
256 sd sandisk
socket lp lan cf
1gb microdrive
3200 from conics.net (switched from sharp to pdaxii13)

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
Installing To Sd Ext2
« Reply #5 on: January 19, 2005, 04:32:43 pm »
Quote
pgas, I am getting these errors:
gnumeric error while loading shared libraries libgsf-gnome-1.so.1
gimp error while loading shared libraries libgimpwidgets-2.0.so.0

pgas, I found these libraries in /mnt/card/usr/lib. Do I need to edit a config file of some sort to get the programs to find them in this folder on the sd card?

Thanks.

Mark
-----
slc750 kathryn
256 sd sandisk
socket lp lan cf
1gb microdrive
3200 from conics.net (switched from sharp to pdaxii13)

diesel1

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.diesel1.demon.co.uk
Installing To Sd Ext2
« Reply #6 on: January 19, 2005, 06:28:40 pm »
Hi,
Not sure if this is exactly what you need but take a look...

https://www.oesf.org/forums/index.php?showtopic=9658

Simon.
C860-Zubuntu
DLinkAir660WCF-1Gb/256Mb/64MbIntegralSD-256Mb/64MbIntegralCF

SL5500-OZ3.5.2/OPIE1.1.7

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
Installing To Sd Ext2
« Reply #7 on: January 21, 2005, 08:50:19 am »
Thanks Simon,

After reflashing and reformatting as ext3 and also following your instructions, all the sd apps are working well!

Now all I need to do is work out how to back up in case I have to reflash again - it is time consuming to reinstall everything. otherwise, very impressed with this rom (except lack of hwr) , and will definitely make a donation.

Next challenge is trying debian, once I understand a bit more about linux.

Thanks to all for helping me out.

Mark
-----
slc750
256 integral sd
socket ethernet cf
1gb microdrive
3200 from conics.net (switched from sharp to pdaxii13)