Legacy installation without EFI

Aperta
#90 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
linux, python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
58
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmint/ubiquity

Tutte le issue di linuxmint/ubiquity

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.