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)

FRZ 2008-12-23 01:17

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

Originally Posted by penguinbait (Post 251869)
you need to install bootmenu, then reboot,

I did. Am I suppose to get a boot option at reboot?


Edit: Ok it did but, I seem to be still booting from flash.

penguinbait 2008-12-23 01:18

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

Originally Posted by FRZ (Post 251875)
I did. Am I suppose to get a boot option at reboot?

Try setting the default boot again, and reboot.

This is normal, if this is the first time bootmenu was installed

penguinbait 2008-12-23 01:23

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

Originally Posted by FRZ (Post 251876)
I did. Am I suppose to get a boot option at reboot?


Edit: Ok it did but, I seem to be still booting from flash.

I have not had any failures in the cloning process, its possible, the partition was ina bad state.

Try the clone again and be sure to format the filesystem when prompted

pton 2008-12-23 02:15

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

Originally Posted by penguinbait (Post 251741)
This has been fixed, thanks again for all your help, download the updated deb

Let me know if its working?

Hi, thanks for your quick fix !) I can now boot-up to my internal card partition (cloned using earlier install tools in earlier diablo) -- bootmenu works!

But clone, backup, mkfs still fails. I still see the same error message. For cloning, it didn't prompt me to select partition to clone to (and displayed some error message). Backup didn't allow me to backup to internal card FAT32 partition (only to the ext2 partition). Mkfs hang while searching for unformatted FS.

penguinbait 2008-12-23 02:45

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

Originally Posted by pton (Post 251890)
Hi, thanks for your quick fix !) I can now boot-up to my internal card partition (cloned using earlier install tools in earlier diablo) -- bootmenu works!

But clone, backup, mkfs still fails. I still see the same error message. For cloning, it didn't prompt me to select partition to clone to (and displayed some error message). Backup didn't allow me to backup to internal card FAT32 partition (only to the ext2 partition). Mkfs hang while searching for unformatted FS.

Can you run these until they hang or complete, and send me the output,

export PATH=/root/.bin:$PATH
scan.sh

#mkfs script
sh -x /root/.bin/mkall.sh 2> output

#clone script
sh -x /root/.bin/clone.sh 2> output2

FRZ 2008-12-23 03:32

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

Originally Posted by penguinbait (Post 251879)
I have not had any failures in the cloning process, its possible, the partition was ina bad state.

Try the clone again and be sure to format the filesystem when prompted

I re cloned it and reset default boot to mmcblk0p2 and it still isn't showing up on the boot menu after reboot. My boot menu options at start up are,
internal flash
(external MMC card, p2, ext3) N/A
(internal MMC card, p6, ext3) N/A
Power off (when not on charger)

penguinbait 2008-12-23 03:53

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

Originally Posted by FRZ (Post 251903)
I re cloned it and reset default boot to mmcblk0p2 and it still isn't showing up on the boot menu after reboot. My boot menu options at start up are,
internal flash
(external MMC card, p2, ext3) N/A
(internal MMC card, p6, ext3) N/A
Power off (when not on charger)

I would say retry install bootmenu, N/A means it doesn't see the cards probably something went wrong with bootmenu install, it did not copy the ext2/3 modules to the initfs, so it cant see the disk. (I am just guessing)
I would try install bootmenu again.

pton 2008-12-23 04:51

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

Originally Posted by penguinbait (Post 251896)
Can you run these until they hang or complete, and send me the output,

export PATH=/root/.bin:$PATH
scan.sh

#mkfs script
sh -x /root/.bin/mkall.sh 2> output

#clone script
sh -x /root/.bin/clone.sh 2> output2

I ran mkfs script for 4min (hang) and terminated it (cpu show idle).
contents of output:
+ export PATH=/root/.bin:/root/.bin:/home/user/apps:/usr/bin:/bin
+ scan.sh
+ dialog --infobox Checking for unformated FS \n\n Please be patient!!! 5 40
+ new.sh


contents of output2:
+ umount /SRC
+ umount /TRG
+ sclone.sh
+ cat /tmp/choice.tmp
+ export SOURCE=
Can't make sub-window at (8,3), size (1,43).
+ test -z Can't make sub-window at (8,3), size (1,43).
sh: make: unknown operand
+ tclone.sh
grep: make: No such file or directory
grep: sub-window: No such file or directory
grep: at: No such file or directory
grep: (8,3),: No such file or directory
grep: size: No such file or directory
grep: (1,43).: No such file or directory
sh: jff: unknown operand
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) multi-call binary

Usage: grep [-HhrilLnqvsoeFEABC] PATTERN [FILEs...]

