maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] NITDroid V2 & Multiboot Development And Announcement Thread (https://talk.maemo.org/showthread.php?t=58890)

ToJa92 2010-07-25 14:49

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Looks like I'll have to get myself a faster SD card, I don't think a Class 2 card will be enough soon :p

hidetoshi777 2010-07-25 14:51

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by ToJa92 (Post 764151)
Looks like I'll have to get myself a faster SD card, I don't think a Class 2 card will be enough soon :p

Can i read anywhere which class is my SD card?

ericube 2010-07-25 14:52

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
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?

Gundogan 2010-07-25 14:52

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by ToJa92 (Post 764151)
Looks like I'll have to get myself a faster SD card, I don't think a Class 2 card will be enough soon :p

x2

Class6 card on its way here :)


Quote:

Originally Posted by hidetoshi777 (Post 764152)
Can i read anywhere which class is my SD card?

On the package or maybe on the sd card itself.

M00NB34M 2010-07-25 14:53

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by dj_steve (Post 764148)
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!

M00NB34M 2010-07-25 14:57

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by ericube (Post 764153)
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" :D Give that a whirl, but try and use the help thread...thats the proper place :)

ericube 2010-07-25 15:25

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
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

dj_steve 2010-07-25 15:27

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
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

aligatro 2010-07-25 16:56

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
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".

dj_steve 2010-07-25 17:06

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
actually if you notice everyone is using n900 itself :)


All times are GMT. The time now is 16:57.

vBulletin® Version 3.8.8