all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: Robert Vollmert <rob@vllmrt.net>
Cc: 36069@debbugs.gnu.org
Subject: bug#36069: Menu-based installer unusable through noVNC
Date: Mon, 22 Jul 2019 11:25:18 +0200	[thread overview]
Message-ID: <20190722112518.46e817d0@alma-ubu> (raw)
In-Reply-To: <7F8DEC16-76B6-483B-A657-D9E30B46F779@vllmrt.net>

[-- Attachment #1: Type: text/plain, Size: 2566 bytes --]

On Sat, 20 Jul 2019 17:17:21 +0200
Robert Vollmert <rob@vllmrt.net> wrote:

> > Robert and Björn, could you check if adding the ‘cirrus’ and
> > possibly the ‘cirrusfb’ module(s) to ‘initrd-modules’ in the image
> > you run at your VPS solves the issue?  
> 
> It would need to be added to the installer. Is there a way to add it
> via grub command line? Alternatively, is there a way to test this from
> a regular guix system console?
> 
> (I’m not sure to what extent I’ll be able to do that — my VPS is now
> serving “important” things. Note that the bug is reproducible on QEMU
> by passing “-vga cirrus”.)

Hi Robert,

it is possible to create your own installation-image from sources. If
you are not familar with, check the manual on how to build Guix from
source. Then I did and can confirm locally:

qemu-system-x86_64 -vga cirrus -monitor stdio -m 1024 -smp 1 -enable-kvm -vnc :0 -cdrom  /home/bjoern/qemu/installer2/guix-system-install-1.0.1.x86_64-linux.iso

This looks expectedly distorted.

On commit (without any changes):

59f79254bbd2cfe31dd063a6949f94e09308e799

I created the installation image:

[env]$ ./pre-inst-env  guix system disk-image --file-system-type=iso9660 gnu/system/install.scm 
[..]
/gnu/store/dp9yj0kv20hzwj70b0qkw2yn9vd2h6s4-image.iso

Starting it in QEMU:

qemu-system-x86_64 -vga cirrus -monitor stdio -m 1024 -smp 1 -enable-kvm -vnc :0 -cdrom /gnu/store/dp9yj0kv20hzwj70b0qkw2yn9vd2h6s4-image.iso

This still has the too small view on the installer.

Then I changed the installer code to add the modules:

[env]$ git diff | more
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 912096027f..3e692a5bdc 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -428,6 +428,8 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
                  (target "/dev/sda")))
     (label (string-append "GNU Guix installation "
                           (package-version guix)))
+    (initrd-modules (append (list "cirrus" "cirrusfb")
+                          %base-initrd-modules))
 
     ;; XXX: The AMD Radeon driver is reportedly broken, which makes kmscon
     ;; non-functional:


Starting the newly built image:

qemu-system-x86_64 -vga cirrus -monitor stdio -m 1024 -smp 1 -enable-kvm -vnc :0 -cdrom /gnu/store/jxpfiagfscrvzjahixa8cx67c9pbqcka-image.iso

And this looks good now :-)

What I haven't done yet:

1. Use only "cirrus"
2. Use only "cirrusfb"
3. Try it out on my VPS.

Björn


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2019-07-22  9:26 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-03  9:35 bug#36069: Menu-based installer unusable through noVNC Robert Vollmert
2019-06-05 10:39 ` Ludovic Courtès
2019-06-05 11:25   ` Robert Vollmert
2019-06-05 21:14     ` Ludovic Courtès
2019-06-11  7:13       ` Robert Vollmert
2019-06-11  8:26         ` Ludovic Courtès
2019-06-24 22:24 ` Björn Höfling
2019-06-25 13:59   ` Ludovic Courtès
2019-06-25 14:09     ` Robert Vollmert
2019-06-25 15:06       ` Björn Höfling
2019-06-25 15:54         ` pelzflorian (Florian Pelz)
2019-06-25 17:51           ` Robert Vollmert
2019-06-26 16:51           ` Björn Höfling
2019-06-26 19:16             ` Robert Vollmert
2019-06-26 20:23             ` pelzflorian (Florian Pelz)
2019-06-27  6:34               ` Robert Vollmert
2019-06-27  8:27                 ` Björn Höfling
2019-07-19 11:58                 ` Ludovic Courtès
2019-07-19 16:37                   ` Mark H Weaver
2019-07-20 13:47                     ` Ludovic Courtès
2019-07-20 15:17                       ` Robert Vollmert
2019-07-22  9:25                         ` Björn Höfling [this message]
2019-07-22 10:25                           ` Ludovic Courtès
2019-09-02 13:10                             ` Björn Höfling
2019-09-16  8:00                               ` Ludovic Courtès
2019-06-26  8:50         ` Ludovic Courtès
2023-02-05 12:15 ` bug#36069: (No Subject) Attila Lendvai
2023-11-03 20:22 ` bug#36069: "cirrus" added to VM initrd modules Tobias Geerinckx-Rice via Bug reports for GNU Guix

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

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

  git send-email \
    --in-reply-to=20190722112518.46e817d0@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=36069@debbugs.gnu.org \
    --cc=rob@vllmrt.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.