I run Windows 10 (and Server 2016) full time using KVM with no issues. I pretty much never touch the Linux host except to run updates every now and then. I'd highly recommend it if you have the hardware. Running on a 6700k and a GTX980.
The kernel support for the Surface 3 is flaky still, but patches hit the kernel mailing lists pretty regularly. /u/sin_cera, I'd recommend running the most recent kernel you can, at minimum builds from Torvalds git tree. If it was me I'd run builds from linux-next, but in either case you are stepping into unstable territory so it's up to you to decide what you are comfortable with. Running either will help cut down on the amount of kernel patches you might need to apply yourself.
Yeah Secure Boot "just works" with the Arch ISO, but needs to be manually set up on a new install. The kernel (vmlinuz) location doesn't matter, what matters is having preloader.efi enrolled as your bootloader and then having the actual bootloader named loader.efi and ensuring it is in the same directory as preloader.efi. Kernels can go wherever and it's the bootloaders job to know where they are. Though Arch pretty much always installs them directly in /boot.
All the setup is done in the installation chroot and provided by the package prebootloader. Trying to set up Secure Boot using the files on the livecd isn't going to work.
You can write a systemd service that can watch a particular file for changes (say either the kernel or initramfs image) and notify you when it does (and / or execute a script). I'm a little sparse on the details right now, but this bit on the wiki is a good starting point. Specifically the PathChanged feature.
I find btrfs great for personal computers simply because snapshots are bootable. I can just make a snapshot, which due to btrfs's copy-on-write features means no additional space is taken up on disk until the either the "master" or snapshot changes, then quickly edit the fstab and bootloader and be good to go. Far more flexible than static tar / whatever backups.
Btrfs is also great in that I can install multiple distros (or different distro versions for non-rolling release) in subvolumes on the same btrfs partition. Then each can easily be individually snapshotted and backed up to separate location. No need to worry about partitioning or dividing up disk space. LVM could get you a similar setup but I prefer the btrfs tooling.
As in turning Secure Boot on for an already installed system? Sure, as long as the install was done in UEFI mode. Just install and set up prebootloader before enabling Secure Boot in the UEFI.
Yeah I'm sure. In the Settings app under Windows Update there is an advanced settings option and from there you can choose to defer updates. I'd post a screenshot right now, but that would mean rebooting out of Linux :p
Here is some info direct from Microsoft. Look at the first bullet point under "Important Notes". Apparently, and this is news to me, Pro users can defer updates but updates can only be postponed for a limited time. Either way I think automatic updates is generally a good thing for users at large (especially security updates).
That's what I've read too (there being two different TRIM bugs). Pretty sure some Samsung drives are still blacklisted from using queued TRIM while the other md bug got fixed. It's also worth pointing out that the kernel only blacklists queued TRIM, so other TRIM functions will continue to work on Samsung drives.
Unfortunately I don't have any sources at hand, so take my words as you will.
Here
He reported that the Windows installer doesn't just screw up the boot loader entries but actually overwrites the whole partition table. So, install Windows first and then Linux.
Windows 10 won't erase your partition table, even from a clean install. I've been using Insider builds for a while and have always preferred to do a clean install between builds. I also have a Fedora installation that I dual boot on the same disk Windows 10 is installed to. The Windows installer won't overwrite any existing partitions unless you tell it to. This isn't anything new. I can't help but look at that comment and see anything but user error.
Yes it's possible. Just be sure to install and properly setup prebootloader. There are steps outlined for it on this wiki page and this reddit comment.
Could be a problem with the CD. Selecting the UEFI boot option like you presumably have been doing is all you need to do, provided your livecd burned correctly or the USB was set up correctly. Double check that there isn't an option disabling booting from USB.
Do you have Windows installed? If you do there is a chance that it is using legacy boot which could also cause problems.
The livecd needs to be booted in UEFI mode for the EFI variables to be available, which are needed to register the bootloader with the UEFI. I've not had a problem using Rufus before to make a liveusb. Make sure your USB drive is formatted with FAT32.
Ah. As far as I know VirtualBox doesn't support Secure Boot. Secure Boot is a UEFI feature, so distributions can offer tools that work with Secure Boot but those tools do not enable Secure Boot. VMWare doesn't include Secure Boot in their UEFI implementation either.
I don't follow? Secure Boot is enabled in the UEFI settings, and either shim or prebootloader will work with or without Secure Boot (they just won't do anything if it's disabled). The Arch ISO supports Secure Boot out of the box so you just need to be sure to set everything up properly before leaving the ISO environment.
Yes that's correct. It can also hash a bootloader like GRUB which will then let you load just about anything, essentially disabling Secure Boot. It is up to the user to be aware of what's being added.
There is also the UEFI shim which Fedora and Ubuntu (at least) uses to support Secure Boot. It's more strict than prebootloader and takes more effort to set up but offers the ability to really lock things down (can communicate with bootloader and enforce only loading signed kernel / kernel modules and more). I've never used it with Arch however.
Despite what others have said, using Secure Boot isn't hard. Just install the prebootloader package and copy the files from /usr/lib/prebootloader to your /boot partition, rename your bootloader to loader.efi, and set up your UEFI to automatically load PreLoader.efi.
I wrote up some instructions for it here that uses gummiboot. You can use whatever bootloader you'd like though.
If you properly set the keyboard layout with localectl this should be a non-issue. localectl set-keymap dvorak should do the trick. That enables dvorak globally, across the console and X.
I run Windows 10 (and Server 2016) full time using KVM with no issues. I pretty much never touch the Linux host except to run updates every now and then. I'd highly recommend it if you have the hardware. Running on a 6700k and a GTX980.
The kernel support for the Surface 3 is flaky still, but patches hit the kernel mailing lists pretty regularly. /u/sin_cera, I'd recommend running the most recent kernel you can, at minimum builds from Torvalds git tree. If it was me I'd run builds from linux-next, but in either case you are stepping into unstable territory so it's up to you to decide what you are comfortable with. Running either will help cut down on the amount of kernel patches you might need to apply yourself.
It's not the default, but it is a default option.
Yeah Secure Boot "just works" with the Arch ISO, but needs to be manually set up on a new install. The kernel (vmlinuz) location doesn't matter, what matters is having
preloader.efienrolled as your bootloader and then having the actual bootloader namedloader.efiand ensuring it is in the same directory aspreloader.efi. Kernels can go wherever and it's the bootloaders job to know where they are. Though Arch pretty much always installs them directly in/boot.All the setup is done in the installation chroot and provided by the package
prebootloader. Trying to set up Secure Boot using the files on the livecd isn't going to work.Try
vmlinuz.efior justvmlinuz. Also, check these steps for setting up Secure Boot.You can write a systemd service that can watch a particular file for changes (say either the kernel or initramfs image) and notify you when it does (and / or execute a script). I'm a little sparse on the details right now, but this bit on the wiki is a good starting point. Specifically the
PathChangedfeature.You can do that or set it up the way the Arch ISO does it with
prebootloader. See this comment.I find btrfs great for personal computers simply because snapshots are bootable. I can just make a snapshot, which due to btrfs's copy-on-write features means no additional space is taken up on disk until the either the "master" or snapshot changes, then quickly edit the fstab and bootloader and be good to go. Far more flexible than static tar / whatever backups.
Btrfs is also great in that I can install multiple distros (or different distro versions for non-rolling release) in subvolumes on the same btrfs partition. Then each can easily be individually snapshotted and backed up to separate location. No need to worry about partitioning or dividing up disk space. LVM could get you a similar setup but I prefer the btrfs tooling.
As in turning Secure Boot on for an already installed system? Sure, as long as the install was done in UEFI mode. Just install and set up
prebootloaderbefore enabling Secure Boot in the UEFI.Instead of using the "GPT for UEFI" partition scheme in Rufus try using the "MBR partition scheme for BIOS or UEFI". That's always worked for me.
Yeah I'm sure. In the Settings app under Windows Update there is an advanced settings option and from there you can choose to defer updates. I'd post a screenshot right now, but that would mean rebooting out of Linux :p
Here is some info direct from Microsoft. Look at the first bullet point under "Important Notes". Apparently, and this is news to me, Pro users can defer updates but updates can only be postponed for a limited time. Either way I think automatic updates is generally a good thing for users at large (especially security updates).
For Windows 10 Home. For the Pro version and above the user has the option of deferring updates.
For Windows 10 Home. For the Pro version and above the user has the option of deferring updates.
Which is what I said.
NO_NCQ_TRIMjust blacklists queued TRIM. It doesn't blacklist TRIM entirely.EDIT: Apologies if I sounded defensive, I misread your post a bit. I should go to bed.
That's what I've read too (there being two different TRIM bugs). Pretty sure some Samsung drives are still blacklisted from using queued TRIM while the other md bug got fixed. It's also worth pointing out that the kernel only blacklists queued TRIM, so other TRIM functions will continue to work on Samsung drives.
Unfortunately I don't have any sources at hand, so take my words as you will.
Windows 10 won't erase your partition table, even from a clean install. I've been using Insider builds for a while and have always preferred to do a clean install between builds. I also have a Fedora installation that I dual boot on the same disk Windows 10 is installed to. The Windows installer won't overwrite any existing partitions unless you tell it to. This isn't anything new. I can't help but look at that comment and see anything but user error.
Yes it's possible. Just be sure to install and properly setup
prebootloader. There are steps outlined for it on this wiki page and this reddit comment.Could be a problem with the CD. Selecting the UEFI boot option like you presumably have been doing is all you need to do, provided your livecd burned correctly or the USB was set up correctly. Double check that there isn't an option disabling booting from USB.
Do you have Windows installed? If you do there is a chance that it is using legacy boot which could also cause problems.
The livecd needs to be booted in UEFI mode for the EFI variables to be available, which are needed to register the bootloader with the UEFI. I've not had a problem using Rufus before to make a liveusb. Make sure your USB drive is formatted with FAT32.
Ah. As far as I know VirtualBox doesn't support Secure Boot. Secure Boot is a UEFI feature, so distributions can offer tools that work with Secure Boot but those tools do not enable Secure Boot. VMWare doesn't include Secure Boot in their UEFI implementation either.
I don't follow? Secure Boot is enabled in the UEFI settings, and either
shimorprebootloaderwill work with or without Secure Boot (they just won't do anything if it's disabled). The Arch ISO supports Secure Boot out of the box so you just need to be sure to set everything up properly before leaving the ISO environment.Yes that's correct. It can also hash a bootloader like GRUB which will then let you load just about anything, essentially disabling Secure Boot. It is up to the user to be aware of what's being added.
There is also the UEFI
shimwhich Fedora and Ubuntu (at least) uses to support Secure Boot. It's more strict thanprebootloaderand takes more effort to set up but offers the ability to really lock things down (can communicate with bootloader and enforce only loading signed kernel / kernel modules and more). I've never used it with Arch however.Despite what others have said, using Secure Boot isn't hard. Just install the
prebootloaderpackage and copy the files from/usr/lib/prebootloaderto your /boot partition, rename your bootloader to loader.efi, and set up your UEFI to automatically load PreLoader.efi.I wrote up some instructions for it here that uses gummiboot. You can use whatever bootloader you'd like though.
It does, yes:
fedup.If you properly set the keyboard layout with localectl this should be a non-issue.
localectl set-keymap dvorakshould do the trick. That enables dvorak globally, across the console and X.