!oNSIfazDqEcwhcOjSL:matrix.org

disko

348 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko87 Servers

Load older messages


SenderMessageTime
25 Jan 2025
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Disco would take care of mounting it for me tho.11:22:14
@bumperboat:matrix.orgbumperboat (UTC+7)ok thx, i see it does make the mount unit, and fails because it didnt make the subvol11:23:18
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @bumperboat:matrix.org
ok thx, i see it does make the mount unit, and fails because it didnt make the subvol
Yep, exactly the same.
11:29:40
@bumperboat:matrix.orgbumperboat (UTC+7)thx for the confirmation11:43:54
@lassulus:lassul.uslassulussupport for running the createscript after rebuild again is very new and not thoroughly tested. You have to run the create script (not the diskoScript) manually and it should create new subvolumes, lvs and datasets. But better have backups :)11:48:18
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @lassulus:lassul.us
support for running the createscript after rebuild again is very new and not thoroughly tested. You have to run the create script (not the diskoScript) manually and it should create new subvolumes, lvs and datasets. But better have backups :)
Didn't know about this, thanks for the heads up.
12:09:56
@arjan5:matrix.orgarjan5Question: is it possible to define a disk/partition optionally? I want the boot process to continue if a certain disk is missing.19:38:39
@bumperboat:matrix.orgbumperboat (UTC+7)use 'nofail' as a mount option?19:42:08
28 Jan 2025
@crunch:kde.org@crunch:kde.org left the room.02:01:21
@lehmanator:tchncs.deSam Lehman

having a couple issues running config.system.build.vmWithDisko with a tmpfs root, luks, lvm_pv, & btrfs and wasn't sure if I am misconfiguring something.

  1. it seems /mnt is never created
  2. sgdisk fails to create my 2nd partition (luks container with lvm_pv with btrfs)

I dont particularly need the vm, just want to test my disko config, before trying to install. If anyone has any insight, it would be appreciated 🙏

20:18:05
@lassulus:lassul.uslassulushmm, maybe more logs would help to debug that20:26:55
@lehmanator:tchncs.deSam Lehmanbacked up all my data to an external drive temporarily, so im logged out of my matrix clients. gimme a sec to transfer the logs & config to my phone20:31:34
@lehmanator:tchncs.deSam LehmanDownload disko.nix20:47:56
@lehmanator:tchncs.deSam LehmanDownload disko.log20:48:06
@lassulus:lassul.uslassulus Sam Lehman: ah sorry for the delay, had to drive home 21:45:15
@lassulus:lassul.uslassulusyour end is on the same block as the beginning of the second partition21:45:25
@lassulus:lassul.uslassulusit's a bit stupid, that sgdisk does it that way21:45:33
@lassulus:lassul.uslassulusbut you need to move it one block further, not sure what the best way is to do that :D21:45:52
@lassulus:lassul.uslassulususually sgdisk does it automatically if you leave start out21:46:01
@lehmanator:tchncs.deSam Lehman
In reply to @lassulus:lassul.us
Sam Lehman: ah sorry for the delay, had to drive home
no worries, I appreciate your help!
23:13:07
@lehmanator:tchncs.deSam Lehman
In reply to @lassulus:lassul.us
your end is on the same block as the beginning of the second partition
removing the start attr fixed that problem. now to deal with secrets for the luks decryption
23:14:12
29 Jan 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan to matthewcroughan (already in Brussels).13:35:12
1 Feb 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan (already in Brussels) to matthewcroughan (FOSDEM).09:38:47
@myhlamaeus:matrix.orgmyhlamaeus joined the room.18:36:21
2 Feb 2025
@nezia:matrix.org@nezia:matrix.org joined the room.12:11:59
@nezia:matrix.org@nezia:matrix.org

hey, i was planning to add disko to my existing configuration, but i was wondering about something: does the declarative partitioning only work when installing the configuration or will it repartition automatically when running nixos-rebuild switch?

12:12:34
@lassulus:lassul.uslassulusOnly when installing. But we added support to run the format script manually. But its not very thoroughly tested12:53:47
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (FOSDEM).16:04:33
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk
In reply to @lassulus:lassul.us
Only when installing. But we added support to run the format script manually. But its not very thoroughly tested
Maybe you need an FAQ entry for this, seems a commonly asked question (which I also had)
16:39:53
3 Feb 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan (FOSDEM) to matthewcroughan.09:09:56

Show newer messages


Back to Room ListRoom Version: 10