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)
-   -   Management Tools (install-tools gui edition) v1 (https://talk.maemo.org/showthread.php?t=25140)

penguinbait 2008-11-23 17:05

Management Tools (install-tools gui edition) v1
 
NOT FOR USE ON 43-7 or above - NO LONGER BEING UPDATED may work has not been tested, no longer being updated


I have put together a set of scripts with gui menus to clone and backup/restore Flash and SD partitions. (Note I have only tested this on 2008 Firmware 36-5 on an 810, please report any issues)


Please be patient, some menus may take 30-60 seconds to reappear depending on the number of partitions available.

Clone
Allows you to clone from SD/Flash/USB Disk to SD/Flash/USB Disk

Remove
Allows you to mount another bootable partition and remove a install package via dpkg. Great for recovery after installing something you shouldn't have.

Bootmenu
  • Install
    Allows you to pick from a list of ext2/ext3 partitions, and allows you to set timeout from 0-60 seconds
  • Upgrade
    Downloads initfs_flasher.tgz from Fanoush website and extracts it for use. Hopefully this will save me work when the next version comes out.
  • Boot
    Set default boot device
  • FSCK-ON
    Enable Filesystem checking when you boot to flash and play a wav when complete (will fsck all ext2/3 partitions) (DEFAULT IS DISABLED)
  • FSCK-OFF
    Disable Filesystem checking when you boot to flash (if you have enabled it)



Backup

Allows you to backup from SD/Flash/USB Disk to SD/Flash/USB Disk

Restore
Allows you to restore from SD/Flash/USB Disk to SD/Flash/USB Disk

Swap
Select partition to enable swap on, and select which swap device to use.
(If booting from mmcblk0 I put swap on mmcblk1 and vice verse)

USB

Toggle USB support HOST/OTG and Check its status




NOTE THESE TAKE UP ABOUT 22MB FROM FLASH
(About 35MB on boot from SD) (Be sure you have enough free space to install them) Sorry its kinda big, but its worth it.


PREREQ
MUST HAVE GPARTED-HACK INSTALLED
gparted is used to partition the SD/USB Disk
http://penguinbait.com/gparted-hack.deb
http://tablethacker.com/software/gparted-hack.deb
Note gparted can not partition ANY sd cards if you are booted to an SD. It can still partition external disk though.

INSTALL MGMT-TOOLS
http://penguinbait.com/mgmt-tools.deb
http://tablethacker.com/software/mgmt-tools.deb


Please take backups of anything important before doing anything crazy. As long as you have a tar backup from mgmt-tools you can recover.

Also No booting from USB disk yet, maybe some day. This could be rewritten and cleaned up a lot more, but it works and if I don't release I will be playing forever. I can easily add more functionality with just more scripting in the future. I am looking forward to the comments??? This represents a weeks work of all my spare time, and a pissed off wife ;) Hope you enjoy it..

Please let me know about any bugs or problems??

http://penguinbait.com/mgmt-tools.png

PS, I accept thanks below, or cash donations at my website :D





------------------------------------------------------------
Additional possibly usefull inforamtion (based on questions from lm2)
------------------------------------------------------------
#1 In order to clone or restore, the filesystem you are overwriting must exist. Use gparted (Partition editor) to create your filesystems. My menus will allow you to format them, but they must exist prior to running mgmt-tools. There is no one step process. Use gparted to create filesystems, preferrably #1 FAT , #2 ext2 or 3, #3 then perhaps a swap partition. My tools allow you to have many partitions on one SD card. You could have 6 bootable images from 1 SD card easily. Once the clone is complete then you must install bootmenu.
I know its not a 1 button push, but its 10000% more reliable and very configurable. (no more reboot and pray :) )

Partitioning rules
Always make first partition on card FAT (any size), this is the filesystem that is seen by maemo (internal and external SD) /media/mmc1 and media/mmc2
I try to place my swap partiton on the opposite card if possible, not the card I will be booting from saves on I/O contention


#2 you can always click close or ok as soon as they appear. Just NEVER click cancel unless you want to abort. If you click ok and its not done nothing will happen.



Additional Info---------------

FAT is the filesystem type used by default on SD cards, in order to boot from them you need an ext2 or ext3 partition.

ext2 and ext3 are linux filesystems and are required for booting from SD

