View Single Post
HeavyComponent's Avatar
Posts: 120 | Thanked: 14 times | Joined on Jun 2010 @ Queens, NY
#32
Originally Posted by woody14619 View Post
Try this, in a root terminal (this will format the card!). you should be able to cut/paste it right into a root terminal. (Be sure you're root first, via root or gainroot!)

Code:
sfdisk /dev/mmcblk1 <<EOF
,,c
EOF
sync
mkfs.vfat /dev/mmcblk1p1
sfdisk -d /dev/mmcblk1
That should show you've created a new partition, and formatted it to vfat.
Before I continue this is what I got so far. I stopped after the 3rd line "EOF". This what showed up and I wanted to know is it safe to continue?

Code:
/home/user # sfdisk /dev/mmcblk1 <<EOF
> ,,c
> EOF
Checking that no-one is using this disk right now ...
BLKRRPART: Device or resource busy

This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
Use the --force flag to overrule all checks.
/home/user #
Now what?
__________________
Device: Nokia N900
Theme: MaemoItalia Graffiti Theme

---
Who but me?!
--HeavyC.

Last edited by HeavyComponent; 2010-06-28 at 22:08.