unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Phil <phil@beadling.co.uk>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel@gnu.org, guix-maintainers@gnu.org,
	zimoun <zimon.toutoune@gmail.com>
Subject: Re: Windows Subsystem for Linux
Date: Fri, 25 Mar 2022 09:04:37 +0000	[thread overview]
Message-ID: <87v8w2768q.fsf@beadling.co.uk> (raw)
In-Reply-To: <878rsyy9x5.fsf@gmail.com>


Maxim Cournoyer writes:

> cookbook.  I have fellow coworkers (not at Savoir-faire Linux, mind you
> :-)) who have yet to escape their Windows jail; giving them a taste of
> what is possible out there with Guix would probably be a real eye
> opener.  At the minimum it would present Guix as a technically viable
> alternative to Docker & friends in these circles.
>

I totally agree with this - at the moment setting on WSL2 (AFAIK) you
have 2 options:

1. Run it on-top of Ubuntu and tweak the various daemons to start on
image boot.

2. Use Busybox to bootstrap a bare-metal install of Guix without a host
Linux.


The main problem I've had with 1 is that the resulting image is produced
is very large and does not reliably install on colleague's machines.
That and Ubuntu of course is just a distraction when trying to showcase
a Guix workflow.

The problem with 2 is that last time I tried (about a year ago), this
requires you to construct your Guix image for scratch - which is an
interesting exercise but will put off the majority of users:
https://gist.github.com/giuliano108/49ec5bd0a9339db98535bc793ceb5ab4

What we need is a WSL2 image like other OSs provided which can just be
import directly into WSL2 in a push-button fashion.  I don't think
this would be particularly difficult to do, and would encourage more
people to try Guix.

It would also be useful for people who already use Guix, but have no
option but to use Windows in some circumstances - WSL2 is already very
popular to escape Windows into Linux in day-to-day workflows, when you
are unable to have a Linux desktop, and has become widely adopted even in
companies that have a Windows-only desktop policy.

Having Guix images to download and install for WSL2 would make it very
easy to showcase Guix without asking people to risk a physical
install (which can be tricky to get hardware working), or even to adopt the
full Graphical Desktop. Users don't need admin rights to install a WSL2
image, and assuming WSL2 is already enabled (for Ubuntu or whatever) it
is trivial to add any other image.  It would be nice complement to the QCOW images
already available for QEMU.

Getting ahead of myself :-) I also think providing cloud images in
formats like Amazon's AMI would encourage people to spin-up Guix and
give it whirl.  And even looking at Ubuntu's "multipass" to easily bring
Ubuntu to Windows/Mac/Linux is another way to make it easy to try Ubuntu
on any other OS with a lightweight install.


  reply	other threads:[~2022-03-25  9:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14 19:05 Building a software toolchain that works Ryan Prior
2022-03-14 20:26 ` Pjotr Prins
2022-03-14 21:40   ` David Arroyo
2022-03-15  8:19     ` Ludovic Courtès
2022-03-17  9:20       ` zimoun
2022-03-16 14:02     ` Josselin Poiret
2022-03-16 15:28       ` Ryan Prior
2022-03-16 20:13         ` Yasuaki Kudo
2022-03-17 15:35     ` Maxime Devos
2022-03-17 16:56       ` David Arroyo
2022-03-14 23:57   ` Olivier Dion via Development of GNU Guix and the GNU System distribution.
2022-03-15  8:23     ` Ludovic Courtès
2022-03-15  8:42       ` Pjotr Prins
2022-03-15 12:32       ` Yasuaki Kudo
2022-03-17 12:56     ` zimoun
2022-03-18 21:13       ` david larsson
2022-03-18 23:59         ` Yasuaki Kudo
2022-03-19 13:02         ` Windows Subsystem for Linux zimoun
2022-03-24 21:14           ` Ludovic Courtès
2022-03-25  3:43             ` Maxim Cournoyer
2022-03-25  9:04               ` Phil [this message]
2022-03-25 10:14                 ` Oliver Propst
2022-03-17 20:04   ` Building a software toolchain that works Katherine Cox-Buday
2022-03-18  6:27     ` Pjotr Prins
2022-03-18  9:10       ` Oliver Propst
  -- strict thread matches above, loose matches on Subject: below --
2022-03-25 14:20 Windows Subsystem for Linux Blake Shaw

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=87v8w2768q.fsf@beadling.co.uk \
    --to=phil@beadling.co.uk \
    --cc=guix-devel@gnu.org \
    --cc=guix-maintainers@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=zimon.toutoune@gmail.com \
    /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.
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).