View Single Post
mr_xzibit's Avatar
Posts: 220 | Thanked: 49 times | Joined on Aug 2010 @ england
#38
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
__________________
Fav band.SyLOSiS
Playstation® 3 n900 Trophy viewer click here
want a more responsive n900? Click here

Last edited by mr_xzibit; 2010-08-29 at 11:50.