Moved to https://github.com/jfly/snow/tree/main/dotfiles
I'm using the excellent dotbot.
See instructions on this Google Doc.
powercfg /hibernate on
)reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_QWORD /f
UEFI/Secure Boot
In order to boot from the Arch USB, you will need to disable Secure Boot in the BIOS security tab.
Then, you can install a bootloader and set up Secure Boot. I have had good luck with rEFInd + shim.
timeout
in /boot/EFI/refind/refind.conf
to 5 seconds, and added default_selection Linux
.sbsigntools
refind-install --shim /usr/share/shim-signed/shimx64.efi --localkeys
# sbsign --key /etc/refind.d/keys/refind_local.key --cert /etc/refind.d/keys/refind_local.crt --output /boot/vmlinuz-linux /boot/vmlinuz-linux
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?
Signing Unsigned original imageefibootmgr --disk /dev/nvme0n1 --part 1 --create --label "MokManager" --loader /EFI/refind/mmx64.efi
. Then re-run refind-install
as above.Enable virtualization in BIOS (otherwise you will see a message "kvm:disabled by bios")
Follow the wiki! https://wiki.archlinux.org/index.php/installation_guide
passwd
- Set the root passwordpacman -S sudo && visudo
- Install and configure sudo.useradd -m -G wheel -s /bin/bash jeremy && passwd jeremy && su jeremy
- Create user and set their password.sudo pacman -S git && mkdir ~/gitting && cd ~/gitting && git clone https://github.com/jfly/dotfiles.git && cd dotfiles
- Checkout and cd into this repo!./bootstrap-arch.sh
- Bootstrap Arch Linux installation, installing all dependencies. Make sure this command succeeds!See https://wiki.archlinux.org/index.php/Swap#Swap_file_creation.
When actually adding printer, use ppd file from http://www.openprinting.org/printer/Brother/Brother-HL-2240.
Note: Dualbooting with bluetooth is a pain. See:
https://unix.stackexchange.com/a/255510 and
http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html for
more details.
I've created this dual-boot-bluetooth.py
script to identify discrepancies
between Linux and Windows, but it does not actually fix them yet. I'd like to
improve it so it can do that.
dropbox
- Need to manually start dropbox and log in.