Legacy installation without EFI

オープン
#90 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
linux, python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
58
フォーク
57
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/ubiquity のほかの issue

linuxmint/ubiquity の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。