Skip to content

u/shvr

In this archive from Nov 2011 to Feb 2017

2
posts
154
comments
1
media
544
score

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.

1 points

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.

1 points

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.

3 points

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.

1 points

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).

1 points

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.

12 points

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.

4 points

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.

2 points

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.

2 points

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.

1 points

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.

1 points

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.

6 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.