[WEBTOP] GenTop2-20120509 (Beta) - Next Generation Gentoo Webtop Replacement

zosht

New member
Sep 9, 2012
2
0
0
Thank you for your reply. Actually I typed "unmount". I am sorry for the confusion.


Edit:

hey guys, I tried to wipe-out my old WebTop (/osh) before trying to install GenTop2.
Now I could not unmount /preinstall as well but the mke2fs command succeeded.
Unfortunatelly
mount -t ext3 /dev/block/mmcblk0p17 /preinstall
threw an bad arguments error, but after I omitted the
the remainder could be executed.
The main tarball could be unpacked but after the reboot the Atrix does not show the hdmi-menu after plugging in any hdmi cable, so I cannot start the WebTop or even mirror the Display.
 
Last edited:

Frankzor

Senior Member
May 8, 2009
50
12
0
i still think the best way to do it is to mount certain partitions (i prefer of the external sdcard) at boot time to certain directories (for instance i modified my boot.img init.rc so that it mounts the whole /osh/usr to /dev/block/mmcblk1p3 at boot). That way most of the "action" happens on the external sdcard, which spares the internal nand a bit as well and shouldnt be any slower if the card is a decent class 10 card, and i have as much space as i need now. One can do the same but with preinstall and cache actually :) certain symlinks dont work so well with gentop (ive experienced myself) and the mount really has to happen on boot through init.rc , if one is to use the ubuntu.sh file, things dont work.
I'm trying to install gentop to a sdcard. In the init.rc, which lines did you edit in order to mount the entire /osh/usr to a sdcard ? When I look at that file at first glance, the "/osh" part is only written at two instances (in the beginning and in the end...) and doesn't seem to be made to edit... Or if you don't mind, can you attach your modified init.rc so that I could analyse it please?

Don't worry about boot.img unpacking/repacking thing, I know how to to that (I'm running a multi-boot atrix with nottachtrix, cm7, cm9, cm10, simpletop AND ubuntop on a ADATA 32gb class 4 sdcard lol). I already edited "mounted mtd partitions" plenty of times to accomodate my boot partitions for the many delicious ROMs available.
 

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
I'm trying to install gentop to a sdcard. In the init.rc, which lines did you edit in order to mount the entire /osh/usr to a sdcard ? When I look at that file at first glance, the "/osh" part is only written at two instances (in the beginning and in the end...) and doesn't seem to be made to edit... Or if you don't mind, can you attach your modified init.rc so that I could analyse it please?

Don't worry about boot.img unpacking/repacking thing, I know how to to that (I'm running a multi-boot atrix with nottachtrix, cm7, cm9, cm10, simpletop AND ubuntop on a ADATA 32gb class 4 sdcard lol). I already edited "mounted mtd partitions" plenty of times to accomodate my boot partitions for the many delicious ROMs available.
hey, i dont have the boot.img or the init.rc at hand right now, but i can tell you from memory, that you need to add the mount command after the mount /osh command in terms of a pretty simple "mount -t ext4 /dev/block/mmcblk1pX /osh/usr" you need to have the /usr files on that partition already (best bet is to take gendols second/first tarball, not the latest - cuz this one has so many symlinks and pseudomounts and the binary installing stuff, that it just makes it terribly hard).
Do you know how to pull the boot.img from the phone? (i dont know how to, but that way i can give you the boot.img, since i partially mistakenly formatted the pc where i had it done - still have a backup but need to connect that...).
Actually i remembered i can just copy it from the booted phone so ehre is my init.rc https://dl.dropbox.com/u/24268926/init.rc you can than combine it to the kernel with your modifications and tools. Feel free to share your modifications as im interested in it as well.
 
Last edited:

ravilov

Senior Member
Jan 26, 2010
2,219
1,344
0
localhost
Do you know how to pull the boot.img from the phone? (i dont know how to, but that way i can give you the boot.img, since i partially mistakenly formatted the pc where i had it done - still have a backup but need to connect that...).
Quite crude and entirely untested, but this should work. Should be executed in terminal emulator on the phone or via adb shell.
Code:
cd /sdcard
dd if=/dev/block/mmcblk0p11 of=boot.img
 
  • Like
Reactions: Frankzor and crnkoj

ltdanno360

Senior Member
Jun 27, 2011
886
96
0
usa
www.paypal.com
As a full time linux mint 13 Xfce user on my Desktop I would like to Say Thankyou... cause i Too know how Sometimes stubborn it can be to compile packages in Linux
And adding the Complexity of crossplatform Armv7 support
im sure it took Alot of * quality time away from the Family to Build this

thanks Again..:beer:
ltdanno360
 

BlueHillDigger

New member
Sep 11, 2012
2
0
0
Many thanks + partition options + firefox issues

First of all, I want to say thanks . THANKS !! Gendol you made my life much better ! not only is gentop2 much faster than the ubuntu flavor, but also I think the solution gendol proposed is nice. I managed to emerge libreoffice and mplayer, thx.

Second : at first I trieda 3GB partition for /mnt/gentoo, but I ended short of inodes. I had to mkfs.ext3 -j -T small in order to create a partition with enough inodes in order to sustain the huge amount of files of the portage tar.bz2 archive. Note that 3gb is not enough for emerge firefox to run (it needs more space). I ended up with a 8Gb partition.

