[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1024720: d-i fails at grub when another installer is on disk



On Wed, Nov 23, 2022 at 07:31:39PM +0000, Peter Palfrader wrote:
>Package: installation-reports
>Severity: normal
>
>Boot method: USB
>Image version: firmware-testing-amd64-netinst.iso (https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-cd/; 2022-11-21)
>Date: Wed, 23 Nov 2022 20:27:28 +0100
>
>Machine: Lenovo Thinkpad X13 Yoga Gen3
>
>This machine came with an Ubuntu Installer on disk, in nvme0n1p2.
>
>This confused the grub on the installer image as it did not find the
>correct root partition:
>
>} grub> search --file --set=root /.disk/info
>} grub> echo $root
>} hd0,gpt2
>
>As opposed to (cd0).
>
>A workaround was to rename the .disk/info file on nvme0n1p2.
>
>A fix might be if each installer image used and searched for a unique
>file.

Exactly. I've just pushed that as a fix to the debian-cd build scripts
which should fix this for future builds.

Massive thanks for helping to debug this!

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
There's no sensation to compare with this
Suspended animation, A state of bliss


Reply to: