Dopo un paio di giorni trascorsi tra chat,forum e wiki sono riuscito ad installare su sd om2008.8 ma con la stessa procedura di possono installare tutte le altre immagini.
PARTIZIONI NELLA SCHEDA SD:
Innanzitutto bisogna preparare le partizioni sulla scheda SD in questo modo :
fdisk /dev/mmcblk0
e poi seguiamo questo schema :
Command (m for help): d
Selected partition 1
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-983, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-983, default 983): +8M
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (18-1793, default 18):
Using default value 18
Last cylinder or +size or +sizeM or +sizeK (18-1793, default 1793):
Using default value 1793
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Formattiamo la prima partizione della scheda:
mkfs.vfat /dev/mmcblk0p1
e la seconda partizione:
mkfs.ext3 /dev/mmcblk0p2
Adesso abbiamo la scheda SD pronta per l’installazione dell’immagine!
INSTALLIAMO L’IMMAGINE :
Scarichiamo l’immagine della distribuzione che ci interessa in tar.gz,e trasferiamolo nella SD tramite una sessione ssh :
scp NostraImmagine.tar.gz root@192.168.0.202:/media/mmcblk0p2/
Adesso logghiamoci sul freerunner sempre in ssh ed estraiamo il file dall’archivio tar.gz :
cd /media/mmcblk0p2
tar xzf NostraImmagine.tar.gz
rm NostraImmagine.tar.gz
rm -f /media/mmcblk0p2/boot/*
Adesso dobbiamo installare il kernel,quindi sul nostro pc scarichiamo il kernel relativo all’immagine da installare (il kernel ha l’estenzione .bin) e lo rinominiamo in uImage.bin come segue:
mv KernelScaricato.bin uImage.bin
scp uImage.bin root@192.168.0.202:/media/card/boot/
scp uImage.bin root@192.168.0.202:/media/card/
Adesso possiamo riavviare il nostro freerunner da NAND e scegliere “Boot from SD” e partirà la vostra nuova immagine!
Settembre 13th, 2008 at 15:40
root@om-gta02:~# fdisk /dev/mmcblk0
The number of cylinders for this disk is set to 17792.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): d
Selected partition 1
Command (m for help): n
Command action
e extended
p primary partition (1-4)
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-17792, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-17792, default 17792): +8M
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (281-17792, default 281): Using default value 281
Last cylinder or +size or +sizeM or +sizeK (281-17792, default 17792): Using default value 17792
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy
Che faccio?
Settembre 13th, 2008 at 15:48
scrivi:
umount /dev/mmcblk0p1
e fai nuovamente la procedura:
fdisk /dev/mmcblk0
vedo che lo stai facendo direttamente dal freerunner,io la formattazione della sd l’ho fatta dal lettore di schede del portatile ma credo non cambi molto.
Settembre 13th, 2008 at 17:09
root@om-gta02:~# mkfs.vfat /dev/mmcblk0p1
sh: mkfs.vfat: not found
root@om-gta02:~# mkfs.
mkfs.ext2 mkfs.ext3 mkfs.minix
mkfs.ext2.e2fsprogs mkfs.ext3.e2fsprogs
e sulla mia ubuntubox e avevo già istallato dosfstools
Settembre 30th, 2008 at 05:45
Per chiarezza, dato che non ho capito molto tutta la trafila.. se non facessi le partizioni sulla sdcard è possibile estrarre direttamente i files nella mamory? il FR ha bisogno di una partizione particolare?
Max
Settembre 30th, 2008 at 18:54
@ Cicchetebom : le partizioni servono perchè sono di due tipi vfat ed ext3 non puoi mettere tutto in un’unica partizione.
Ottobre 7th, 2008 at 21:17
Dopo aver preparato le partizioni sulla mia scheda SD, alla scrittura (comando fdisk “w”) ottengo il seguente messaggio:
“Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy”
Digiatando da terminale: “umount /dev/mmcblk0p1″ ottengo:
“umount: /media/mmcblk0p1: device is busy”
Cosa posso fare? Ho installato sul mio FR solo OM2008.09+update e non riesco ad installare nessuna distribuzione sulla microSD.
Ciao e grazie
Novembre 6th, 2008 at 14:00
Ho già installato sulla sd qtopia 4.3 e vorrei installarci la fdom.Ho già le part. vfat e ext3 posso riscriverci sopra? visto che hjo problemi a formattare?
Novembre 6th, 2008 at 14:09
[root@localhost pinguino]# fdisk /media/disk-3
last_lba(): I don’t know how to handle files with mode 40755
Impossibile scrivere la tabella delle partizioni.
Impossibile leggere /media/disk-3
uso mandriva
tanks
Dicembre 1st, 2008 at 13:46
ciao,
ho installato qtopia su sd in formato tar. Siccome a scompattarlo tramite il mokkolo ci mette troppo , lo posso scompattare da pc inserendo la sd nell’adattatore?ciao e grazie
Febbraio 27th, 2009 at 17:44
A faithful friend is hard to find
Marzo 3rd, 2009 at 07:24
Gut!
Marzo 5th, 2009 at 23:54
if you say
Marzo 14th, 2009 at 20:16
Sehr wertvolle Informationen! Empfehlen!