Instala GRUB en el chroot (archinstall 4.3 no lo hace)
archinstall 4.3 instala el paquete grub y detecta la ESP, pero no ejecuta grub-install/grub-mkconfig con el esquema /boot ext4 separado + ESP, dejando el sistema sin bootloader. Nuevo helper install_bootloader() en shared, que ambos setup.sh llaman tras los paquetes pacman. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
e15727782d
commit
a3f668868c
@@ -61,6 +61,9 @@ install_pacman "${PACMAN_COMMON[@]}" \
|
|||||||
gnome-calculator gnome-tweaks gnome-themes-extra \
|
gnome-calculator gnome-tweaks gnome-themes-extra \
|
||||||
gnome-shell-extension-appindicator
|
gnome-shell-extension-appindicator
|
||||||
|
|
||||||
|
echo ">> Bootloader (GRUB)..."
|
||||||
|
install_bootloader
|
||||||
|
|
||||||
echo ">> Bootstrapeando paru y paquetes AUR..."
|
echo ">> Bootstrapeando paru y paquetes AUR..."
|
||||||
bootstrap_paru
|
bootstrap_paru
|
||||||
install_aur "${AUR_COMMON[@]}" \
|
install_aur "${AUR_COMMON[@]}" \
|
||||||
|
|||||||
@@ -56,6 +56,9 @@ echo ">> Paquetes oficiales (pacman)..."
|
|||||||
install_pacman "${PACMAN_COMMON[@]}" \
|
install_pacman "${PACMAN_COMMON[@]}" \
|
||||||
kcalc ark spectacle
|
kcalc ark spectacle
|
||||||
|
|
||||||
|
echo ">> Bootloader (GRUB)..."
|
||||||
|
install_bootloader
|
||||||
|
|
||||||
echo ">> Bootstrapeando paru y paquetes AUR..."
|
echo ">> Bootstrapeando paru y paquetes AUR..."
|
||||||
bootstrap_paru
|
bootstrap_paru
|
||||||
install_aur "${AUR_COMMON[@]}"
|
install_aur "${AUR_COMMON[@]}"
|
||||||
|
|||||||
@@ -57,6 +57,15 @@ install_aur() {
|
|||||||
as_user "paru -S --needed --noconfirm $*"
|
as_user "paru -S --needed --noconfirm $*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# archinstall 4.3 instala el paquete grub pero NO ejecuta grub-install con
|
||||||
|
# nuestro esquema (/boot ext4 separado + ESP): el sistema queda sin bootloader.
|
||||||
|
# Lo hacemos aquí (root, dentro del chroot). Idempotente.
|
||||||
|
install_bootloader() {
|
||||||
|
install_pacman grub efibootmgr
|
||||||
|
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --recheck
|
||||||
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
}
|
||||||
|
|
||||||
# HelpWire no tiene AUR: descargar .deb, convertir con debtap, instalar.
|
# HelpWire no tiene AUR: descargar .deb, convertir con debtap, instalar.
|
||||||
install_helpwire() {
|
install_helpwire() {
|
||||||
local url="https://www.helpwire.app/downloads/operator/linux/helpwire-operator.deb"
|
local url="https://www.helpwire.app/downloads/operator/linux/helpwire-operator.deb"
|
||||||
|
|||||||
Reference in New Issue
Block a user