[Top][All Lists]

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

To prevent guix gc from removing *grub.cfg file under /gnu/store/

From: Raghav Gururajan
Subject: To prevent guix gc from removing *grub.cfg file under /gnu/store/
Date: Sun, 24 Feb 2019 18:10:45 +0000

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!


reply via email to

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