![]() |
2010-06-28
, 21:51
|
|
Posts: 120 |
Thanked: 14 times |
Joined on Jun 2010
@ Queens, NY
|
#32
|
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!)
That should show you've created a new partition, and formatted it to vfat.Code:sfdisk /dev/mmcblk1 <<EOF ,,c EOF sync mkfs.vfat /dev/mmcblk1p1 sfdisk -d /dev/mmcblk1
/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 #
![]() |
2010-06-28
, 22:04
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#33
|
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?
root umount /dev/mmcblk1
sfdisk /dev/mmcblk1 <<EOF ,,c EOF sync mkfs.vfat /dev/mmcblk1p1 sfdisk -d /dev/mmcblk1
The Following User Says Thank You to woody14619 For This Useful Post: | ||
![]() |
2010-06-28
, 22:09
|
|
Posts: 120 |
Thanked: 14 times |
Joined on Jun 2010
@ Queens, NY
|
#34
|
/home/user # umount /dev/mmcblk1 umount: cannot umount /dev/mmcblk1: Invalid argument /home/user #
![]() |
2010-06-28
, 22:19
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#35
|
woody14619,
Ok lets say I have to use the force flag. How do I do that?
EDIT: Tried the umount and this is what I got.
Code:/home/user # umount /dev/mmcblk1 umount: cannot umount /dev/mmcblk1: Invalid argument /home/user #
The Following User Says Thank You to woody14619 For This Useful Post: | ||
![]() |
2010-06-28
, 22:26
|
|
Posts: 120 |
Thanked: 14 times |
Joined on Jun 2010
@ Queens, NY
|
#36
|
/home/user # mount rootfs on / type rootfs (rw) ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /tmp type tmpfs (rw,noatime,size=1024k) tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755) none on /dev type tmpfs (rw,noatime,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k) /dev/mmcblk0p2 on /home type ext3 (rw,noatime,errors=continue,commit=1,data=writeback) /home/opt on /opt type none (bind) nodev on /sys/kernel/debug type debugfs (0) /opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind) /opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind) /opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind) /opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind) /opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind) /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir) /dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)
![]() |
2010-06-28
, 22:32
|
|
Posts: 670 |
Thanked: 359 times |
Joined on May 2007
|
#37
|
The Following User Says Thank You to fnordianslip For This Useful Post: | ||
![]() |
2010-06-28
, 22:36
|
|
Posts: 120 |
Thanked: 14 times |
Joined on Jun 2010
@ Queens, NY
|
#38
|
/home/user # umount /media mmc1 umount: cannot umount /media: Invalid argument umount: cannot umount mmc1: No such file or directory /home/user #
![]() |
2010-06-28
, 22:50
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#39
|
Ok woody14619,
At root just typed "mount".
Code:/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)
umount /dev/mmcblk1p1 sfdisk /dev/mmcblk1 <<EOF ,,c EOF sync mkfs.vfat /dev/mmcblk1p1 sync sfdisk -d /dev/mmcblk1
The Following User Says Thank You to woody14619 For This Useful Post: | ||
![]() |
2010-06-28
, 22:50
|
|
Posts: 670 |
Thanked: 359 times |
Joined on May 2007
|
#40
|
The Following User Says Thank You to fnordianslip For This Useful Post: | ||
Thanks for the reply, I will try right away and post back on the results.
Device: Nokia N900
Theme: MaemoItalia Graffiti Theme
---
Who but me?!
--HeavyC.