SWAP partiton is needed to use swap or virtual memory can be used. ("Virtual Memeory" Try to enable it on the card your not booting from, and remember this will sit on the FAT partiton so make sure its big enough for your virtual memory)

jffs2 This is the partition used by Flash. This will always be jffs2.

You can clone directly from jffs2 to ext2/3 and from ext2/3 to jffs2
flash device shows up as /dev/mtdblock4

SD cards show up as
/dev/mmcblk0 (Base card)
/dev/mmcblk0p1 (p1 is the first partition and should be FAT)
/dev/mmcblk0p2 (would be your first ext2/3 partition) and depending on how many partitions it could go from mmcblk0p1-7

These are the internal and external SD cards
mmcblk0
and
mmcblk1

silvermain 2008-11-23 20:02

Re: Management Tools (install-tools gui edition) v1
 
I've tried to install the mgmt-tools after installing gparted-hack and the app manager keeps saying unable to install. Will try dpkg next.

Edit: tried dpkg and still failed. here is the log

Nokia-N810-36-5:/media/mmc1/Downloads/Debs# dpkg -i mgmt-tools.deb
(Reading database ... 21701 files and directories currently installed.)
Unpacking mgmt-tools (from mgmt-tools.deb) ...
dpkg: error processing mgmt-tools.deb (--install):
trying to overwrite `/usr/lib/libcrypto.so.0.9.7', which is also in package libssl0.9.7
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
mgmt-tools.deb

penguinbait 2008-11-23 20:08

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by silvermain (Post 244066)
I've tried to install the mgmt-tools after installing gparted-hack and the app manager keeps saying unable to install. Will try dpkg next.

Can you tell me what log says.

lm2 2008-11-23 20:11

Re: Management Tools (install-tools gui edition) v1
 
Same here:

Code:

Nokia-N800-23-14:/media/mmc1# dpkg -i mgmt-tools.deb

(Reading database ... 19898 files and directories currently installed.)

Unpacking mgmt-tools (from mgmt-tools.deb) ...

dpkg: error processing mgmt-tools.deb (--install):

trying to overwrite `/usr/lib/libcrypto.so.0.9.7', which is also in package libssl0.9.7

dpkg-deb: subprocess paste killed by signal (Broken pipe)

Errors were encountered while processing:

mgmt-tools.deb

Nokia-N800-23-14:/media/mmc1#


penguinbait 2008-11-23 20:14

Re: Management Tools (install-tools gui edition) v1
 
I am on it, I will fix the conflict, give me 10 minutes

penguinbait 2008-11-23 20:33

Re: Management Tools (install-tools gui edition) v1
 
It has been updated, download it again as of NOW and try again!!!

lm2 2008-11-24 00:57

Re: Management Tools (install-tools gui edition) v1
 
Code:

