disko | 407 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 112 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Apr 2024 | ||
| Maybe it's easier to reuse the new disko-install command with an image file outside the nix sandbox | 16:51:02 | |
In reply to @perchun:matrix.orgi got everything working, git repo is not ready yet, and the setup took many manual steps to do | 18:14:11 | |
| 23:12:30 | ||
| 10 Apr 2024 | ||
| 15:33:04 | ||
| 11 Apr 2024 | ||
| 11:44:07 | ||
| 18:13:18 | ||
| 21:59:16 | ||
| 22:12:51 | ||
| 12 Apr 2024 | ||
| 04:20:13 | ||
| 14 Apr 2024 | ||
| Hi all During a nixos-rebuild switch, my system froze. After a hard reset my system doesn't boot anymore. It shows a grub prompt. Is there a way to make it boot? and repair it? Or do I need to reinstall the system with a live image and backup some date to a backup disk? My guess is my system crashed during the grub update .. I'm using disko with 2 mirrored ssd's: 1G vfat boot & luks-zfs rpool I'm using grub because systemd boot didn't work for this mirror. | 15:23:12 | |
| You can try pointing grub to the NixOS kernel and initrd for your latest generation, and booting manually. Once you’re booted, rebuild the system with the --install-bootloader option. | 15:26:59 | |
Alternatively, mount your disks on a NixOS live image and run nixos-install --no-root-password. | 15:27:26 | |
* You can try pointing grub to the NixOS kernel and initrd for your latest generation, and booting manually. Once you’re booted, rebuild the system with the --install-bootloader option. | 15:27:36 | |
| Could you point me towards a source which explains the first option? | 15:30:53 | |
| 15:31:15 | ||
| The paths will be more complicated, since they also include the hashes of the package, but the general gist of it is defined in the manual: https://www.gnu.org/software/grub/manual/grub/grub.html#GNU_002fLinux | 15:33:47 | |
| search for your root, set your kernel, use the initrd command to boot. | 15:34:22 | |
| Though this might be very difficult if you aren’t already used to the GRUB CLI. The NixOS wiki has a nice walkthrough on how to do this from a NixOS installation image: https://nixos.wiki/wiki/Bootloader#Re-installing_the_bootloader | 15:35:33 | |
| * Though this might be very difficult if you aren’t already used to the GRUB CLI. The NixOS wiki has a nice walkthrough on how to skip this and reinstall the bootloader from a NixOS installation image: https://nixos.wiki/wiki/Bootloader#Re-installing_the_bootloader | 15:36:28 | |
| thank you | 17:06:52 | |
| I couldn't get it to work, I'm backing up and reinstalling | 17:07:18 | |
| There probably isn’t a need to reinstall the entire system, just mounting and rebuilding should work. | 18:09:20 | |
| 17 Apr 2024 | ||
| 16:29:40 | ||
| 17:10:15 | ||
| 19 Apr 2024 | ||
| 12:19:28 | ||
| 23 Apr 2024 | ||
| 13:51:35 | ||
| 23:36:08 | ||
| 25 Apr 2024 | ||
| 14:43:59 | ||
| Hi everyone, I would ask you to please just take a look at my config, answer some questions and maybe give some recommendation. First, my questions:
Here my config:
| 15:19:35 | |
| * Hi everyone, I would ask you to please just take a look at my config, answer some questions and maybe give some recommendation. First, my questions:
Here my config:
| 15:20:47 | |