No grub boot menu after installing Mint dual boot with Legacy BIOS setting

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
linux, python

調査の方向性

No code paths are named in the payload. Start from ubiquity's bootloader/GRUB installation path for Legacy BIOS and compare it with the attached boot_repair_pastebin_output.txt, focusing on how os-prober and GRUB menu entries are handled after adding Mint. Reproduce with the reported Legacy BIOS dual-disk layout from the fdisk output and check whether the installer updates GRUB/probes Windows. Done means a fresh install shows a GRUB menu listing Windows without running Boot Repair.

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

説明

I have an Acer Aspire E 15 laptop. I had Windows 10 on one hard drive from my old computer which I cloned to a new, larger hard drive. My BIOS was set in Legacy (not UEFI) mode, and Windows worked in that mode. Then I installed Mint, using the option "install alongside Windows". After installation, it directly booted into Mint, but there was no Grub menu on boot so no way to boot to Windows. I was able to fix it by running Boot Repair from the Live USB using the automatic settings - but it should not have been necessary to do so. Whatever Boot Repair did to fix the issue should have happened during installation. See the attached file below for the output from Boot Repair.

The original hard drive that was cloned looks like this, from fdisk:

adam>sudo fdisk -l /dev/sda
Disk /dev/sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model:  SA400S37480G   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0x59d38595

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048    104447    102400    50M  7 HPFS/NTFS/exFAT
/dev/sda2          104448 936661644 936557197 446.6G  7 HPFS/NTFS/exFAT
/dev/sda3       936663040 937697279   1034240   505M 27 Hidden NTFS WinRE

And the new drive after installation looks like this:

adam>sudo fdisk -l /dev/sda
Disk /dev/sda: 894.25 GiB, 960197124096 bytes, 1875385008 sectors
Disk model:  SA400S37960G   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0x59d38595

Device     Boot     Start        End   Sectors   Size Id Type
/dev/sda1            2048     104447    102400    50M  7 HPFS/NTFS/exFAT
/dev/sda2          104448  936661644 936557197 446.6G  7 HPFS/NTFS/exFAT
/dev/sda3       936663040  937697279   1034240   505M 27 Hidden NTFS WinRE
/dev/sda4       937699326 1875384319 937684994 447.1G  f W95 Ext'd (LBA)
/dev/sda5  *    937699328  938747903   1048576   512M ef EFI (FAT-12/16/32)
/dev/sda6       938749952 1875384319 936634368 446.6G 83 Linux

The output of the Boot Repair operation which fixed the problem is attached.

boot_repair_pastebin_output.txt

I had discussed this issue on the forums here but I've summarized the relevant info in this report.

主要言語
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 を短くまとめたダイジェスト。