💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-03-07.txt captured on 2024-05-26 at 16:09:49.

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

[2022-03-07T03:11:29Z] <testuser[m]> Hi
[2022-03-07T03:53:48Z] <noocsharp> o/
[2022-03-07T05:48:47Z] <testuser[m]> Rust is, in fact, beautiful, it's just that all the boilerplate and unsafe code is highly exposed in this (and any other that I've seen so far) kernel module example.
[2022-03-07T05:48:47Z] <testuser[m]> All of this could be hidden behind some macros and safe wrappers and after that you could write pretty rust code.
[2022-03-07T05:48:47Z] <testuser[m]> Also the problem is that the whole world basically runs on ugly-or-at-least-highly-unsafe C/C++, and to interface with that and still have beautiful Rust is pretty challenging.
[2022-03-07T18:18:24Z] <testuser[m]> http://0x0.st/oPUG.png
[2022-03-07T21:36:24Z] <midfavila> 'sup, nerds
[2022-03-07T21:57:07Z] <rohan> hi
[2022-03-07T23:06:37Z] <rohan> anyone use only efibootmgr as bootloader?
[2022-03-07T23:07:25Z] <tleydxdy[m]> me
[2022-03-07T23:09:35Z] <rohan> can you explain me this?
[2022-03-07T23:10:15Z] <rohan> i tried the oasis section of bootloader
[2022-03-07T23:10:19Z] <rohan> and not worked
[2022-03-07T23:10:32Z] <tleydxdy[m]> wth is oasis
[2022-03-07T23:10:38Z] <rohan> linux distro
[2022-03-07T23:11:03Z] <tleydxdy[m]> you'd need to give me a link
[2022-03-07T23:11:07Z] <rohan> https://github.com/oasislinux/oasis/wiki/Install#efibootmgr
[2022-03-07T23:11:48Z] <rohan> can you explain that? in a example with nvme or sdb drive
[2022-03-07T23:12:03Z] <tleydxdy[m]> interesting
[2022-03-07T23:12:38Z] <tleydxdy[m]> what's the drive you used called
[2022-03-07T23:12:50Z] <rohan> nvme0n1
[2022-03-07T23:12:58Z] <rohan> have 2 partitions
[2022-03-07T23:13:30Z] <rohan> nvme0n1p1 and nvme0n1p2
[2022-03-07T23:13:42Z] <rohan> the first is boot and second the filesystem
[2022-03-07T23:14:10Z] <tleydxdy[m]> yep, so drive is nvme0n1 and partition is 1
[2022-03-07T23:14:24Z] <rohan> okay
[2022-03-07T23:14:33Z] <rohan> but wtf are /linux?
[2022-03-07T23:15:05Z] <rohan> is this supposed to be the kernel dir?
[2022-03-07T23:15:57Z] <tleydxdy[m]> it's just where the built kernel is, relative to your efi partition 
[2022-03-07T23:16:34Z] <rohan> so i just need to put my kernel dir?
[2022-03-07T23:16:56Z] <tleydxdy[m]> yes
[2022-03-07T23:17:00Z] <rohan> okay
[2022-03-07T23:17:02Z] <rohan> thanks
[2022-03-07T23:17:08Z] <tleydxdy[m]> just make sure it's in your boot partitin
[2022-03-07T23:17:23Z] <tleydxdy[m]> s/in/somewhere/, s/partitin/partition/
[2022-03-07T23:18:02Z] <rohan> wait
[2022-03-07T23:18:14Z] <rohan> the kernel need to be in my boot partition?
[2022-03-07T23:18:23Z] <tleydxdy[m]> yeah
[2022-03-07T23:18:44Z] <tleydxdy[m]> the motherboard is not gonna know wth ext4 is
[2022-03-07T23:19:16Z] <tleydxdy[m]> It can only read what's in the efi partition
[2022-03-07T23:23:20Z] <rohan> man fuck
[2022-03-07T23:23:28Z] <rohan> forget oasis
[2022-03-07T23:23:39Z] <rohan> go back to kiss
[2022-03-07T23:25:04Z] <rohan> tleydxdy[m]: the efivars command in efibootmgr wiki in kiss
[2022-03-07T23:25:07Z] <rohan> is needed?
[2022-03-07T23:25:18Z] <tleydxdy[m]> welp I do the same on kiss
[2022-03-07T23:25:56Z] <tleydxdy[m]> imo having the uefi boot linux directly is more elegant than going through another loader
[2022-03-07T23:27:07Z] <tleydxdy[m]> rohan: it's probably just to make sure you are booted with uefi, I can't recall what it was tho
[2022-03-07T23:28:05Z] <tleydxdy[m]> like linux already knows all the filesystems, but you now have to have this loader that also need to support all the filesystems
[2022-03-07T23:29:44Z] <rohan> understand