Closed Thread
Thread Tools
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#251
Looks like I'll have to get myself a faster SD card, I don't think a Class 2 card will be enough soon
 
Posts: 74 | Thanked: 9 times | Joined on Jul 2010
#252
Originally Posted by ToJa92 View Post
Looks like I'll have to get myself a faster SD card, I don't think a Class 2 card will be enough soon
Can i read anywhere which class is my SD card?
 
Posts: 13 | Thanked: 1 time | Joined on Jun 2010 @ Glasgow, United Kingdom
#253
I tried again 2day in Terminal on my Mac which SSH connected to N900, and give me feedback like this:

Nokia-N900:~# unmount /dev/mmcblk1p1
-sh: unmount: not found
Nokia-N900:~# sfdisk -uM /dev/mmcblk1 << EOF
> ,<100>,C
> ,,L
> ,,
> ,,
> 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.

Nokia-N900:~# unmount /dev/mmcblk1p1
-sh: unmount: not found
Nokia-N900:~# mkfs.vfat /dev/mmcblk1p1 -n sdcard
mkfs.vfat 3.0.1 (23 Nov 2008)
mkfs.vfat: /dev/mmcblk1p1 contains a mounted file system.
Nokia-N900:~# mke2fs -j -m0 -L NITDroid /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
 
Posts: 22 | Thanked: 8 times | Joined on Jul 2010
#254
Originally Posted by ToJa92 View Post
Looks like I'll have to get myself a faster SD card, I don't think a Class 2 card will be enough soon
x2

Class6 card on its way here


Originally Posted by hidetoshi777 View Post
Can i read anywhere which class is my SD card?
On the package or maybe on the sd card itself.
 
Posts: 78 | Thanked: 21 times | Joined on Apr 2010
#255
Originally Posted by dj_steve View Post
grab one of the old rootfs's and copy the launcher2.apk from it to system/app and delete the ADWLauncher.apk
Absolute legend!!

Thanks man!
 
Posts: 78 | Thanked: 21 times | Joined on Apr 2010
#256
Originally Posted by ericube View Post
I tried again 2day in Terminal on my Mac which SSH connected to N900, and give me feedback like this:

Nokia-N900:~# unmount /dev/mmcblk1p1
-sh: unmount: not found
Nokia-N900:~# sfdisk -uM /dev/mmcblk1 << EOF
> ,<100>,C
> ,,L
> ,,
> ,,
> 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.

Nokia-N900:~# unmount /dev/mmcblk1p1
-sh: unmount: not found
Nokia-N900:~# mkfs.vfat /dev/mmcblk1p1 -n sdcard
mkfs.vfat 3.0.1 (23 Nov 2008)
mkfs.vfat: /dev/mmcblk1p1 contains a mounted file system.
Nokia-N900:~# mke2fs -j -m0 -L NITDroid /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
Typo mate You wrote unmount instead on umount

Theres no "n" Give that a whirl, but try and use the help thread...thats the proper place
 
Posts: 13 | Thanked: 1 time | Joined on Jun 2010 @ Glasgow, United Kingdom
#257
Cheers mate, I corrected the typo...however, it gave sth back like this

Nokia-N900:~# umount /dev/mmcblk1p1
Nokia-N900:~# sfdisk -uM /dev/mmcblk1 << EOF
> ,<100>,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 31000 cylinders, 4 heads, 16 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/5/4 (instead of 31000/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+ 968- 965- 987890+ 6 FAT16
start: (c,h,s) expected (410,4,4) found (4,2,30)
end: (c,h,s) expected (1023,4,4) found (984,4,4)
/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
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#258
ericube cross posting INTO A DEVELOPMENT THREAD will not get you help any faster, maybe if you actualyl read the howto PROPERLY you wouldn have a problem, and personally if you cant do a simple bit of partitioning a card using cli you shouldn be trying nitdroid

edit: but remove the <> and it will sort it your not supposed to have those in as is clearly mentioned in howto
 

The Following User Says Thank You to dj_steve For This Useful Post:
Posts: 490 | Thanked: 191 times | Joined on May 2010
#259
There is an alternative way to resize/create/delete partition(s) on the flash card. Since all of you are using either virtual machine or live cd, why not download and install gparted ? If you use ubuntu live cd, it's already installed there. If you are using vmware, and your system is based on debian, just type "sudo su" then "apt-get update && apt-get install gparted"
and then don't close the window and type "gparted".
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#260
actually if you notice everyone is using n900 itself
 
Closed Thread


 
Forum Jump


All times are GMT. The time now is 09:50.