maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Gparted - Hacked from Debian for 2008 OS (https://talk.maemo.org/showthread.php?t=24679)

penguinbait 2008-11-02 22:30

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by heelio (Post 238842)
There's a 2 gig internal and a 16 gig external. Nothing has happened with the 16 gig, ever.

The install-tools-ad is what I am running. When I ran it the first time (on each 2 gig card) it gave an error some time after that "starting filesystem clone" message appears 3 times. This error suggested my ejecting the card due to some inability to write or something. Re-inserting the card and re-running the program resulted in it running all the way through. Sorry if all this was not clear.

You should run the install, (no matter what happen, reboot)

Now run the install again

Do not eject the card

qole 2008-11-02 23:04

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by penguinbait (Post 238802)
As I said a few posts back, I see the conflict with e2fsprogs is still there. You have to remove e2fsprogs, or force install on the command line. I will update the deb, I was in a hurry and missed the locale stuff last time.

I will update when I get some time. Any other issues let me know, it appears to be working great.

I'm sorry... I'm kinda blind, obviously...

There's a .conf file as well... see the last item below.

Code:

dpkg --force-overwrite -i gparted-hack.deb
(Reading database ... 19253 files and directories currently installed.)
Unpacking gparted-hack (from gparted-hack.deb) ...
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/share/locale/cs/LC_MESSAGES/e2fsprogs.mo', which is also in package e2fsprogs
...snip....
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/share/locale/es/LC_MESSAGES/e2fsprogs.mo', which is also in package e2fsprogs
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/etc/mke2fs.conf', which is also in package e2fsprogs


penguinbait 2008-11-02 23:48

Re: Gparted - Hacked from Debian for 2008 OS
 
I updated it, see if that fixes it for you

heelio 2008-11-03 00:16

Re: Gparted - Hacked from Debian for 2008 OS
 
I'm gonna sign off here with a note to penguinbait - thanks for hanging around helping. Finally I re-flashed my tablet, and ran the thing twice and it works like it was supposed to. Very impressive. I'm gonna clone it to the other 2 gig card also (while it's working) and I have NO idea what was preventing it from working earlier.

qole 2008-11-03 01:53

Re: Gparted - Hacked from Debian for 2008 OS
 
I tried running the version I force-installed, and, when trying to resize an ext2 partition, it stalls trying to check the partition for errors. This doesn't happen in Debian. There were file system errors in that partition...

EDIT: Something DID happen, the partition was shrunk, but it took waaay too long (2 hrs) and it was still going...

penguinbait 2008-11-03 02:13

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by qole (Post 238908)
I tried running the version I force-installed, and, when trying to resize an ext2 partition, it stalls trying to check the partition for errors. This doesn't happen in Debian. There were file system errors in that partition...

I resized several partitions so far. Not sure what the problem is. depending on how you resize it it may take a while.

Did it error out? All the failures I had all ended in errors and it allowed me to save the error log.

Did you save the error log? if so what did it say?

heelio 2008-11-03 20:44

Re: Gparted - Hacked from Debian for 2008 OS
 
Hey,turned out I didn't have to ew-clone the other card- it was working, it was just that the boot menu wasn't. So I had two (dual/tri) bootable cards all along, just a messed up bootmenu.

penguinbait 2008-11-04 04:19

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by penguinbait (Post 238911)
I resized several partitions so far. Not sure what the problem is. depending on how you resize it it may take a while.

Did it error out? All the failures I had all ended in errors and it allowed me to save the error log.

Did you save the error log? if so what did it say?

qole? hola, ¿Como estas?

qole 2008-11-04 07:00

Re: Gparted - Hacked from Debian for 2008 OS
 
... yeah, I dunno, I went back to my Debian version and did my work there...

It seemed like a good idea at the time, but I don't understand why Nokia made it so hard to port apps to the tablet. Under EasyDebian, GParted has nice small fonts, tap-and-hold right-click, pop-up keyboard, and full-screen. Under Maemo, the fonts are so huge that the layout is mashed up and kludgy, and most users aren't going to have the Easy Debian usability hacks, so they won't have any way to right-click, pull up a virtual keyboard or make the app fullscreen. I am really beginning to see why devs are so loathe to "hildonize" their apps. What a lot of frustrating work!

Anyway, thanks for your effort, penguinbait. If you think this port/hack is worth it (and I'm just being too cynical), I'll try beta-testing some more.

qole 2008-11-04 07:22

Re: Gparted - Hacked from Debian for 2008 OS
 
Hm, that's got me thinking.

Maybe what we need is a small set of hacks that force-hildonize any app, just like I do for Easy Debian. We would need xbindkeys (for setting up the hardware key combos), wmctrl (for making things fullscreen) and matchbox-keyboard for us N800 owners. I'm also interested in seeing if libgtkstylus.so can be made to work in Maemo; if so, tap-and-hold right-click will automatically work for all GTK apps.

penguinbait 2008-11-04 15:17

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by qole (Post 239207)
... yeah, I dunno, I went back to my Debian version and did my work there...

It seemed like a good idea at the time, but I don't understand why Nokia made it so hard to port apps to the tablet. Under EasyDebian, GParted has nice small fonts, tap-and-hold right-click, pop-up keyboard, and full-screen. Under Maemo, the fonts are so huge that the layout is mashed up and kludgy, and most users aren't going to have the Easy Debian usability hacks, so they won't have any way to right-click, pull up a virtual keyboard or make the app fullscreen. I am really beginning to see why devs are so loathe to "hildonize" their apps. What a lot of frustrating work!

Anyway, thanks for your effort, penguinbait. If you think this port/hack is worth it (and I'm just being too cynical), I'll try beta-testing some more.

Mine shows up with small fonts and works very well????

penguinbait 2008-11-04 15:38

Re: Gparted - Hacked from Debian for 2008 OS
 
This is your picture, but this is what it looks like when I run it????

http://farm4.static.flickr.com/3026/...4752d6.jpg?v=0

qole 2008-11-04 17:47

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by penguinbait (Post 239293)
This is your picture, but what it -ooks likke when I rub it????

Um, what did you say?

penguinbait 2008-11-04 17:59

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by qole (Post 239323)
Um, what did you say?


This is your picture, but this is what it looks like when I run it????

Uh, um, I, a oh, hmmm :D:D:D:D

qole 2008-11-04 18:06

Re: Gparted - Hacked from Debian for 2008 OS
 
That is very interesting, since it didn't look like that when I installed it in Maemo. It had the big clunky Maemo fonts... I have freshly flashed my tablet, I'll install again and we'll see.

qole 2008-11-04 22:55

Re: Gparted - Hacked from Debian for 2008 OS
 
Very interesting. Installed it again on a nice clean reflash, and it looks correct; all the fonts are small this time.

A problem, however: All of my ext2 partitions have "!" beside them, and when I get details, it says:

! WARNING:

e2label: error while loading shared libraries: libext2fs.so
open shared object file: No such file or directory

penguinbait 2008-11-04 23:24

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by qole (Post 239405)
Very interesting. Installed it again on a nice clean reflash, and it looks correct; all the fonts are small this time.

A problem, however: All of my ext2 partitions have "!" beside them, and when I get details, it says:

! WARNING:

e2label: error while loading shared libraries: libext2fs.so
open shared object file: No such file or directory

Where do you see the "!" I do not have labels, I labeled my partition, but I see no problem.

If I open xterm and run

export LD_LIBRARY_PATH="/usr/GPARTED/lib:$LD_LIBRARY_PATH"
export PATH="/usr/GPARTED/bin:$PATH"
e2lable

it works fine.




Set Partition Label "qole" on /dev/mmcblk0p4 00:00:03 ( SUCCESS )

calibrate /dev/mmcblk0p4 00:00:01 ( SUCCESS )

path: /dev/mmcblk0p4
start: 3646755
end: 3919859
size: 273105 (133.35 MiB)
Set partition label to "qole" on /dev/mmcblk0p4 00:00:01 ( SUCCESS )

e2label /dev/mmcblk0p4 "qole"

penguinbait 2008-11-04 23:31

Re: Gparted - Hacked from Debian for 2008 OS
 
Qole, try installing e2fsprogs, see if that fixes your issue

qole 2008-11-05 00:10

Re: Gparted - Hacked from Debian for 2008 OS
 
First I couldn't find e2fsprogs. Turns out they are in Chinook repository, not Diablo.

I removed gparted-hack, with the thought that I'd install e2fsprogs first, then I changed my mind and decided I wanted to have gparted-hack installed, just to see what happened when I tried to install e2fsprogs after gparted-hack.

That's when I found that my mmc cards were no longer visible! I must have to reboot to see them again....?

So I downloaded the .deb again, this time into my Documents folder, and installed it.

Then I added the Chinook repository and installed e2fsprogs.

Ran Gparted. Usual error (with maemo gparted only) about memory card being corrupted.

Hooray, all ! are gone. That was it; I didn't have e2fsprogs installed. Add that to dependencies.

EDIT: Why can't my tablet find e2fsprogs for diablo, when it is right here? Why does it not show up until I add chinook?

EDIT2: Aha, it ISN'T there, only the diff.gz and .dsc files are there, no .deb!

penguinbait 2008-11-05 14:14

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by qole (Post 239420)
First I couldn't find e2fsprogs. Turns out they are in Chinook repository, not Diablo.

I removed gparted-hack, with the thought that I'd install e2fsprogs first, then I changed my mind and decided I wanted to have gparted-hack installed, just to see what happened when I tried to install e2fsprogs after gparted-hack.

That's when I found that my mmc cards were no longer visible! I must have to reboot to see them again....?

So I downloaded the .deb again, this time into my Documents folder, and installed it.

Then I added the Chinook repository and installed e2fsprogs.

Ran Gparted. Usual error (with maemo gparted only) about memory card being corrupted.

Hooray, all ! are gone. That was it; I didn't have e2fsprogs installed. Add that to dependencies.

EDIT: Why can't my tablet find e2fsprogs for diablo, when it is right here? Why does it not show up until I add chinook?

EDIT2: Aha, it ISN'T there, only the diff.gz and .dsc files are there, no .deb!

OK, I will update the deb again to fix the e2fsprogs isssue again. Its always something. So its working well now? Let me know if you have any other issues...

Are your cards available after running gparted? They should remount when its complete..

qole 2008-11-05 18:37

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by penguinbait (Post 239518)
OK, I will update the deb again to fix the e2fsprogs isssue again. Its always something. So its working well now? Let me know if you have any other issues...

Are your cards available after running gparted? They should remount when its complete..

Looks like it is working well now.

The cards appear to remount after running GParted. Not sure why they didn't do so before.

Please, could you change the menu item to simply "GParted" or "Partition Editor" or something? "GParted Hacked for Qole" is not my favorite menu item name... :)

penguinbait 2008-11-05 18:44

Re: Gparted - Hacked from Debian for 2008 OS
 
Quote:

Originally Posted by qole (Post 239603)
Looks like it is working well now.

The cards appear to remount after running GParted. Not sure why they didn't do so before.

Please, could you change the menu item to simply "GParted" or "Partition Editor" or something? "GParted Hacked for Qole" is not my favorite menu item name... :)

I didn't like "partition editor" so I went with "GParted Hacked for Qole"

I suppose I can change it next time I go in there, but who knows what it might say when I am done :)

penguinbait 2008-11-16 18:12

Re: Gparted - Hacked from Debian for 2008 OS
 
I updated the deb so e2fsprogs does not need to be installed. You can install gparted-hack on fresh flash with no pre-req's. I also updated the menu name "Partition Editor"

Enjoy, its working great

daperezg 2010-09-16 13:47

Re: Gparted - Hacked from Debian for 2008 OS
 
My positive feedback about the gparted for maemo.
Partition Editor on the menu, worked correctly to copy and resize 2 partitions on a 4Gb SD(fat32+ext3) to 8GB SD. :)

hordeman 2010-09-17 18:37

Re: Gparted - Hacked from Debian for 2008 OS
 
This program is magical. It allowed me to reconfigure my bro's flash drive with my n810 when his vista laptop couldn't. :)

JustNick 2011-04-15 21:08

Re: Gparted - Hacked from Debian for 2008 OS
 
Haven't been around for so long...
After some time my N800 was left in the drawer to "rest" I realized I needed it again (no need to spend money for a new e-reader I say :D)
The system was an ugly mess due to my last fiddling with the device, so I decided to reflash it with latest official firmware and updated to the stable branch of community SSU... piece of cake :)
Unfortunately all that glitters is not gold...
I used to have my N800 booting from SD, but console-tools won't work with CSSU... wanted to use gparted (I remember it worked pretty good and was way easier to use than command line to get the right sized partitions) but it cannot see any of the 2 16Gb SD cards...
I'm feeling so depressed... why everything that worked is now pretty much useless? Can somebody give me some help?
Thanks a lot :)

Update: reflashed again, Gparted works with plain diablo, CSSU (5.2010-33.1) makes devices invisible to it... :confused:


All times are GMT. The time now is 16:02.

vBulletin® Version 3.8.8