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)
-   -   Introducing console-tools v1 (install-tools replacemement) (https://talk.maemo.org/showthread.php?t=25714)

penguinbait 2009-01-18 15:49

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by buaalrj (Post 258422)
I did it several times, and got the same result.
the vm has been disabled.

Did what several times? Are you using pbeasy, or pb. Please walk me through exactly what you are doing.

FRZ 2009-01-18 16:20

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by penguinbait (Post 257274)
do you have the file /etc/init.d/local.sh ?

This should start the swap partition on boot.

as root try running

/etc/init.d/local.sh start

Does this start it?

/etc/init.d/local.sh start

Starting script penguinbaits crap
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File exists insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/jbd.ko': File exists (-1): File exists insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists insmod: cannot insert 'mnt/initfs/lib/modules/2.6.21-omap1/ext3.ko': File exists (-1): File exists /etc/init.d/local.sh: line 31: /etc/fstab: Permission denied

BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) multi-call binary

Usage: sawpon [-a] [DEVICE]

e2fsck 1.37 (21-Mar-2005)
e2fsck: Cannot continue, aborting.

buaalrj 2009-01-18 16:22

Re: Introducing console-tools v1 (install-tools replacemement)
 
at first, i use the pbeasy, and the problem appeared. I tried about 3 times, finding that the problem was repeatable.
Then I use the "sfdisk/cfdisk/fdisk & mkfs" to finish the partition manually, and do the "mount" operation manually, the same problem appeared again and again.

penguinbait 2009-01-18 18:07

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by buaalrj (Post 258434)
at first, i use the pbeasy, and the problem appeared. I tried about 3 times, finding that the problem was repeatable.
Then I use the "sfdisk/cfdisk/fdisk & mkfs" to finish the partition manually, and do the "mount" operation manually, the same problem appeared again and again.

You must use pbeasy to partition your device and reboot, if you want to use pbeasy to clone,
Then you run the Clone process and I need specifically what is happening, you are getting a mount error while clone process is running?

Its very hard to troubleshoot without specifics?

penguinbait 2009-01-18 18:08

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by FRZ (Post 258432)
/etc/init.d/local.sh start

Starting script penguinbaits crap
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File exists insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/jbd.ko': File exists (-1): File exists insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists insmod: cannot insert 'mnt/initfs/lib/modules/2.6.21-omap1/ext3.ko': File exists (-1): File exists /etc/init.d/local.sh: line 31: /etc/fstab: Permission denied

BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) multi-call binary

Usage: sawpon [-a] [DEVICE]

e2fsck 1.37 (21-Mar-2005)
e2fsck: Cannot continue, aborting.

you must run "sudo /etc/init.d/local.sh start" or become root and then run it.

also please run this

cat /etc/fstab

buaalrj 2009-01-19 06:46

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by penguinbait (Post 258451)
You must use pbeasy to partition your device and reboot, if you want to use pbeasy to clone,
Then you run the Clone process and I need specifically what is happening, you are getting a mount error while clone process is running?

Its very hard to troubleshoot without specifics?

At first, I use pbeasy to partition, and reboot. When excuting the clone process in the pbeasy, I got an error: "mount /dev/mmcblk0p2 /TRG failed command shows below: mount /dev/mmcblk0p2 /TRG".

Then I tried to do the partition manually, and got the same error. I've checked the dmesg, and there was no logs related with the failed mounting. In another word, the only error message I got is "mount /dev/mmcblk0p2 /TRG failed".

Yesterday I tried the pb, and the same error occured.

I'd like to use the "mount" from the bash3 tonight, trying to get more useful specifics from the kernel log.

thanks for replay

buaalrj 2009-01-19 17:09

Re: Introducing console-tools v1 (install-tools replacemement)
 
Problem solved after i did a mkfs before excuting the "Partition" of the pbeasy.
Thank you for providing such a convenient tool.

brian911 2009-01-27 05:28

Re: Introducing console-tools v1 (install-tools replacemement)
 
This is so awesome. I just want to say the easiest way to navigate Pb's menus in xterm is to remotely connect using PUTTY (after installing open ssh on your nokia). You can click through the menus using your mouse! Don't know if this was mentioned yet.

Rassilon7 2009-01-28 08:02

Re: Introducing console-tools v1 (install-tools replacemement)
 
You can click through the N8*0 on screen too.

Rassilon7 2009-01-28 08:45

Re: Introducing console-tools v1 (install-tools replacemement)
 
I have just partitioned an 8 gig card with 500mb Fat 256 swap and 7000mb (ish) main memory. I then cloned my internal flash to this card and all seems well.

Do I need to turn on swap memory in any way or will it just see it and use it?

Steve


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

vBulletin® Version 3.8.8