Hi, what is recommended for driver development when the target PC is running Windows 11? How do I load drivers that only have a test signature?
Windows 11 requires for the installation that Secure Boot is activated. However after installation it is possible to disable Secure Boot:
There is also a possibility to load drivers with a test-signature while Secure Boot is activated:
As a side note: I want to dual-boot a current Ubuntu version with grub.
What is your experience?
Yes, it is possible to enable test signing on Windows 11, just like on Windows 10. You do have to disable Secure Boot in the BIOS, however. As a reminder, the command to enable test signing is done in an Admin command prompt:
bcdedit /set testsigning on
And as for dual-booting with Ubuntu, I've had good luck with that by first installing Windows, but not using the whole disk for the installation. Maybe just half of it, or whatever suits you. Then, once installation of Windows is done, create partitions where you will install Ubuntu. I like to create one for the swap space and one for the root partition. I'd suggest a swap area of 16 GB if you have 16 GB of RAM, but you can do something else if that makes more sense to you. Then just boot from your installation media and direct the installer to use your swap and root partitions, and you should end up with a grub bootloader. If you choose to boot into Windows from there, it then goes into your Windows bootloader.
Anyway, that has worked well for me for some years. Your mileage may vary.
Thanks,
Don
2 Likes
I dual boot almost all my development PCs with Ubuntu. I first install Windows letting it use the whole disk and then use Disk Manager to reduce the partition size and make room for Ubuntu. I then have Ubuntu install into that free space (it usually opts to do this by default).
After doing that there is one more step. You must set Ubuntu to use local time for the RTC to match what Windows does or your time will always be off when you switch back and forth. This is discouraged but I have had no issues with it.
Run the following command on your ubuntu system to do that:
$ sudo timedatectl set-local-rtc 1 --adjust-system-clock
Same thing. We use Grub on multi-boot test machines. It is not possible to turn testsigning on Windows partitions in such conditions.
Huh? I turn on test signing all the time on my multi-boot machines that use grub.