💾 Archived View for gmi.noulin.net › mobileNews › 2950.gmi captured on 2023-06-16 at 19:49:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2024-05-10)

-=-=-=-=-=-=-

nitdroid 0.2.6 - Nokia N900

2011-03-08 22:30:15

8 GB MicroSD

/usr/bin/nitdroid
/usr/bin/nitdroid-installer

Log file:

/home/user/MyDocs/.nitdroid/installer.log

Quit apt and the application manager.

Run nitdroid

nitdroid

It stops at:

Formatting /dev/mmcblk1p2 (ext3) ...

In the log file, I get:

/dev/mmcblk1p2 is not a block special device.

Proceed anyway? (y,n)

Press y enter

Log file:

ERROR:1 mkfs.ext3 -m0 -L NITDroid /dev/mmcblk1p2

/dev/mmcblk1p2: Not enough space to build proposed filesystem while setting up

superblock

Install cfdisk

apt-get install cfdisk

FATAL ERROR: Bad primary partition 0: Partition ends in the final partial

cylinder

cfdisk doesnt work well, use sfdisk:

the only fdisk utility on the device is sfdisk. fdisk could be extracted from

Debian packages but it aligns partitions based on virtual harddisk cylinders

and not on flash blocks.

sfdisk --?

sfdisk: unrecognized option `--?'

sfdisk version 3.08 (aeb@cwi.nl, 040824) from util-linux-2.12r

Usage: sfdisk [options] device ...

device: something like /dev/hda or /dev/sda

useful options:

-s [or --show-size]: list size of a partition

-c [or --id]: print or change partition Id

-l [or --list]: list partitions of each device

-d [or --dump]: idem, but in a format suitable for later input

-i [or --increment]: number cylinders etc. from 1 instead of from 0

-uS, -uB, -uC, -uM: accept/report in units of sectors/blocks/cylinders/MB

-T [or --list-types]:list the known partition types

-D [or --DOS]: for DOS-compatibility: waste a little space

-R [or --re-read]: make kernel reread partition table

-N# : change only the partition with number #

-n : do not actually write to disk

-O file : save the sectors that will be overwritten to file

-I file : restore these sectors again

-v [or --version]: print version

-? [or --help]: print this message

dangerous options:

-g [or --show-geometry]: print the kernel's idea of the geometry

-G [or --show-pt-geometry]: print geometry guessed from the partition table

-x [or --show-extended]: also list extended partitions on output

or expect descriptors for them on input

-L [or --Linux]: do not complain about things irrelevant for Linux

-q [or --quiet]: suppress warning messages

You can override the detected geometry using:

-C# [or --cylinders #]:set the number of cylinders to use

-H# [or --heads #]: set the number of heads to use

-S# [or --sectors #]: set the number of sectors to use

You can disable all consistency checking with:

-f [or --force]: do what I say, even if it is stupid

sfdisk -d /dev/mmcblk1 > table

partition table of /dev/mmcblk1

unit: sectors

/dev/mmcblk1p1 : start= 8192, size= 15515648, Id= b

/dev/mmcblk1p2 : start= 0, size= 0, Id= 0

/dev/mmcblk1p3 : start= 0, size= 0, Id= 0

/dev/mmcblk1p4 : start= 0, size= 0, Id= 0

New table:

partition table of /dev/mmcblk1

unit: sectors

/dev/mmcblk1p1 : start= 8192, size= 11636736, Id= b

/dev/mmcblk1p2 : start= 11644928, size= 3870720, Id= 0

/dev/mmcblk1p3 : start= 0, size= 0, Id= 0

/dev/mmcblk1p4 : start= 0, size= 0, Id= 0

sfdisk --no-reread /dev/mmcblk1 < table

sfdisk -c /dev/mmcblk1 2 83

Reboot

Run nitdroid

nitdroid

Downloads: http://downloads.nitdroid.com/nitinstaller/Packages/

NitDroid-0.0.8-Popov.tar.bz2

70M = 20 minutes

Then 5 minutes:

Downloading oc-profile-500-700.tar.bz2 ...done

Downloading sensors-ril-patch-1.tbz2 ...done

Downloading fakegps.tar.bz2 ...done

Downloading nitdroid-kernel-2.6.28-06_final1_armel.deb ...done

Mounting /dev/mmcblk1p2 ...done

Extracting NitDroid-0.0.8-Popov.tar.bz2 ...done

Extracting oc-profile-500-700.tar.bz2 ...done

Extracting sensors-ril-patch-1.tbz2 ...done

Extracting fakegps.tar.bz2 ...done

Installing nitdroid-kernel-2.6.28-06_final1_armel.deb ...done

Unmounting /dev/mmcblk1p2 ...done

_____ ___ ___ ___ ___

|\ || /| /____/ | \ | \ | \ /| | \

| \ || || | | | |___/ | | || | |

|| \ || || || || | ||\\ || | || || |

|| \|| || || ||__/ || \\ ||__| || ||__/

It takes 2-3 minutes to boot the first time.