Nokia-N800-23-14:/home/user/MyDocs# dpkg -i mgmt-to ols.deb
tar: ./postinst: time stamp 2008-11-23 20:22:14 is 1853.820831299 s in the future
tar: ./md5sums: time stamp 2008-11-23 20:21:24 is 1 803.817810059 s in the future
tar: ./postinst~: time stamp 2008-11-23 20:19:58 is  1717.816009522 s in the future
tar: ./control: time stamp 2008-11-23 20:20:38 is 1 757.81451416 s in the future
tar: .: time stamp 2008-11-23 20:22:14 is 1853.8131 71387 s in the future
(Reading database ... 19898 files and directories c urrently installed.)
Unpacking mgmt-tools (from mgmt-tools.deb) ...
dpkg: error processing mgmt-tools.deb (--install):
 trying to overwrite `/usr/share/locale/sl/LC_MESSA GES/gail.mo', which is also in package libgail18
dpkg-deb: subprocess paste killed by signal (Broken  pipe)
Errors were encountered while processing:
 mgmt-tools.deb
Nokia-N800-23-14:/home/user/MyDocs#


penguinbait 2008-11-24 01:43

Re: Management Tools (install-tools gui edition) v1
 
fixed libgail conflicts, please try again...

cgdel 2008-11-24 03:32

Re: Management Tools (install-tools gui edition) v1
 
Managed to install with application manager without any problem.
You said you only tested it for OS2008.
I'm running on OS2007 and I get an error about the libpangocairo being missing.
Since I don't have any usb connection, I suppose there's nothing I can do about that, is there?

lm2 2008-11-24 03:57

Re: Management Tools (install-tools gui edition) v1
 
success!!!!

penguinbait 2008-11-24 04:01

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by cgdel (Post 244147)
Managed to install with application manager without any problem.
You said you only tested it for OS2008.
I'm running on OS2007 and I get an error about the libpangocairo being missing.
Since I don't have any usb connection, I suppose there's nothing I can do about that, is there?



Well try this??

Here is the libpangocairo files included with 2008OS

http://penguinbait.com/libpc.tar

open xterm

sudo su -

cd /

tar xvf /path/to/libpc.tar

lemme know?

penguinbait 2008-11-24 04:05

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by lm2 (Post 244154)
success!!!!

Cool, now let me know what you think or if you have any other problems....

silvermain 2008-11-24 05:19

Re: Management Tools (install-tools gui edition) v1
 
In the remove file selector if you could include all then we would be able to scan through all of the files and do multi selections insteand of having to go letter by letter.
Other than that when we do recovery would it be possible to chose which files we want to bring back instead of having to do the whole image.
Thanks for the great work.

lm2 2008-11-24 05:42

Re: Management Tools (install-tools gui edition) v1
 
Ok. Got n800, normally booting from internal sd. Now booting from flash w/ management tools installed. How to know what to backup for complete sd-boot backup? Which partitions? jffs2? ext2? (I'm not good enough w/ linux yet to know where to begin....)

gbgb 2008-11-24 12:02

Re: Management Tools (install-tools gui edition) v1
 
When installing mgmt-tools on diablo I get the following conflict:

dpkg: error processing mgmt-tools.deb (--install):
trying to overwrite '/usr/lib/libmagic.so.1.0.0', which is also in package libmagic1

I think the midnight commander package depends on libmagic1.

penguinbait 2008-11-24 12:02

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by silvermain (Post 244172)
In the remove file selector if you could include all then we would be able to scan through all of the files and do multi selections insteand of having to go letter by letter.
Other than that when we do recovery would it be possible to chose which files we want to bring back instead of having to do the whole image.
Thanks for the great work.

#1
The application won't accept all the files in one window, that why I broke it down by alphabit. Sorry cant fix this at the moment. Also removing the filesets from a partiton is a last resort recovery effort. Oops I installed an app and now I cannot boot. (that was its intent anyway)

#2
I planned on doing a restore files from backup, again this also goes back to the same issue as #1. I cannot display all the files in a window. Perhaps v2.

penguinbait 2008-11-24 12:06

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by gbgb (Post 244217)
When installing mgmt-tools on diablo I get the following conflict:

dpkg: error processing mgmt-tools.deb (--install):
trying to overwrite '/usr/lib/libmagic.so.1.0.0', which is also in package libmagic1

I think the midnight commander package depends on libmagic1.

you can force install from command line, I will try to remove the conflict for install, but it may be a few before I can repackage..

penguinbait 2008-11-24 12:10

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by lm2 (Post 244178)
Ok. Got n800, normally booting from internal sd. Now booting from flash w/ management tools installed. How to know what to backup for complete sd-boot backup? Which partitions? jffs2? ext2? (I'm not good enough w/ linux yet to know where to begin....)

Any partition can be cloned/backup-restored from any ext3/ext2/jffs2 to any ext2/ext3/jffs2 partition.

Flash runs from /dev/mtdblock4 (jffs2)

cloning this to SD will get you boot from SD

Hope this helps??

lm2 2008-11-24 15:44

Re: Management Tools (install-tools gui edition) v1
 
OK, I want to make sure I understand.

Let's say I do a backup of the flash's filesystem today. Then, tomorrow, I want to boot from an SD that is exactly similar to how my flash is set up today. Must the SD that I want to be a replica of today's flash already be bootable before I do this restore? That is, must the SD already have a filesystem that is then replaced by the filesystem that I backed up? Or is there one step to move from a clean SD to a bootable SD that is essentially a replica of the original flash?

A couple of other notes: I was confused on several dialogs that I think had "Text" as their heading. I wasn't sure at first if these dialogs were reporting progress, or just giving me information that, once read, I should click OK to proceed. It turned out that I was supposed to click OK. So it might help others if the instructions for moving through the steps were a bit more explicit. Relatedly, although the progress bar shows a full blue progress line when a process has finished, the text continues to say something like "Working..." (I can't remember what). So I wasn't sure if I should click OK, or wait for it to stop "working".

These are minor things, and my unclarity is mostly *MY* unclarity about filesystems and such. Thanks for your hard work......and patience!

cgdel 2008-11-24 15:58

Re: Management Tools (install-tools gui edition) v1
 
Managed to install your library and libcario2 but libnotify1 is only installable for OS2008.

penguinbait 2008-11-24 16:19

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by lm2 (Post 244264)
OK, I want to make sure I understand.

Let's say I do a backup of the flash's filesystem today. Then, tomorrow, I want to boot from an SD that is exactly similar to how my flash is set up today. Must the SD that I want to be a replica of today's flash already be bootable before I do this restore? That is, must the SD already have a filesystem that is then replaced by the filesystem that I backed up? Or is there one step to move from a clean SD to a bootable SD that is essentially a replica of the original flash?

A couple of other notes: I was confused on several dialogs that I think had "Text" as their heading. I wasn't sure at first if these ialogs were reporting progress, or just giving me information that, once read, I should click OK to proceed. It turned out that I was supposed to click OK. So it might help others if the instructions for moving through the steps were a bit more explicit. Relatedly, although the progress bar shows a full blue progress line when a process has finished, the text continues to say something like "Working..." (I can't remember what). So I wasn't sure if I should click OK, or wait for it to stop "working".

These are minor things, and my unclarity is mostly *MY* unclarity about filesystems and such. Thanks for your hard work......and patience!


#1 In order to clone or restore, the filesystem you are overwriting must exist. Use gparted (Partition editor) to create your filesystems. My menus will allow you to format them, but they must exist prior to running mgmt-tools. There is no one step process. Use gparted to create filesystems, preferrably #1 FAT , #2 ext2 or 3, #3 then perhaps a swap partition. My tools allow you to have many partitions on one SD card. You could have 6 bootable images from 1 SD card easily. Once the clone is complete then you must install bootmenu.
I know its not a 1 button push, but its 10000% more reliable and very configurable.

Partitioning rules
Always make first partition on card FAT (any size), this is the filesystem that is seen by maemo (internal and external SD) /media/mmc1 and media/mmc2
I try to place my swap partiton on the opposite card if possible, not the card I will be booting from saves on I/O contention


#2 you can always click close or ok as soon as they appear. Just NEVER click cancel unless you want to abort. If you click ok and its not done nothing will happen.



FAT is the filesystem type used by default on SD cards, in order to boot from them you need an ext2 or ext3 partition.

ext2 and ext3 are linux filesystems and are required for booting from SD

SWAP partiton is needed to use swap or virtual memory can be used. ("Virtual Memeory" Try to enable it on the card your not booting from, and remember this will sit on the FAT partiton so make sure its big enough for your virtual memory)

jffs2 This is the partition used by Flash. This will always be jffs2.

You can clone directly from jffs2 to ext2/3 and from ext2/3 to jffs2
flash device shows up as /dev/mtdblock4

SD cards show up as
/dev/mmcblk0 (Base card)
/dev/mmcblk0p1 (p1 is the first partition and should be FAT)
/dev/mmcblk0p2 (would be your first ext2/3 partition) and depending on how many partitions it could go from mmcblk0p1-7

These are the internal and external SD cards
mmcblk0
and
mmcblk1



Hopefully some of this helps?

lm2 2008-11-24 16:25

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by penguinbait (Post 244275)
Hopefully some of this helps?

It ALL helps. Thanks!

penguinbait 2008-11-24 16:52

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by gbgb (Post 244217)
When installing mgmt-tools on diablo I get the following conflict:

dpkg: error processing mgmt-tools.deb (--install):
trying to overwrite '/usr/lib/libmagic.so.1.0.0', which is also in package libmagic1

I think the midnight commander package depends on libmagic1.

Updated to remove the conflict with libmagic version 1.0.0.9, both link have been updated

penguinbait 2008-11-24 17:02

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by cgdel (Post 244269)
Managed to install your library and libcario2 but libnotify1 is only installable for OS2008.


http://penguinbait.com/2007libs.tar
Probably should have been named 2008libs.tar, but I digress. If you can get it working I will make a second deb for 2007OS, or maybe just an addon deb...

This contains

libnotify.so.1
libnotify.so.1.1.2
libpangocairo-1.0.so.0
libpangocairo-1.0.so.0.1600.4
ibcairo.so.2
libcairo.so.2.11.5

open xterm

sudo su -

cd /

tar xvf /path/to/2007libs.tar


good luck let me know whats next?

gbgb 2008-11-24 17:45

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by penguinbait (Post 244283)
Updated to remove the conflict with libmagic version 1.0.0.9, both link have been updated

Ok, but now getting a conflict with the 'file' package:

Unpacking mgmt-tools (from mgmt-tools.deb) ...
dpkg: error processing mgmt-tools.deb (--install):
trying to overwrite `/usr/bin/file', which is also in package file

