View Single Post
Posts: 38 | Thanked: 17 times | Joined on Oct 2009 @ Missouri
#554
Originally Posted by abhideva View Post
hi guys , i have been following the steps given below but when i type the 3rd command , this is the situation .....


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 # umount /dev/mmcblk1p1
/home/user # sfdisk -uM /dev/mmcblk1 << EOF
> ,<6100>,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 243328 cylinders, 4 heads, 16 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/96/22 (instead of 243328/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 7603 7600 7782400 b W95 FAT32
start: (c,h,s) expected (3,84,9) found (0,130,3)
end: (c,h,s) expected (1023,95,22) found (969,95,22)
/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

help needed , i have tried the auto-installer but its getting stuck at
FORMATTING /dev/mmcblk1p2 .....
help needed .....
Check /home/user/MyDocs/.nitdroid/installer.log to see why the autoinstaller failed. If you want to partition your sd card before starting the installer (it may help) remove the angle brackets(<>) in the sfdisk command you're using:
Code:
sfdisk -uM /dev/mmcblk1 << EOF
> ,6100,C
> ,,L
> ,,
> ,,
> EOF
umount /dev/mmcblk1p1
mkdosfs  /dev/mmcblk1p1
mke2fs -L NITDroid -j -m0 /dev/mmcblk1p2
 

The Following User Says Thank You to kopele For This Useful Post: