Reply
Thread Tools
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#31
Originally Posted by FRZ View Post
I have no idea what's on the disk and I only have 223mb available. I have no problem wiping it clean as soon as I find out how.
If it is an external card

run as root

cfdisk /dev/mmcblk1

or if its internal run

cfdisk /dev/mmcblk0

Create a small FAT partition and a linux partition. Note when you make a new partition it will default to Linux partition, highlight the partition, select type and change to FAT (06).

Hopefully this will fix it for you
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Posts: 367 | Thanked: 47 times | Joined on Nov 2008 @ Brooklyn, NY
#32
Originally Posted by penguinbait View Post
If it is an external card

run as root

cfdisk /dev/mmcblk1

or if its internal run

cfdisk /dev/mmcblk0

Create a small FAT partition and a linux partition. Note when you make a new partition it will default to Linux partition, highlight the partition, select type and change to FAT (06).

Hopefully this will fix it for you
As root,
cfdisk /dev/mmcblk0

Fatal ERROR: Bad primary partition 0: Partition end
Press any key to exit cfdisk
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#33
Originally Posted by FRZ View Post
As root,
cfdisk /dev/mmcblk0

Fatal ERROR: Bad primary partition 0: Partition end
Press any key to exit cfdisk

Seems like your SD card is corrupt???
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Posts: 111 | Thanked: 23 times | Joined on Sep 2008 @ Singapore
#34
Originally Posted by penguinbait View Post
OK, how about this pton, can you run the following

Try just running

sh <enter>
pb <enter>
...

Send me the output after clone.sh completes
It still fail. Here is the output

+ umount /SRC
+ umount /TRG
+ sclone.sh
+ cat /tmp/choice.tmp
+ export SOURCE=
Can't make sub-window at (11,3), size (1,51).
+ test -z Can't make sub-window at (11,3), size (1,51).
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: (11,3),: No such file or directory
grep: size: No such file or directory
grep: (1,51).: 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 (11,3), size (1,51). 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 (11,3), size (1,51). = /dev/mtdblock4
sh: make: unknown operand
+ mount Can't make sub-window at (11,3), size (1,51). /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 (11,3), size (1,51). FAILED, perhaps there is a problem with previous mounting? Try rebooting and running again? 11 60
+ umount /SRC
+ umount /TRG
+ pbmenu
+ exit
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#35
Originally Posted by pton View Post
It still fail. Here is the output

+ umount /SRC
+ umount /TRG
+ sclone.sh
+ cat /tmp/choice.tmp
+ export SOURCE=
Can't make sub-window at (11,3), size (1,51).
+ test -z Can't make sub-window at (11,3), size (1,51).
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: (11,3),: No such file or directory
grep: size: No such file or directory
grep: (1,51).: 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 (11,3), size (1,51). 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 (11,3), size (1,51). = /dev/mtdblock4
sh: make: unknown operand
+ mount Can't make sub-window at (11,3), size (1,51). /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 (11,3), size (1,51). FAILED, perhaps there is a problem with previous mounting? Try rebooting and running again? 11 60
+ umount /SRC
+ umount /TRG
+ pbmenu
+ exit
OK try this

as root

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

cat /tmp/part.tmp

Paste back /tmp/part.tmp
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Posts: 367 | Thanked: 47 times | Joined on Nov 2008 @ Brooklyn, NY
#36
Originally Posted by penguinbait View Post
Seems like your SD card is corrupt???
Damn it. So I'll have to wait till I get a new micro card or I might try to use the 1gb I already have. Yeah, I think I will do that.
 
Posts: 367 | Thanked: 47 times | Joined on Nov 2008 @ Brooklyn, NY
#37
Originally Posted by penguinbait View Post
If it is an external card

Create a small FAT partition and a linux partition. Note when you make a new partition it will default to Linux partition, highlight the partition, select type and change to FAT (06).
Just curious. What is the small FAT partition for?
 
Posts: 111 | Thanked: 23 times | Joined on Sep 2008 @ Singapore
#38
Originally Posted by penguinbait View Post
OK try this

as root

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

cat /tmp/part.tmp

Paste back /tmp/part.tmp
Here is the result:
/dev/mtdblock4 "Size:256MB Used: Free:AVAIL Type:jffs2"
 
Posts: 367 | Thanked: 47 times | Joined on Nov 2008 @ Brooklyn, NY
#39
Ok. I was able to reformat the internal memory. First I connected to my pc and formated it there then, I ran sfdisk from the device and reset the partition tables. I am going to try again from the top and see how that goes.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#40
Originally Posted by pton View Post
Here is the result:
/dev/mtdblock4 "Size:256MB Used: Free:AVAIL Type:jffs2"
Can you run the following and paste back the output? For some reason its not finding your ext2 partition..


export PATH=/root/.bin:$PATH

sh -x partition-finder.sh 2> output
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Reply

Tags
bootmenu, bootmenu-installer, install-tools, mgmt-tools

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:42.