* To prevent guix gc from removing *grub.cfg file under /gnu/store/
@ 2019-02-24 18:10 Raghav Gururajan
0 siblings, 0 replies; 4+ messages in thread
From: Raghav Gururajan @ 2019-02-24 18:10 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]
Hi Guix!
Since my BIOS comes with in-built grub payload, I did not want to install bootloader on disk (but do want grub.cfg file under /gnu/store/), so I passed --no-bootloader parameter during guix system init. The guix system got successfully installed and there was *grub.cfg file under /gnu/store/. The file stayed even after multiple reboot, guix pull and guix package -u. But when I did guix gc, it removed the *grub.cfg file under /gnu/store/. How can I prevent this from happening?
I thought of using "guix build [...] --root=" command, but the file "*grub.cfg" under /gnu/store/ is created by the system (not user) during "guix system init" process. So how can I prevent "guix gc" process from removing a system created file?
Since I am a novice user, please provide me a step-wise explanation. Also, I have posted the same issue at "guix-devel" ML. If you are an admin seeing this post, kindly do not close this post as repeat, as there are different individuals subscribed to these MLs.
Thank you!
Regards,
RG.
[-- Attachment #2: Type: text/html, Size: 1289 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* To prevent guix gc from removing *grub.cfg file under /gnu/store/
@ 2019-02-25 14:47 Clément Lassieur
2019-02-25 22:06 ` Raghav Gururajan
0 siblings, 1 reply; 4+ messages in thread
From: Clément Lassieur @ 2019-02-25 14:47 UTC (permalink / raw)
To: rvgn; +Cc: guix-devel
Hi Raghav,
You can prevent this behaviour if you don't pass "--no-bootloader", and
use in your config.scm the code snippet I showed you in a previous
email, so that GRUB isn't installed.
Clément
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: To prevent guix gc from removing *grub.cfg file under /gnu/store/
2019-02-25 14:47 Clément Lassieur
@ 2019-02-25 22:06 ` Raghav Gururajan
2019-02-26 8:27 ` Clément Lassieur
0 siblings, 1 reply; 4+ messages in thread
From: Raghav Gururajan @ 2019-02-25 22:06 UTC (permalink / raw)
To: Clément Lassieur; +Cc: guix-devel
Hi Clement!
I wanted to contact you but I lost your email ID. Yes, the code snippet you gave me did work perfectly. I just tested it today. Thanks a lot.
Regards,
RG.
February 25, 2019 2:47 PM, "Clément Lassieur" <clement@lassieur.org> wrote:
> Hi Raghav,
>
> You can prevent this behaviour if you don't pass "--no-bootloader", and
> use in your config.scm the code snippet I showed you in a previous
> email, so that GRUB isn't installed.
>
> Clément
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: To prevent guix gc from removing *grub.cfg file under /gnu/store/
2019-02-25 22:06 ` Raghav Gururajan
@ 2019-02-26 8:27 ` Clément Lassieur
0 siblings, 0 replies; 4+ messages in thread
From: Clément Lassieur @ 2019-02-26 8:27 UTC (permalink / raw)
To: Raghav Gururajan; +Cc: guix-devel
Great :-)
Raghav Gururajan <rvgn@disroot.org> writes:
> Hi Clement!
>
> I wanted to contact you but I lost your email ID. Yes, the code snippet you gave me did work perfectly. I just tested it today. Thanks a lot.
>
> Regards,
> RG.
>
>
> February 25, 2019 2:47 PM, "Clément Lassieur" <clement@lassieur.org> wrote:
>
>> Hi Raghav,
>>
>> You can prevent this behaviour if you don't pass "--no-bootloader", and
>> use in your config.scm the code snippet I showed you in a previous
>> email, so that GRUB isn't installed.
>>
>> Clément
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-02-26 8:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-24 18:10 To prevent guix gc from removing *grub.cfg file under /gnu/store/ Raghav Gururajan
-- strict thread matches above, loose matches on Subject: below --
2019-02-25 14:47 Clément Lassieur
2019-02-25 22:06 ` Raghav Gururajan
2019-02-26 8:27 ` Clément Lassieur
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).