View Single Post
Posts: 320 | Thanked: 137 times | Joined on Apr 2010
#40
Originally Posted by mr_xzibit View Post
Step 1: Partitioning
followed this
sudo gainroot

umount /dev/mmcblk1p1

sfdisk -uM /dev/mmcblk1 << EOF,2100MB,C,,L,,,,EOF

sfdisk:bad input

what am i doing wrong?

got a 4gig card btw

heres what xterm said

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
> ,2100 MB,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 121008 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+ 3781- 3782- 3872248 b W95 FAT32
/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
Use the autoinstaller and it will partition for you automatically.