|
|
2010-07-25
, 16:04
|
|
Posts: 42 |
Thanked: 12 times |
Joined on Dec 2009
@ Italy
|
#732
|

~ $ root BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. Nokia-N900:~# umount /dev/mmcblk1p1 Nokia-N900:~# sfdisk -uM /dev/mmcblk1 << EOF > ,6100,C > ,,L > ,, > ,, > EOF Checking that no-one is using this disk right now ... OK Disk /dev/mmcblk1: 243200 cylinders, 4 heads, 16 sectors/track Old situation: Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End MiB #blocks Id System /dev/mmcblk1p1 0+ 7599 7600- 7782392 b W95 FAT32 /dev/mmcblk1p2 0 - 0 0 0 Empty /dev/mmcblk1p3 0 - 0 0 0 Empty /dev/mmcblk1p4 0 - 0 0 0 Empty New situation: Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End MiB #blocks Id System /dev/mmcblk1p1 0+ 6099 6100- 6246399+ c W95 FAT32 (LBA) /dev/mmcblk1p2 6100 7599 1500 1536000 83 Linux /dev/mmcblk1p3 0 - 0 0 0 Empty /dev/mmcblk1p4 0 - 0 0 0 Empty Warning: no primary partition is marked bootable (active) This does not matter for LILO, but the DOS MBR will not boot this disk. Successfully wrote the new partition table Re-reading the partition table ... If you created or changed a DOS partition, /dev/foo7, say, then use dd(1) to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1 (See fdisk(8).) Nokia-N900:~# umount /dev/mmcblk1p1 umount: cannot umount /dev/mmcblk1p1: Invalid argument

|
|
2010-07-25
, 16:13
|
|
Posts: 42 |
Thanked: 12 times |
Joined on Dec 2009
@ Italy
|
#734
|

Nokia-N900:~# mkfs.vfat /dev/mmcblk1p2 -n sdcard mkfs.vfat 3.0.1 (23 Nov 2008) 37 #####################################Nokia-N900:~# mke2fs -j -m0 -L NITDroid /dev/mmcblk1p2 mke2fs 1.41.3.maemo0 (12-Oct-2008) Filesystem label=NITDroid OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 96000 inodes, 384000 blocks 0 blocks (0.00%) reserved for the super user First data block=0 Maximum filesystem blocks=394264576 12 block groups 32768 blocks per group, 32768 fragments per group 8000 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 38 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
|
|
2010-07-25
, 16:35
|
|
Posts: 42 |
Thanked: 12 times |
Joined on Dec 2009
@ Italy
|
#735
|


Nokia-N900:~# mount -t ext3 -o noatime,rw /dev/mmcblk1p2 /and Nokia-N900:~# cd /home/user/MyDocs Nokia-N900:/home/user/MyDocs# bzip2 -d NITDroid-N900-0.0.5-4-Final.tbz2 bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: No such file or directory Input file = NITDroid-N900-0.0.5-4-Final.tbz2, output file = NITDroid-N900-0.0.5-4-Final.tar It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. bzip2: Deleting output file NITDroid-N900-0.0.5-4-Final.tar, if it exists. Nokia-N900:/home/user/MyDocs# tar xvf /home/user/MyDocs/NITDroid-N900-0.0.5-4-Final.tar tar: can't open '/home/user/MyDocs/NITDroid-N900-0.0.5-4-Final.tar': No such file or directory Nokia-N900:/home/user/MyDocs#
|
|
2010-07-25
, 16:35
|
|
Posts: 1,306 |
Thanked: 1,697 times |
Joined on Dec 2009
@ Durham North-East UK
|
#736
|
should be mkfs.vfat /dev/mmcblk1p1 and mke2fs -j -m0 -L NITDroid /dev/mmcblk1p2
|
|
2010-07-25
, 16:37
|
|
Posts: 22 |
Thanked: 0 times |
Joined on Jul 2010
|
#737
|
|
|
2010-07-25
, 16:51
|
|
Posts: 42 |
Thanked: 12 times |
Joined on Dec 2009
@ Italy
|
#738
|
well you jus formatted same partition twice lolshould be mkfs.vfat /dev/mmcblk1p1 and mke2fs -j -m0 -L NITDroid /dev/mmcblk1p2
edit: courrpt download - btw theirs a newer rootfs than 5-4 now
|
|
2010-07-25
, 16:55
|
|
Posts: 1,306 |
Thanked: 1,697 times |
Joined on Dec 2009
@ Durham North-East UK
|
#739
|
|
|
2010-07-25
, 17:03
|
|
|
Posts: 857 |
Thanked: 362 times |
Joined on Feb 2009
@ London
|
#740
|
here is what I've got from Terminal on my Mac
Nokia-N900:~# umount /dev/mmcblk1p1
Nokia-N900:~# sfdisk -uM /dev/mmcblk1 << EOF
> ,<100>,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK
Disk /dev/mmcblk1: 31000 cylinders, 4 heads, 16 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/5/4 (instead of 31000/4/16).
For this listing I'll assume that geometry.
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 4+ 968- 965- 987890+ 6 FAT16
start: (c,h,s) expected (410,4,4) found (4,2,30)
end: (c,h,s) expected (1023,4,4) found (984,4,4)
/dev/mmcblk1p2 0 - 0 0 0 Empty
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
trailing junk after number
sfdisk: bad input
It's been 2 days, same result...