Third : I have an issue with emerge firefox : It looks like some dependencies related to X11 are inconsistent. Somewhere in this thread it is stated that we should rollback to firefox12. I guess I have to unmerge firefox first and then emerge firefox12. Can someone confirm on this ?

Finally, I wanted to underline that although the initial webtop was almost useless, I am now using my lapdock everyday at work (they shut down internet on us due to some malware propagating quickly)
 

BlueHillDigger

New member
Sep 11, 2012
2
0
0
How to emerge firefox

I solved the following problem by creating symbolic links for libxpcom.so.
I ended up with a sequence of missing library.
For each missing library I used the ldd tool for checking its dependencies and "ln -s" for solving missing path.

At the end of the sequence I ended up with a missing libffi.so.6 which I could emerge.

Sorry for the stupid question :

I did a fresh reinstall of gentop2
after unzipping the portage archive,
I did
Code:
emerge --sync
ermerge -G firefox
And now :

Code:
[email protected] ~ $ firefox
XPCOMGlueLoad error for file /mnt/gentoo/osh/usr/lib/firefox/libxpcom.so:
libxul.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
I am ,new to gentoo, what Am I missing ?

many thanks in advance
 
Last edited:

pyfviperx

Senior Member
Jan 13, 2012
163
21
0
Trois-Rivières
I was finally able to get it running by wiggling my atrix in the dock haha.
Only problem is that AIW doesnt work. When i try manually starting it it gives me an error about 2 missing files.


Envoyé depuis mon SAMSUNG-SGH-T989 avec Tapatalk
 
Last edited:

pyfviperx

Senior Member
Jan 13, 2012
163
21
0
Trois-Rivières
try "emerge -G1 orbit" than try aiw and you should run aiw as the user not as root.
Will try, but when im running as the user midori cant connect to the interwebs... EDIT: Midori can connect to the interwebs when on adas now... weird...

emerge -G1 orbit gives me the following error :
 
Last edited:

CaelanT

Senior Member
Mar 18, 2011
3,356
741
0
Sheffield
You need to go back to the start of the thread and start reading. All your questions/problems were answered many months ago.

Sent from my MB860 using xda premium
 

pyfviperx

Senior Member
Jan 13, 2012
163
21
0
Trois-Rivières
Woah strange, i flashed clemsynn elite kernel and aiw worked right off...
EDIT: Rebooted after adding adas to sudoers and.... its gone. I tried searching the thread and havent found...
EDIT2:Nvm, works fine every boot now.
 
Last edited:

Janh12

New member
Aug 15, 2012
3
0
0
After

Code:
emerge --sync
and

Code:
emerge -ua world
I got this error message

Code:
sh: /lib/libc.so.6: version `GLIBC_2.15' not found (required by sh)
ideas?
 
Last edited:

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
After

Code:
emerge --sync
and

Code:
emerge -ua world
I got this error message

Code:
sh: /lib/libc.so.6: version `GLIBC_2.15' not found (required by sh)
ideas?
libc seems to be missing or of wrong version, i woudl say its the wrong version since your system still works. you might have to manually copy some libc stuff over or whatnot ^ ^
 

Automatisator

Member
Aug 5, 2012
6
0
0
I have a problem with /osh :(

df -i
Code:
Dateisystem           Inodes IBenutzt  IFrei IUse% Eingehängt auf
tmpfs                 104358      332 104026    1% /dev
tmpfs                 104358        1 104357    1% /mnt/asec
tmpfs                 104358        1 104357    1% /mnt/obb
/dev/block/mmcblk0p12  81984     1824  80160    3% /system
/dev/block/mmcblk0p16 131072     3600 127472    3% /data
/dev/block/mmcblk0p15  40960       13  40947    1% /cache
/dev/block/mmcblk0p3     504       38    466    8% /pds
/dev/block/mmcblk0p13  49152    37780  11372   [B][COLOR="Red"]77% /osh[/COLOR][/B]
/dev/block/mmcblk0p17 176704    26298 150406   15% /preinstall
/dev/block/mmcblk1p2  261632   199254  62378   77% /mnt/gentoo
/dev/block/mmcblk0p17 176704    26298 150406   15% /preinstall/var
rc-svcdir             104358       51 104307    1% /osh/lib/rc/init.d
cgroup_root           104358        6 104352    1% /sys/fs/cgroup
shm                   104358        1 104357    1% /dev/shm

df
Code:
Dateisystem           1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
tmpfs                    417432      44    417388    1% /dev
tmpfs                    417432       0    417432    0% /mnt/asec
tmpfs                    417432       0    417432    0% /mnt/obb
/dev/block/mmcblk0p12    317392  285980     31412   91% /system
/dev/block/mmcblk0p16   2064208  180012   1884196    9% /data
/dev/block/mmcblk0p15    645056   16904    628152    3% /cache
/dev/block/mmcblk0p3       1980    1060       920   54% /pds
/dev/block/mmcblk0p13   [B] 774064  753844[/B]         0  [COLOR="red"][B]100% /osh[/B][/COLOR]
/dev/block/mmcblk0p17    331079  140482    190597   43% /preinstall
/dev/block/mmcblk1p2    4118848 1824264   2085356   47% /mnt/gentoo
/dev/block/mmcblk0p17    331079  140482    190597   43% /preinstall/var
rc-svcdir                  1024      60       964    6% /osh/lib/rc/init.d
cgroup_root               10240       0     10240    0% /sys/fs/cgroup
shm                      417432       0    417432    0% /dev/shm
??? :(

how can I fix the problem?