guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dualbooting with guixsd not handling grub installation


From: Mathieu Othacehe
Subject: Re: Dualbooting with guixsd not handling grub installation
Date: Sun, 10 Dec 2017 12:41:28 +0100
User-agent: mu4e 0.9.18; emacs 25.3.1

Hi Martin and Jelle,

>> This could be done by adding a cli argument for reconfigure or allowing
>> an empty string in (grub-configuration (target "")).
>>
>> WDYT?
>>

An already available option would be to override the grub-installer like
this :

--8<---------------cut here---------------start------------->8---
(define no-op-installer
  #~(lambda (bootloader device mount)
      (display "no op")))

(bootloader (bootloader
             (inherit grub-bootloader)
             (installer no-op-installer))
--8<---------------cut here---------------end--------------->8---

I admit this is not ideal, so I would propose two options :

* Allow for target field to be #f and do not call the installer when
this happends.
* Precise the --no-bootloader parameter of guix system to deal with
multiple cases, for example :

--bootloader=[default|no-config-file|no-install|...]

WDYT ?

Mathieu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]