penguinbait 2008-11-24 17:52

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by gbgb (Post 244300)
Ok, but now getting a conflict with the 'file' package:

Unpacking mgmt-tools (from mgmt-tools.deb) ...
dpkg: error processing mgmt-tools.deb (--install):
trying to overwrite `/usr/bin/file', which is also in package file

OK, I see I have a link at /usr/bin/file, I think I can fix this, give me 10min

penguinbait 2008-11-24 18:08

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by gbgb (Post 244300)
Ok, but now getting a conflict with the 'file' package:

Unpacking mgmt-tools (from mgmt-tools.deb) ...
dpkg: error processing mgmt-tools.deb (--install):
trying to overwrite `/usr/bin/file', which is also in package file



Updated to remove the conflict with /usr/bin/file version 1.0.1.1 both links have been updated

lm2 2008-11-24 18:18

Re: Management Tools (install-tools gui edition) v1
 
Success!!

I used gparted to establish partitions on clean external 2gb sd that were symmetrical to my standard cloned internal sd. Then I used management tools to clone from internal to external. Then bootmenu update. Then successful reboot from newly cloned external. Amazing. Bravo!

Now I will try cloning clean flash to the external, backing up the internal, and then restoring the internal's backup to relatively clean external. This is fun!

lm2 2008-11-24 19:23

