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

Re: Preparing dual boot (Was: Automated testing of d-i)



Hello,

I've made some progress in preparing for the co-installation of Debian next to a pre-installed Windows (which I think would be a typical use case).

On 25/05/2025 13:30, Roland Clobus wrote:
From my point of view, we are missing the following scenarios with the default debconf priority:
[snip]
* Co-installation with a pre-existing Microsoft Windows (a typical user migration scheme, which will also support the EndOf10 use cases https:// endof10.org/)

* Before I can have automated tests, I need to do each step manually.
* I have prepared a 60GB Windows 11 (24H2) installation with default settings (a VM with 4GB RAM, no network [1], TPM 2.0, UEFI Secure Boot). Per default all disk space is allocated by the Windows installer. * Because the d-i in the guided partition mode works with the unallocated space, I shrunk (under Windows) the NTFS data partition to have 20GB free. * Looking at [2] and [3], I would like to keep Secure Boot turned on and also to keep the encryption state as it is.
* Then I rebooted with the Trixie RC1 netinst ISO image.
* During guided partitioning, d-i created 3 partitions: 1) EFI System, 1GB 2) Linux filesystem (18GB) 3) Linux swap (1GB) * Note that on the HD an EFI system partition was already present, as created by Windows, with a size of 100MB. * The pre-existing EFI system partition has 62MB free, more than sufficient for the Debian files (about 5MB). * After finishing the installation and rebooting, only the Windows boot option was present and working. (I guess the EFI variables need to point to the current partition)

This leaves me with several questions:
* Should dual boot of Windows and Debian on the same HD be possible and easy? * Should the d-i be able to shrink the NTFS-Bitlocker partition to free up some space for Debian?
* Why is a second EFI system partition created?
* Does it hurt that the order of the partitioning is out-of-order (the Debian partitions are numbered after the recovery partition, fdisk complain about this)?
* Am I doing things the way they should be, or should I install differently?
* Would dual booting with Windows 10 be easier?

With kind regards,
Roland Clobus

[1] No network, because I currently don't want to download all Windows Updates without a proxy every time I retry the installation
[2] https://wiki.debian.org/DualBoot/Windows
[3] https://ostechnix.com/dual-boot-windows-and-debian/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: