The Dell Latitude UEFI Adventure
Mission statement: Install Arch Linux and Windows 7 Professional on a new Dell Latitude E5450 Laptop.
Arch linux
- Download arch iso
dd if=iso of=/dev/sdc
- Plug in, boot,
F12
for boot menu, boot from usb stick - parted:
mklabel gpt
,mkpart ESP fat32 1MiB 513MiB
,set 1 boot on
- Make partitions for Linux (ext4) and Windows (ntfs)
pacstrap
as usual- You’re done! (But you have arch now.)
Windows
- Use Rufus to create a bootable usb installer from a windows iso.
- Do it again because it won’t boot
- Do it again
- Finally notice that Rufus resets the Patitioning options when you select the iso
- Select iso, set partitioning to “GPT for UEFI”, set FS to Fat32
- You still can’t boot
- Manually create a new UEFI boot entry in the System setup (The BIOS, err UEFI). Point it at
efi/boot/bootx64.efi
on the USB stick. - You can now boot the Windows Installer, but… it will tell you it is missing a critical “CD/DVD driver”.
- Find hilarious advice on the internet telling you that the Windows installer just somehow lost track of the usb and you should just plug it into a different port
- Nothing you try based on this advice, including reimaging the usb installer just because, works
- Find useful advice on the internet that points out that the Windows 7 Installer does not include USB 3.0 drivers
- Disable USB 3.0 in the
BIOSUEFI - You can now install Windows!
- But your windows has no drivers.
- Download the enterprise driver package CAB that Dell offers you (Props!) and get it in reach of the new Windows somehow
- But how to install this?? The internet delivers.
- The internet does not quite deliver: Make sure to start an Admin Command Prompt and
cd
to the right directory, then start the.bat
from there, because just running the.bat
using Right-Click and “Run as Administrator” will run it withpwd
beingC:\Windows\system32
which notably does not include an unpacked driver cab - All your drivers are installed. Wow!
- Your Windows isn’t activated. It also can’t be activated because it’s an OEM Key.
- The internet delivers again.
There you go, that wasn’t so hard was it?