admin:linux:boot

Boot Linux

Arch Linux

EFISTUB Arch wiki entry

efibootmgr --disk /dev/sdX --part Y --create --label "Arch Linux" --loader /vmlinuz-linux --unicode 'root=PARTUUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX rw initrd=\initramfs-linux.img' --verbose

if you need ucode, add it as first initramfs:

… initrd=/cpu_manufacturer-ucode.img initrd=/initramfs-linux.img

Debian

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=debian --recheck
update-grub

Windows gets the time wrong

Reason: Clock is set in UTC, Windows thinks it's local time.

Solution:

  • UseUTCforRTC.reg
    Windows Registry Editor Version 5.00
     
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
         "RealTimeIsUniversal"=dword:00000001
  • Disable Windows time service
    sc config w32time start= disabled

See also: https://help.ubuntu.com/community/UbuntuTime#Multiple_Boot_Systems_Time_Conflicts

show boot options (Kernel command line) cat /proc/cmdline
  • Last modified: 2020-03-06 09:30