Re: Management Tools (install-tools gui edition) v1
 
Say, what exactly a "scale value" and how do I know which to choose while I'm writing a new bootmenu?

penguinbait 2008-11-24 19:46

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by lm2 (Post 244342)
Say, what exactly a "scale value" and how do I know which to choose while I'm writing a new bootmenu?

Sorry its not real intuitive

This is the default timeout value for bootmenu 0-60

lm2 2008-11-24 19:51

Re: Management Tools (install-tools gui edition) v1
 
Thanks. I can't believe how much I've learned about how the tablet/linux works in just a few hours of playing with your management tools. I can't really say how grateful I am for your work.

lm2 2008-11-24 21:19

Re: Management Tools (install-tools gui edition) v1
 
Is there something I'm supposed to do when Zenity pops up after a restore?

NEVERMIND, I figured it out. (I know, it wasn't rocket science...) :)

penguinbait 2008-11-24 21:34

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by lm2 (Post 244382)
Is there something I'm supposed to do when Zenity pops up after a restore?

No your done, but you may need to update bootmenu if there is no list for the partition you restored...

lm2 2008-11-24 22:05

Re: Management Tools (install-tools gui edition) v1
 
Twice now, when working with management tools while booting from sd, the resulting updated bootmenu is populated with nearly a dozen options, most with "N/A" at the end. It's only when I boot into flash and update bootmenu from there, that I get a bootmenu reflecting the choice I have made during the bootmenu-updating process.

penguinbait 2008-11-24 22:08

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by lm2 (Post 244398)
Twice now, when working with management tools while booting from sd, the resulting updated bootmenu is populated with nearly a dozen options, most with "N/A" at the end. It's only when I boot into flash and update bootmenu from there, that I get a bootmenu reflecting the choice I have made during the bootmenu-updating process.

Just to be clear. You update bootmenu via mgmt-tools in flash and it works fine.

But if you update via mgmt-tools (while booted to SD) it results in lots of items that are incorrect?

Sorry just trying to nail down exactly what I am reading?


I tested both and it workds fine from flash or SD????

lm2 2008-11-24 22:21

Re: Management Tools (install-tools gui edition) v1
 
Yes, that's right.

Also, after a day of playing with mgmt-tools, I decided to restore my bootmenu to boot from an SD that (I thought!) had not been changed today. I did use it as the source of a clone, but that shouldn't have changed the amount of space available in "device" when booted to that sd. However, when now booted to that SD, I am told that Device has just 1kb available.

I am using acronis now to restore that SD's partitions, files, etc. to what they were this morning. But any idea what could have happened?

penguinbait 2008-11-24 23:20

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by lm2 (Post 244408)
Yes, that's right.

Also, after a day of playing with mgmt-tools, I decided to restore my bootmenu to boot from an SD that (I thought!) had not been changed today. I did use it as the source of a clone, but that shouldn't have changed the amount of space available in "device" when booted to that sd. However, when now booted to that SD, I am told that Device has just 1kb available.

I am using acronis now to restore that SD's partitions, files, etc. to what they were this morning. But any idea what could have happened?

I am cornfused??

#1 "I decided to restore my bootmenu to boot from an SD that (I thought!) had not been changed today."

Not sure what this means? What do you mean restore your bootmenu? Also note that bootmenu is not stored on SD or flash, it is on initfs which is totally separate. So NO backup or restore using my tools will alter bootmenu

#2 "I did use it as the source of a clone, but that shouldn't have changed the amount of space available in "device" when booted to that sd. However, when now booted to that SD, I am told that Device has just 1kb available."

How big is the filesystem on SD?? Thats correct that using it as a source will not alter the Filesystem. If you backup to it though, you might use up all the space. look in /backup does it exist? is there anything in it?

we should get together on IRC or gtalk or aim or msn or yahoo or whatever you got??

cgdel 2008-11-25 00:22

Re: Management Tools (install-tools gui edition) v1
 
While trying to partition SD card with gparted, I got these messages:
Code:

/home/user # gparted /dev/mmcblk0
BusyBox v1.4.1 (2007-03-12 19:00:25 EET) multi-call binary

Usage: kill [-l] [-signal] process-id [process-id ...]

BusyBox v1.4.1 (2007-03-12 19:00:25 EET) multi-call binary

Usage: kill [-l] [-signal] process-id [process-id ...]

umount: cannot umount /dev/sda*: No such file or directory
umount: cannot umount /dev/sdb*: No such file or directory
/usr/sbin/gpartedbin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
find: /dev/sd*[1-9]: No such file or directory
Stopping ke-recv: ke-recv.
Starting ke-recv: ke-recv.

Does this gparted open a window? Where does one put the information about de types and sizes?
Sorry if this is obvious...

penguinbait 2008-11-25 01:10

Re: Management Tools (install-tools gui edition) v1
 
Quote:

Originally Posted by cgdel (Post 244434)
While trying to partition SD card with gparted, I got these messages:
Code:

/home/user # gparted /dev/mmcblk0
BusyBox v1.4.1 (2007-03-12 19:00:25 EET) multi-call binary

Usage: kill [-l] [-signal] process-id [process-id ...]

BusyBox v1.4.1 (2007-03-12 19:00:25 EET) multi-call binary

Usage: kill [-l] [-signal] process-id [process-id ...]

umount: cannot umount /dev/sda*: No such file or directory
umount: cannot umount /dev/sdb*: No such file or directory
/usr/sbin/gpartedbin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
find: /dev/sd*[1-9]: No such file or directory
Stopping ke-recv: ke-recv.
Starting ke-recv: ke-recv.

Does this gparted open a window? Where does one put the information about de types and sizes?
Sorry if this is obvious...

/usr/sbin/gpartedbin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory

Its because your running 2007OS, I will add that lib to the tar and and let you know when I update it

penguinbait 2008-11-25 01:22

Re: Management Tools (install-tools gui edition) v1
 
http://penguinbait.com/2008libs.tar

usr/GPARTED/lib/libpangocairo-1.0.so.0
usr/GPARTED/lib/libpangocairo-1.0.so.0.1600.4
usr/GPARTED/lib/libcairo.so.2
usr/GPARTED/lib/libcairo.so.2.11.5
usr/GPARTED/lib/libnotify.so.1
usr/GPARTED/lib/libnotify.so.1.1.2
usr/GPARTED/lib/libXcomposite.so.1
usr/GPARTED/lib/libXcomposite.so.1.0.0


open xterm

sudo su -

cd /

tar xvf /path/to/2008libs.tar

Also note that gparted is a hack, it was stolen from debian. It should be run from the menu

While booting from flash it will look for mmcblk0 mmcblk1 sda sdb

While booting from SD it will only scan for sda/sdb if usb devices are available. While booted to SD you cannot use gparted on mmcblk0/mmcblk1, if you attempt it will reboot.


All times are GMT. The time now is 21:10.

vBulletin® Version 3.8.8