Scripts triple boot Debian 13 x86_64 pour Terra portable tactile

- tripleboot-install.sh : partitionnement + 3x debootstrap automatisé
- install-x86.sh : installation appli adaptée x86
- setup-kiosk.sh : auto-login + Chromium kiosk tactile
- photobooth-x86.service : service systemd x86
- install-tripleboot.md : guide d'installation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 09:53:51 +02:00
parent 32392d3ccd
commit c6fb8cae20
5 changed files with 562 additions and 0 deletions

View File

@@ -0,0 +1,113 @@
# Triple Boot Debian 13 - Terra Portable Tactile
## Materiel
- Terra portable tactile
- NVMe 512 Go
- Ecran tactile integre
## Schema de partitionnement
| # | Partition | Taille | Type | Usage |
|---|--------------|--------|-------|----------|
| 1 | EFI | 512 Mo | FAT32 | Partagee |
| 2 | photobooth | 155 Go | ext4 | Projet 1 |
| 3 | photostation | 155 Go | ext4 | Projet 2 |
| 4 | autre | 155 Go | ext4 | Projet 3 |
| 5 | swap | 8 Go | swap | Partage |
> Disque Terra : NVMe 512 Go (476 Go utiles)
## Preparation
1. Telecharger l'ISO Debian 13 (Trixie) netinst :
https://www.debian.org/devel/debian-installer/
2. Creer une cle USB bootable :
```bash
sudo dd if=debian-13-amd64-netinst.iso of=/dev/sdX bs=4M status=progress
```
## Installation 1 : Photobooth
1. Booter sur la cle USB
2. Choisir "Install" (pas graphique, plus leger)
3. Nom de machine : `photobooth`
4. Utilisateur : `jules`
5. Partitionnement **manuel** :
- Creer partition EFI 512 Mo (FAT32, flag boot)
- Creer partition 150 Go ext4, montee sur `/`
- Creer partition 150 Go ext4 (ne PAS monter, pour photostation)
- Creer partition 145 Go ext4 (ne PAS monter, pour autre)
- Creer partition 8 Go swap
6. Selection logiciels : decocher TOUT sauf "utilitaires usuels du systeme"
- Pas de bureau, pas de serveur web, rien
7. Installer GRUB sur le disque
## Installation 2 : Photostation
1. Booter a nouveau sur la cle USB
2. Nom de machine : `photostation`
3. Partitionnement **manuel** :
- Utiliser la partition EFI existante (512 Mo, monter sur `/boot/efi`)
- Monter la 2eme partition 150 Go sur `/` (formater)
- NE PAS toucher aux autres partitions
- Utiliser le swap existant
4. Meme selection logiciels minimale
5. Installer GRUB (il detectera les autres OS)
## Installation 3 : Autre
1. Meme procedure, sur la 3eme partition 145 Go
2. Nom de machine : `autre`
## Apres les 3 installations
### Renommer les entrees GRUB (depuis n'importe quelle partition)
```bash
sudo nano /etc/grub.d/40_custom
```
Ajouter :
```
menuentry "Photobooth" {
search --no-floppy --fs-uuid --set=root <UUID-PARTITION-1>
linux /boot/vmlinuz root=UUID=<UUID-PARTITION-1> ro quiet splash
initrd /boot/initrd.img
}
menuentry "Photostation" {
search --no-floppy --fs-uuid --set=root <UUID-PARTITION-2>
linux /boot/vmlinuz root=UUID=<UUID-PARTITION-2> ro quiet splash
initrd /boot/initrd.img
}
menuentry "Autre" {
search --no-floppy --fs-uuid --set=root <UUID-PARTITION-3>
linux /boot/vmlinuz root=UUID=<UUID-PARTITION-3> ro quiet splash
initrd /boot/initrd.img
}
```
Puis :
```bash
sudo update-grub
```
### Installer le photobooth (sur la partition photobooth)
```bash
sudo apt install -y git
git clone https://git.copydev.fr/jules/photobooth.git ~/photobooth
cd ~/photobooth
chmod +x scripts/*.sh
sudo bash scripts/install-x86.sh
sudo reboot
```
## Notes
- L'ecran tactile Terra devrait fonctionner out-of-the-box avec le driver evdev/libinput
- Si besoin de calibrer le tactile : `xinput_calibrator`
- Pour changer le projet au boot : maintenir Shift au demarrage pour afficher GRUB
- Timeout GRUB par defaut : 5 secondes, puis boot sur le dernier OS utilise