unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Roland Everaert <r.everaert@protonmail.com>
To: Thiago Jung Bauermann <bauermann@kolabnow.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re : Re: Librem Mini with pureboot/head don't boot GuixSD
Date: Thu, 19 Aug 2021 14:57:45 +0000	[thread overview]
Message-ID: <gcX0nzEmzyC-CM2ROz1HgjwgMsg9AcNXiCY0Clx8HoJ5P_c545Yo68wAxGDOFmf4gPkPbFAC5v-PbRN2BEjwOgbM6-njltKB4_9F3SXAI4Y=@protonmail.com> (raw)
In-Reply-To: <125682436.G5Nuijvvs6@popigai>

Hello Thiago,

I manage to successfuly copy the needed files to /boot using the `for each` loop from ‘%copy-kernel-and-initrd’, Thank You.

However, I need to resize (i.e. reduce) the root filesystem so /boot can live in its own one. Currently, copying the kernel files too /boot is useless, as HEAD will scan and sign all the files in /, anyway.

Did you have any article discussing such process?

I find plenty of articles about increasing the root partition, but, none to reduce it.

As the root partition cannot be unmounted online, I need to know if there is a simple way to "switch to an offline mode of sort".
For example, I could map a minimal root FS in memory and chroot to it. An other possibility is to copy a guix system to a USB drive and boot from it.

The USB option seems the easiest, but the one with the RAMFS seems neat.

What are the recommandations of the fine folks on this ML, for such operation?



Roland Everaert
---
Use the F.O.S.S., Luke

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

Le samedi 14 août 2021 à 21:30, Thiago Jung Bauermann <bauermann@kolabnow.com> a écrit :

> Hello,
>
> Em sábado, 14 de agosto de 2021, às 08:23:17 -03, Roland Everaert via
>
> escreveu:
>
> > The good news, I manage to boot the system.
>
> Nice!
>
> > I can apply your suggested workaround, but I will need some help to
> >
> > understand how to adapt /etc/config.scm to copy the kernel to /boot, if
> >
> > it is possible, from the configuration file.
>
> You could use ‘%copy-kernel-and-initrd’ from here as a basis:
>
> https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/
>
> berlin.scm#n97
>
> If you change “/store” to “/boot” in the code perhaps it will work in your
>
> case.
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Thanks,
>
> Thiago


  reply	other threads:[~2021-08-19 14:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-12 10:59 Librem Mini with pureboot/head don't boot GuixSD Roland Everaert via
2021-08-12 17:05 ` Tobias Geerinckx-Rice
2021-08-14 11:23 ` Re : " Roland Everaert via
2021-08-14 19:30   ` Thiago Jung Bauermann
2021-08-19 14:57     ` Roland Everaert [this message]
2021-08-19 22:39       ` Thiago Jung Bauermann
2021-09-01 11:04         ` Re : " Roland Everaert
2021-09-01 16:21           ` Tobias Geerinckx-Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gcX0nzEmzyC-CM2ROz1HgjwgMsg9AcNXiCY0Clx8HoJ5P_c545Yo68wAxGDOFmf4gPkPbFAC5v-PbRN2BEjwOgbM6-njltKB4_9F3SXAI4Y=@protonmail.com' \
    --to=r.everaert@protonmail.com \
    --cc=bauermann@kolabnow.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).