unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / Atom feed
* My experience installing Guix system
@ 2020-09-04  7:40 divoplade
  2020-09-04 14:43 ` Ekaitz Zarraga
  0 siblings, 1 reply; 2+ messages in thread
From: divoplade @ 2020-09-04  7:40 UTC (permalink / raw)
  To: guix-devel

Hello Guix,

By following the official instructions for installing guix, I have read
that you might be interested in how someone would manage to install it
by hand. So this is what I will do here.

My situation is I have two computers: one I intend as a server, and one
I use as a desktop. I wanted to try installing guix on the desktop
before going ahead and installing it for my server. I was very
interested in the guile sexps and gexps for defining services, and the
fact that I would not forget which services I had installed, which ones
were expected to run and how they were configured, having an obvious
root of the system definition -- /etc/config.scm. I don't have a lot of
time for the management of the system, and guix has as built-in
basically every service I wanted, so my guess is I need to try. Plus,
despite my computer system requiring dirty firmware, I consider the
issue of software freedom of great importance.

I had tried it some time ago, but now I realize that both my systems
need special firmware in order to even boot the installer. Retrying now
with added firmware, even if I managed to load the installer, it would
choke on existing partitions that are neither crypt devices, ext4 file
systems or fat32 file systems. So I had to do an automatic partitioning
scheme before trying a manual one.

This was enough for the installer-plus-firmware to generate the system
config file, but it crashed right before actually generating the
system. And of course, I needed to add firmware to the generated
system, so I would need to run guix pull before guix init anyways.

The next step was installing regular debian on the partition I intended
for /home, then installing the guix package manager on top of it,
mounting the other partitions (/boot/efi and the / crypt device), and
running guix system init from within debian. I commented out the file
system for /home in the guix definition before that, so everything in
guix was installed into one partition.

Then, I booted into guix, erased the debian system, used the partition
as a crypt device for /home, rebooted, and everything worked.

There is just one caveat: I have 2 encrypted partitions, and the boot
sequence asks me passwords 3 times:
- 1 to mount / in order to load the kernel (this one is done with US
keyboard!)
- 2 to mount / with the loaded kernel (using the right keyboard
configuration);
- 3 to mount /home.

There might be a way to configure the early decrypting of / to use the
right keyboard configuration, but I just added the LUKS key twice: once
with my normal keyboard layout, and once with the US keyboard layout.

In the mean time I am in the process of doing basically the same steps
for my server, except now I have a template for the system config so I
don't need to run the installer anymore.

Anyway, that was my story. It was a little messy, but in the end it
appears to work well.

Best regards,

divoplade



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: My experience installing Guix system
  2020-09-04  7:40 My experience installing Guix system divoplade
@ 2020-09-04 14:43 ` Ekaitz Zarraga
  0 siblings, 0 replies; 2+ messages in thread
From: Ekaitz Zarraga @ 2020-09-04 14:43 UTC (permalink / raw)
  To: divoplade; +Cc: guix-devel

Hi,
Thanks for sharing it, it's very interesting to see your experience because it's very near to mine, even if my setup was much simpler.

>     It was a little messy, but in the end it
>     appears to work well.

This is mostly my experience with guix. Good summary.

We have to work more on reducing the mess, because the rest of it works acceptably well and the messy part is quite annoying.

Best,
Ekaitz



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-04 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04  7:40 My experience installing Guix system divoplade
2020-09-04 14:43 ` Ekaitz Zarraga

unofficial mirror of guix-devel@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-devel/0 guix-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-devel guix-devel/ https://yhetil.org/guix-devel \
		guix-devel@gnu.org
	public-inbox-index guix-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.devel
	nntp://news.gmane.io/gmane.comp.gnu.guix.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git