Legacy installation without EFI

Abierto
#90 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
18/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
linux, python

Línea de trabajo

The issue names no files; start from the partitioning step of the ubiquity installer and the step that invokes grub-install, then check how the installer decides between EFI and legacy boot. Note the request is undecided between exposing a legacy-boot option in the partitioning settings and autodetecting the firmware mode, so the design question comes first. Done looks like an agreed approach plus the code path that writes an msdos partition table and installs the bootloader to the MBR. The thread has had no maintainer reply in over a year, so ask before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Moin,

we would like to have the option of installing Mint without EFI, using the legacy method.
At least on two older notebooks on which we tested and set legacy boot (the default) in the BIOS, Mint installed EFI with gpt instead of msdos partition+bootable flag+MBR and the systems did not boot in legacy mode after installation.
Then after the Installation the BIOS hangs here:

Invalid partition table
No boot device found.

After reactivating EFI in the BIOS the installations boot. So setting the BIOS to EFI seems to be necessarily forced and mint forces the EFI installation.

Would it be possible to add the option somewhere in the partitioning settings in the Mint Installer that Mint should be installed in legacy mode?

I was able to do this legacy method manually from the bootable stick - so Mint seems to have everything necessary on board:

  • I did the partitioning manually via gparted before the installation and created a new “msdos” partition table.
  • then I created a primary partition with 1GB and ext4 file system and a partition with the remaining available size also formatted with ext4.
  • next I started the Mint installation and defined "/boot" for the 1GB partition and "/" for the other partition under (Installation type -> Something else).
  • After the installation I did not reboot but installed the bootloader manually with the following commands (sdX in this case my disk).
sudo mount /dev/sdX2 /mnt
sudo mount /dev/sdX1 /mnt/boot
sudo mount --bind /dev /mnt/dev
sudo chroot /mnt /bin/bash
grub-install /dev/sdX
sync

Then reboot and it runs without EFI.

Tested with Mint 22 (Cinnamon) USB Stick.

Maybe there is a way to autodetect whether the BIOS stands on legacy or EFI boot and install mint automatically on the right path?

Thanks and regards
olli

Lenguaje dominante
Python
Estrellas
58
Forks
57
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de linuxmint/ubiquity

Todos los issues de linuxmint/ubiquity

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.