Plan détaillé pour installation Debian minimale (terminal-only) en dual-boot, incluant optimisation batterie et partitionnement NVMe. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
149 lines
3.5 KiB
Markdown
149 lines
3.5 KiB
Markdown
# Plan Dual Boot Windows/Linux
|
|
|
|
## Objectif
|
|
Installer Linux en dual-boot avec Windows pour optimiser la batterie en utilisant principalement le terminal.
|
|
|
|
## Configuration matérielle
|
|
- Stockage : NVMe/SSD 1 To
|
|
- Utilisation : Terminal + lecture PDF occasionnelle
|
|
- Pas de carte graphique dédiée sous Linux
|
|
|
|
## Choix de distribution
|
|
**Debian (netinst)** - Installation minimale sans UI
|
|
|
|
## Phase 1 : Préparation Windows
|
|
|
|
### 1.1 Sauvegarde
|
|
- [ ] Backup des données importantes
|
|
- [ ] Liste des logiciels installés
|
|
- [ ] Export des paramètres essentiels
|
|
|
|
### 1.2 Optimisation avant redimensionnement
|
|
```powershell
|
|
# Désactiver hibernation
|
|
powercfg /h off
|
|
|
|
# Désactiver fichier d'échange (temporaire)
|
|
# Paramètres → Système → Avancé → Performances → Mémoire virtuelle → Aucun
|
|
|
|
# Nettoyer
|
|
cleanmgr
|
|
```
|
|
|
|
### 1.3 Redimensionnement partition
|
|
- [ ] Ouvrir Gestion des disques (Win + X)
|
|
- [ ] Réduire volume C: de 100-150 GB
|
|
- [ ] Laisser l'espace "non alloué"
|
|
|
|
### 1.4 Paramètres BIOS/UEFI
|
|
- [ ] Désactiver Fast Boot (Windows)
|
|
- [ ] Vérifier mode UEFI (pas Legacy)
|
|
- [ ] Secure Boot (optionnel, Debian le supporte)
|
|
|
|
## Phase 2 : Installation Linux
|
|
|
|
### 2.1 Préparation
|
|
- [ ] Télécharger Debian netinst ISO
|
|
- [ ] Créer clé USB bootable (Rufus/Balena Etcher)
|
|
- [ ] PC branché sur secteur
|
|
|
|
### 2.2 Partitionnement suggéré (sur ~100-150 GB)
|
|
```
|
|
/boot/efi → 512 MB (partagé avec Windows)
|
|
/ → 40-50 GB
|
|
swap → 8-16 GB
|
|
/home → Le reste (~50-90 GB)
|
|
```
|
|
|
|
### 2.3 Installation
|
|
- [ ] Boot sur clé USB
|
|
- [ ] Choix "Install" (pas graphique)
|
|
- [ ] Configuration réseau
|
|
- [ ] **Important** : Décocher "Environnement de bureau" lors du choix de logiciels
|
|
- [ ] Installer uniquement : "Utilitaires usuels du système"
|
|
- [ ] Installation bootloader (GRUB détectera Windows)
|
|
|
|
## Phase 3 : Configuration post-installation
|
|
|
|
### 3.1 Système de base
|
|
```bash
|
|
# Mise à jour
|
|
sudo apt update && sudo apt upgrade
|
|
|
|
# Outils essentiels
|
|
sudo apt install tmux neovim git curl wget htop
|
|
|
|
# File manager TUI
|
|
sudo apt install ranger
|
|
|
|
# Gestion batterie
|
|
sudo apt install tlp powertop
|
|
sudo systemctl enable tlp
|
|
```
|
|
|
|
### 3.2 Lecteur PDF
|
|
```bash
|
|
# Option 1 : Zathura (léger)
|
|
sudo apt install zathura
|
|
|
|
# Option 2 : Pour PDF dans terminal
|
|
pip install termpdf
|
|
```
|
|
|
|
### 3.3 Window Manager (optionnel, si besoin UI)
|
|
```bash
|
|
# i3 tiling WM
|
|
sudo apt install i3 xorg
|
|
|
|
# Lancer avec : startx
|
|
```
|
|
|
|
### 3.4 Optimisation batterie
|
|
```bash
|
|
# Configuration TLP
|
|
sudo tlp-stat
|
|
|
|
# PowerTop pour analyser consommation
|
|
sudo powertop --auto-tune
|
|
```
|
|
|
|
## Phase 4 : Vérifications finales
|
|
|
|
### 4.1 Dual-boot
|
|
- [ ] Vérifier que GRUB affiche Windows et Linux
|
|
- [ ] Tester boot sur Windows
|
|
- [ ] Tester boot sur Linux
|
|
|
|
### 4.2 Réactiver dans Windows
|
|
- [ ] Réactiver fichier d'échange si nécessaire
|
|
- [ ] Vérifier que tout fonctionne
|
|
|
|
## Répartition finale du disque (1 To)
|
|
|
|
```
|
|
Windows : ~600-700 GB
|
|
Linux / : ~40-50 GB
|
|
Linux /home : ~50-90 GB
|
|
Linux swap : ~8-16 GB
|
|
```
|
|
|
|
## Backup du plan
|
|
|
|
### En cas de problème
|
|
- Live USB Linux peut toujours accéder aux partitions
|
|
- Windows peut être restauré via points de restauration
|
|
- Bootloader peut être réparé avec Boot Repair
|
|
|
|
## Notes importantes
|
|
|
|
- Ne jamais redimensionner sur batterie
|
|
- Fast Boot Windows doit être désactivé (conflit avec Linux)
|
|
- GRUB peut être personnalisé après installation
|
|
- Temps estimé : 1-2h selon débit internet
|
|
|
|
## Ressources
|
|
|
|
- Wiki Debian : https://wiki.debian.org/
|
|
- TLP documentation : https://linrunner.de/tlp/
|
|
- i3 user guide : https://i3wm.org/docs/userguide.html
|