sh: ext: unknown operand
+ cat /tmp/choice.tmp
+ export TARGET=
Error: Expected at least 7 tokens for --radiolist, have 4.
Use --help to list options.
+ test -z Error: Expected at least 7 tokens for --radiolist, have 4. Use --help to list options.
sh: Expected: unknown operand
+ rm -rf /tmp/choice.tmp
+ dialog --extra-button --yesno You have selected to clone all data on
Can't make sub-window at (8,3), size (1,43). to
Error: Expected at least 7 tokens for --radiolist, have 4.
Use --help to list options. \n \n Is this Correct?? \n \n Selecting yes will remove all data on
Error: Expected at least 7 tokens for --radiolist, have 4.
Use --help to list options. 15 40
+ EX=0
+ test 0 = 3
+ test 0 = 0
+ mkdir /SRC
+ mkdir /TRG
+ test Can't make sub-window at (8,3), size (1,43). = /dev/mtdblock4
sh: make: unknown operand
+ mount Can't make sub-window at (8,3), size (1,43). /SRC
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) multi-call binary

Usage: mount [flags] DEVICE NODE [-o options,more-options]

+ dialog --msgbox Mounting
Can't make sub-window at (8,3), size (1,43). FAILED, perhaps there is a problem with previous mounting? Try rebooting and running again? 11 60
+ umount /SRC
+ umount /TRG
+ pbmenu

FRZ 2008-12-23 14:08

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

Originally Posted by penguinbait (Post 251906)
I would say retry install bootmenu, N/A means it doesn't see the cards probably something went wrong with bootmenu install, it did not copy the ext2/3 modules to the initfs, so it cant see the disk. (I am just guessing)
I would try install bootmenu again.

Works like a charm. Thanks a whole bunches. I believe the problem what that the first time I installed BootMenu I didn't select the boot device during the installation and accidently click ok to install.

penguinbait 2008-12-23 14:54

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

Originally Posted by pton (Post 251924)
I ran mkfs script for 4min (hang) and terminated it (cpu show idle).
contents of output:
+ export PATH=/root/.bin:/root/.bin:/home/user/apps:/usr/bin:/bin
+ scan.sh
+ dialog --infobox Checking for unformated FS \n\n Please be patient!!! 5 40
+ new.sh


contents of output2:
+ umount /SRC
+ umount /TRG
+ sclone.sh
+ cat /tmp/choice.tmp
+ export SOURCE=
Can't make sub-window at (8,3), size (1,43).
+ test -z Can't make sub-window at (8,3), size (1,43).
sh: make: unknown operand
+ tclone.sh
grep: make: No such file or directory
grep: sub-window: No such file or directory
grep: at: No such file or directory
grep: (8,3),: No such file or directory
grep: size: No such file or directory
grep: (1,43).: No such file or directory
sh: jff: unknown operand
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) multi-call binary

Usage: grep [-HhrilLnqvsoeFEABC] PATTERN [FILEs...]

sh: ext: unknown operand
+ cat /tmp/choice.tmp
+ export TARGET=
Error: Expected at least 7 tokens for --radiolist, have 4.
Use --help to list options.
+ test -z Error: Expected at least 7 tokens for --radiolist, have 4. Use --help to list options.
sh: Expected: unknown operand
+ rm -rf /tmp/choice.tmp
+ dialog --extra-button --yesno You have selected to clone all data on
Can't make sub-window at (8,3), size (1,43). to
Error: Expected at least 7 tokens for --radiolist, have 4.
Use --help to list options. \n \n Is this Correct?? \n \n Selecting yes will remove all data on
Error: Expected at least 7 tokens for --radiolist, have 4.
Use --help to list options. 15 40
+ EX=0
+ test 0 = 3
+ test 0 = 0
+ mkdir /SRC
+ mkdir /TRG
+ test Can't make sub-window at (8,3), size (1,43). = /dev/mtdblock4
sh: make: unknown operand
+ mount Can't make sub-window at (8,3), size (1,43). /SRC
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) multi-call binary

Usage: mount [flags] DEVICE NODE [-o options,more-options]

+ dialog --msgbox Mounting
Can't make sub-window at (8,3), size (1,43). FAILED, perhaps there is a problem with previous mounting? Try rebooting and running again? 11 60
+ umount /SRC
+ umount /TRG
+ pbmenu


ok #1
export PATH?=/root/.bin:$PATH
sh -x /root/.bin/new.sh 2>output

#2 Looking at the first line of the script, it appears you did not select a "source" drive for the clone. If you did something went wrong, I tested on my 800 but with old os, I am udating now. I think something you have installed might be the problem, but I am not sure yet.... Did it even prompt for a selection?

contents of output2:
+ umount /SRC
+ umount /TRG
+ sclone.sh
+ cat /tmp/choice.tmp
+ export SOURCE=


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

vBulletin® Version 3.8.8