port sur banana-pi/pro [Réglé]
Cherche de l'aide
Système et matériels / Autres matériels et périphériques
Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Reprise du message précédent
nic80 :
Il manque l' avertissement que la commande dd est destructrice si on ne fait pas attention à la destination !
Même si les "graveurs" de carte Sd le savent ...
Même si les "graveurs" de carte Sd le savent ...
hum... Oui je pense que ce serait bien de le préciser. Qu'ils n'espèrent pas retrouver leurs photos de vacances après formatage de la sd...nic80 :
Je crois que la phrase aussi ! Je verrais bien un "été" entre le "a" et "réduite"
Citation :
Pour gagner en temps de téléchargement, l'image a réduite
Je crois que la phrase aussi ! Je verrais bien un "été" entre le "a" et "réduite"
Oui. Merci
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
| Arch | Machine | OS |
| x86_64 | lenovo x250 | mga9 |
| armv7hl | bananapro | mga9 |
| aarch64 | Raspberry Pi 4B | mga9 |
Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Code TEXT :
Attention : dd is a powerful command that overright anything without any warning. If you miswrote your command, you may erase your main disk. All data in the sd-card will be removed.
et
Code TEXT :
Attention : dd est une commande puissante qui réécrit les données sans aucun avertissement. Si vous vous trompez dans la commande, vous pourriez effacer votre disque principal. Toutes les données dans la carte sd seront supprimées.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
| Arch | Machine | OS |
| x86_64 | lenovo x250 | mga9 |
| armv7hl | bananapro | mga9 |
| aarch64 | Raspberry Pi 4B | mga9 |
nic80 Membre non connecté
-
- Voir le profil du membre nic80
- Inscrit le : 06/08/2018
- Groupes :
-
Modérateur
Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
| Arch | Machine | OS |
| x86_64 | lenovo x250 | mga9 |
| armv7hl | bananapro | mga9 |
| aarch64 | Raspberry Pi 4B | mga9 |
Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Code TEXT :
### Introduction Single board computers come in many different architectures. Each of them boots its own way, which makes it impossible create a standard process, and therefore impossible to provide a Live ISO with an installer software. Yet, it is possible to build an image of an installed system and distribute it, with the following drawbacks: one pre-defined root password, an existing default user with its password, and other configurations that will need to be done manually. The image has been reduced to a minimum in order to allow a faster download and to fit on any micro-sd card, but it is possible to extend the main partition after the install and use the full capacity of the sd-card. ### Burning image Depending on the device you will use on your PC, a micro-sd card can be accessible under different paths — **generally** under `/dev/mmcblo0` — and in read and write access only for root. Attention : dd is a powerful command that overwrite anything without any warning. If you miswrote your command, you may erase your main disk. All data in the sd-card will be removed. ``` dd if=./Mageia-7-bananaPro1.img of=/dev/mmcblk0 ``` This could take a long time and look like your system is frozen, but it is not. You can display a progress bar with the `pv` command (from the `pv` package). The command to burn the image is different: ``` dd if=./Mageia-7-bananaPro1.img | pv -s $(ls -l ./Mageia-7-bananaPro1.img | cut -d ' ' -f 5) | dd of=/dev/mmcblk0 ``` Instead of the command line, you can use Isodumper. ### Extending the partition Mageia's image for the Banana Pro has two storage areas: the first one is a non partitioned space at the beginning of the image and containing the uboot bootloade; the second one is an ext4 root partition. It is possible to extend this partition to fit the full size of the sd-card, but you will have to install the `cloud-utils-growpart` package first. ``` e2fsck -f /dev/mmcblk0p1 LC_ALL=C growpart /dev/mmcblk0 1 resize2fs /dev/mmcblk0p1 sync ``` ### First connexion and credentials On your first connexion, it is recommended to connect to your Banana Pro with a serial link in order to configure ssh. After that, you will be able to connect to it through the network. The default `root` password is `ProR00t`. The default user is `banana` and its password is `bananaPro`. It is **highly recommended** to delete this default user and to change the root password, for safety reasons.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
| Arch | Machine | OS |
| x86_64 | lenovo x250 | mga9 |
| armv7hl | bananapro | mga9 |
| aarch64 | Raspberry Pi 4B | mga9 |
Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Cependant, un script génère un chemin alternatif prioritaire pour le démarrage avec uboot.
C'est bien ! Mais ... Il est erroné.
Il faut supprimer les lignes :
Code BASH :
label kernel
du fichier /boot/extlinux/extlinux.conf
et la banana Pro démarre directement sur le nouveau noyau.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
| Arch | Machine | OS |
| x86_64 | lenovo x250 | mga9 |
| armv7hl | bananapro | mga9 |
| aarch64 | Raspberry Pi 4B | mga9 |
Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Le fichier créé à la première mise à jour qu'on doit modifier (/boot/extlinux/extlinux.conf) est bien régénéré sans grande erreur. Juste une répétition : root=UUID=... root=UUID=...
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
| Arch | Machine | OS |
| x86_64 | lenovo x250 | mga9 |
| armv7hl | bananapro | mga9 |
| aarch64 | Raspberry Pi 4B | mga9 |
Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Finalement, Stroibe974 m'a mis en tête d'en faire un torrent.
C'est chose faite !
==> Enjoy (Le plaisir est par ici) <==
(Notez qu'il n'est pas autorisé de fournir de fichier .torrent sur le site d'MLO, ainsi, veuillez supprimer .txt à la fin du nom de fichier avec de l'ajouter à votre gestionnaire de torrent.)
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
| Arch | Machine | OS |
| x86_64 | lenovo x250 | mga9 |
| armv7hl | bananapro | mga9 |
| aarch64 | Raspberry Pi 4B | mga9 |
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie