***: mercutio has quit IRC (Ping timeout: 256 seconds)
mercutio has joined #arpnetworks
ChanServ sets mode: +o mercutio
mercutio: apparently "rm -rf /" can brick some motherboards.
go uefi!
mike-burns: With systemd?
***: anis has quit IRC (Quit: Bingo!)
mhoran_ is now known as mhoran
mhoran: mike-burns: with UEFI.
Since the EFI partition is mounted on /boot/efi on a GRUB system.
Probably similarly on EFI aware BSD.
So if you blow away some EFI blob that the motherboard depends on, it could fail to boot.
mike-burns: Only if the securelevel is 0, as I understood it.
And also only if the device is mounted rw.
mhoran: That's extremely poor engineering on part of the manufacturers.
My /boot/efi is mounted rw.
mike-burns: It should be ro!
mhoran: What does the securelevel have to do with it? If my vendor depends on some blob in the EFI system partition to boot, and I delete it, then I couldn't boot?
mike-burns: "OpenBSD has long prohibited even root from direct hardware access by defaulting to “securelevel” 1." - tedu on Lobste.rs.
mhoran: But EFI partition is just fat32.
If you remove a file from it, it's gone.
I don't think securelevel is going to save you from that. But mount ro is!
dne: I think you're confusing /boot/efi with /sys/firmware/efi/efivars?
mike-burns: I might be.
mhoran: Anyway, this is not a problem on the X1 carbon, as I've formatted my EFI system partition and was able to boot just fine.
On Linux at least, root can write to efivars, but that's probably a good thing to protect in some way via securelevel.
Though one is unable to add a boot loader to the list without being able to write to that.
Either way: EFI seems pretty broken in default installs, and perhaps in general.
mike-burns: Why are people rm-rf'ing / or /boot/efi ?
-: mhoran shrugs.
mhoran: Maybe they want a new laptop?
mike-burns: Well I'm glad someone tried it so we can learn what happens.
mhoran: Yeah!
***: anisfarhana has joined #arpnetworks
anisfarhana: hail ARP!
***: tooth_ is now known as tooth
hive-mind has quit IRC (Ping timeout: 240 seconds)
hive-mind has joined #arpnetworks
Guest88629 is now known as JC_Denton
mercutio: i don't it's the EFI system partition so mucch as the EFI vars partition
I kind of like/dislike EFI. Apparently the specifications are 2000+ pages.
i like the "basic" features.
brycec: mercutio: right, dne mentioned cleared that :p
UEFI - on the one hand, you get a well defined, thoroughly designed specification. On the other hand, it's somewhat insane.
mercutio: ahh but it was before mhoran was saying he cleared EFI SP
brycec: BIOS sortof just shook out of a bunch of people implementing similar systems, slowly becoming a defacto standard.
mercutio: i've been playing with amiga stuff recently. it's amazing how much simpler stuff iss
although they hit some 4GB limits etc.
brycec: Pffft how dare they use 32bit unsigned integers
mercutio: well it was the early 90s.
BryceBot: That's what she said!!
mercutio: i think it's interesting the way amiga just has devices/libraries in the rom
brycec: I demand 128-bit address space!
mercutio: and you can replace them when booting
so in a way you have a kind of modular "bios"
people have custom flashed their own roms etc too adding devices etc
i think the pc bios's were pretty modular too after a while actually
brycec: They were hookable, yes.
mercutio: but i think that's mostly about addons like whether you want pxe boot roms etc
brycec: Nowadays, yes. Earlier on, it was hard drive/SCSI controllers predominately.
mercutio: heh. asrock added support for nvme boot on z77 board in beta bios
but usually bios updates are far and few between for new hardware on old boards
i have z77 board and nvme ssd, i should try it :)
brycec: Thanks to the wonders of the UEFI architecture, my "bios" can connect to the Internet, check for, and download updates. All with a few mouseclicks.
mercutio: so can mine
brycec: Crazy, fun times.
mercutio: i always get asrock boards now :)
you can't set static ip though
is yours asrock too?
brycec: Intel.
mercutio: oh interesting
asus boards don't seem to do that
gigabyte i won't touch :)
are you using systemd-bootd?
err systemd-boot
i've finally ditched grub on uefi systems :)
brycec: I boot with rEFInd actually.
mercutio: ahh
***: Seju has quit IRC (Ping timeout: 276 seconds)
Seji has joined #arpnetworks
qbit has quit IRC (Quit: WeeChat 1.4)
qbit has joined #arpnetworks
mnathani2_ is now known as mnathani_
mnathani_: anyone follow the Iowa caucus?
***: milki_ is now known as milki