mirror of
https://github.com/stornic56/debianito-post-install.git
synced 2026-07-16 05:49:49 +00:00
add Debian 11 support
- Created dedicated modules/bullseye/` folder for legacy isolation (Debian 11 support). - Implemented 4-block inclusive PCI range detection for Nvidia Kepler/Fermi to prevent black screens. - Centralized system time verification checking against year 2026 before APT execution. - Cleaned and purged modern package lists for the Bullseye extra software module. - Updated main menu with conditional sourcing and fixed Option 7 (Gaming Lite) for Bullseye. - Updated README.md with explicit TUI navigation instructions and full repository directory tree mapping.
This commit is contained in:
+41
-1
@@ -99,7 +99,47 @@ install_gpu_drivers() {
|
||||
case "$GPU_TYPE" in
|
||||
amd) install_amd_firmware ;;
|
||||
intel) install_intel_firmware ;;
|
||||
nvidia) install_nvidia_driver ;;
|
||||
nvidia)
|
||||
if [ "$DEBIAN_VERSION" = "11" ]; then
|
||||
# Bullseye: solo Fermi check, resto → nvidia-driver directo
|
||||
if type install_nvidia_bullseye &>/dev/null; then
|
||||
install_nvidia_bullseye
|
||||
else
|
||||
install_nvidia_driver
|
||||
fi
|
||||
elif [ "$DEBIAN_VERSION" = "12" ]; then
|
||||
# Bookworm: Kepler intercepción → legacy, sin nvidia-detect
|
||||
if [ "$(is_nvidia_kepler)" = "true" ]; then
|
||||
if type _install_nvidia_bookworm_kepler &>/dev/null; then
|
||||
_install_nvidia_bookworm_kepler
|
||||
else
|
||||
install_nvidia_driver
|
||||
fi
|
||||
else
|
||||
install_nvidia_driver
|
||||
fi
|
||||
elif [ "$DEBIAN_VERSION" = "13" ]; then
|
||||
# Trixie: Kepler → advertencia Nouveau, sin driver
|
||||
if [ "$(is_nvidia_kepler)" = "true" ]; then
|
||||
_msg "NVIDIA Kepler — Trixie" \
|
||||
"Su GPU es arquitectura Kepler (GKxxx).\n\n\
|
||||
Los drivers privativos NVIDIA para Kepler (rama 470)\n\
|
||||
NO están disponibles en Debian 13 (Trixie).\n\n\
|
||||
Se recomienda usar el driver libre Nouveau:\n\
|
||||
- Soporte básico de display\n\
|
||||
- Sin aceleración 3D completa\n\
|
||||
- Sin Optimus/PRIME\n\n\
|
||||
Si necesita driver privativo, use Debian 12 (Bookworm)\n\
|
||||
con nvidia-legacy-470xx-driver." 16 70
|
||||
NVIDIA_DRIVER_MODE=""
|
||||
return 1
|
||||
else
|
||||
install_nvidia_driver
|
||||
fi
|
||||
else
|
||||
install_nvidia_driver
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Mesa (backports / stable)
|
||||
|
||||
Reference in New Issue
Block a user