View Single Post
Posts: 27 | Thanked: 1 time | Joined on Mar 2011 @ india
#34
Originally Posted by michaaa62 View Post
Steps 1 and 4 assume, that you are still trying to install Nitdroid at some time on a separate partition. If you have some other plan please demand new directions

All steps should be done as root

Step 1
Code:
echo "unit: sectors
 > /dev/mmcblk0p1 : start= 64, size= 51199936, Id=c
 > /dev/mmcblk0p2 : start= 56631360, size= 4194304, Id=83
 > /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82
 > /dev/mmcblk0p4 : start= 51200000, size= 5431360, Id= 5
> /dev/mmcblk0p5 : start= 51200016, size= 5431344, Id=83" > table
Step 2
Code:
sfdisk --no-reread /dev/mmcblk0 < table
Step 3
Code:
reboot
Wait for the device to reboot, then
Step 4
Code:
mkfs.vfat -n MyDocs /dev/mmcblk0p1
mke2fs -L NITDroid -j -m0 /dev/mmcblk0p5
check me the following



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.

~ $ sudo gainroot
Root shell enabled


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.

/home/user # mkfs.vfat -n MyDocs /dev/mmcblk0p1
mkfs.vfat 2.11 (12 Mar 2005)
mkfs.vfat: /dev/mmcblk0p1 contains a mounted file system.
/home/user # mke2fs -L NITDroid -j -m0 /dev/mmcblk0p5
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Filesystem label=NITDroid
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
170016 inodes, 678918 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=696254464
21 block groups
32768 blocks per group, 32768 fragments per group
8096 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: ^done

This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
/home/user #

was this correct what will be the output

what should i do next ?

thanks