Closed Thread
Thread Tools
Posts: 13 | Thanked: 1 time | Joined on Jun 2010 @ Glasgow, United Kingdom
#731
Need help at the 1st step partation the SD card

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...
 
Posts: 42 | Thanked: 12 times | Joined on Dec 2009 @ Italy
#732
guys PLEASE help me

Code:
~ $ 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
what is wrong??

Last edited by PePPeN20; 2010-07-25 at 16:07.
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#733
try continuing maemo doesn always mount p1 so you may be able to continue
 

The Following User Says Thank You to dj_steve For This Useful Post:
Posts: 42 | Thanked: 12 times | Joined on Dec 2009 @ Italy
#734
thanks a lot dj steve

ok I report this:

Code:
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.
all right??
 
Posts: 42 | Thanked: 12 times | Joined on Dec 2009 @ Italy
#735
oh damn

Code:
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#
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#736
well you jus formatted same partition twice lol should 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
 
Posts: 22 | Thanked: 0 times | Joined on Jul 2010
#737
I will ask my questions in german

_______________

Ich habe paar Fragen:

1. Geht durch die Installation von NITDroid die Garantie des N900 weg?

2. Geht mit dieser Version auch SEHR schnell das Akku leer?

3. Kann man ganz normal alle Apps installieren?

4. Ist es in dieser Version schon zu empfehlen?

_____


I try to write these in english

1. Will the garranty lost if i install NITDroid?

2. Is the battery going empty fast?

3. Is it possible to install all Android apps?

4. Is a install in this version recommended?

Last edited by ali-bjk; 2010-07-25 at 16:47.
 
Posts: 42 | Thanked: 12 times | Joined on Dec 2009 @ Italy
#738
Originally Posted by dj_steve View Post
well you jus formatted same partition twice lol should 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
Ohhh Thank you very much: D

then I have to wait for the new rootfs?

can you tell when it's ready?
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#739
rootfs is linked in post2 of dev thread lol
 
imperiallight's Avatar
Posts: 857 | Thanked: 362 times | Joined on Feb 2009 @ London
#740
This should be a forum sticky +1
 
Closed Thread

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:07.