unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53459: error while installing with existing partitions
@ 2022-01-22 21:34 Néstor Arocha
  2022-01-23 11:29 ` bug#53459: Update: Tried non efi, independent boot partition and custom boot entry in debian Néstor Arocha
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Néstor Arocha @ 2022-01-22 21:34 UTC (permalink / raw)
  To: 53459

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

Hi, 

I was trying to get guix installed on my x86_64 machine. (icore 3, 16Gb
RAM, 1TB ssd, ethernet working, using the guix curses installer)

Originally I tried as the only distribution in the system, but grub-efi
wouldn't get installed or recognised by the bios on boot.

Instead I decided to install debian on the first 500Gb and guix on the
second half. My idea is that by sharing the boot/efi partition and
debian managing the boot I would be able to boot guix as well

Debian created the following partitions
 1 537mb fat32 /boot/efi
 2 512mb ext2 /boot
 3 500GB encrypted volume


Then with guix I manually added the 4th partition as encrypted volume
with / mount point.

After the guix installer ask for the password for the new encrypted volume, I'd see the following error:

```
ice-9/eval.scm:159:9: Throw to key 'match-error' with args '("match" "no matching pattern" (#f ext4))'
```

I have attached a literal screenshot with the whole backtrace.

Any suggestions on how to go forward?

Thanks,

Nestor


[-- Attachment #2: guix_backtrace.png --]
[-- Type: image/png, Size: 55235 bytes --]

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

* bug#53459: Update: Tried non efi, independent boot partition and custom boot entry in debian
  2022-01-22 21:34 bug#53459: error while installing with existing partitions Néstor Arocha
@ 2022-01-23 11:29 ` Néstor Arocha
  2022-01-23 16:37 ` Néstor Arocha
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Néstor Arocha @ 2022-01-23 11:29 UTC (permalink / raw)
  To: 53459

Hi,

I forgot to mention that I am working with current stable guix 1.3.0

I also tried a few things:
 * Manual installation doesn't trigger the error at all, but the end result is that it won't boot like before
 * an independent boot partition on top of a shared /boot/efi didn't make any difference
 * Trying to install guix with the boot-grub loader rather than efi didn't work at all and the boot installed errored

But I am happy to say that (after standard guix install) adding the entry in grub manually in debian
did work:

```
menuentry "Guix" {
   insmod part_gpt
   insmod chain
   set root='(hd0,gpt1)'
   chainloader /EFI/Guix/grubx64.efi
}
```

and then running update-grub

For some reason it asks for the encryption password twice.


 
 




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

* bug#53459: Update: Tried non efi, independent boot partition and custom boot entry in debian
  2022-01-22 21:34 bug#53459: error while installing with existing partitions Néstor Arocha
  2022-01-23 11:29 ` bug#53459: Update: Tried non efi, independent boot partition and custom boot entry in debian Néstor Arocha
@ 2022-01-23 16:37 ` Néstor Arocha
  2022-01-23 16:59 ` bug#53459: Tried non efi boot, independent boot partition and boot entry from another linux n
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Néstor Arocha @ 2022-01-23 16:37 UTC (permalink / raw)
  To: 53459

Hi,

I forgot to mention that I am working with current stable guix 1.3.0

I also tried a few things:
 * Manual installation doesn't trigger the error at all, but the end result is that it won't boot like before
 * an independent boot partition on top of a shared /boot/efi didn't make any difference
 * Trying to install guix with the boot-grub loader rather than efi didn't work at all and the boot installed errored

But I am happy to say that (after standard guix install) adding the entry in grub manually in debian
did work:

```
menuentry "Guix" {
   insmod part_gpt
   insmod chain
   set root='(hd0,gpt1)'
   chainloader /EFI/Guix/grubx64.efi
}
```

and then running update-grub

For some reason it asks for the encryption password twice.





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

* bug#53459: Tried non efi boot, independent boot partition and boot entry from another linux
  2022-01-22 21:34 bug#53459: error while installing with existing partitions Néstor Arocha
  2022-01-23 11:29 ` bug#53459: Update: Tried non efi, independent boot partition and custom boot entry in debian Néstor Arocha
  2022-01-23 16:37 ` Néstor Arocha
@ 2022-01-23 16:59 ` n
  2022-01-23 17:51 ` bug#53459: error while installing with existing partitions Maxime Devos
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: n @ 2022-01-23 16:59 UTC (permalink / raw)
  To: 53459@debbugs.gnu.org

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

Hi,

I forgot to mention that I am working with current stable guix 1.3.0

I also tried a few things:
 * Manual installation doesn't trigger the error at all, but the end result is that it won't boot like before
 * an independent boot partition on top of a shared /boot/efi didn't make any difference
 * Trying to install guix with the boot-grub loader rather than efi didn't work at all and the boot installed errored

But I am happy to say that (after standard guix install) adding the entry in grub manually in debian
did work:

```
menuentry "Guix" {
   insmod part_gpt
   insmod chain
   set root='(hd0,gpt1)'
   chainloader /EFI/Guix/grubx64.efi
}
```

and then running update-grub


[-- Attachment #2: Type: text/html, Size: 1048 bytes --]

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

* bug#53459: error while installing with existing partitions
  2022-01-22 21:34 bug#53459: error while installing with existing partitions Néstor Arocha
                   ` (2 preceding siblings ...)
  2022-01-23 16:59 ` bug#53459: Tried non efi boot, independent boot partition and boot entry from another linux n
@ 2022-01-23 17:51 ` Maxime Devos
       [not found]   ` <handler.s.C.164296031827448.transcript@debbugs.gnu.org>
  2022-01-23 17:56 ` Maxime Devos
  2022-11-12 13:49 ` bug#53459: installer: uuid->string failure backtrace (again) Mathieu Othacehe
  5 siblings, 1 reply; 9+ messages in thread
From: Maxime Devos @ 2022-01-23 17:51 UTC (permalink / raw)
  To: Néstor Arocha, 53459; +Cc: control

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

retitle 43459 installer: uuid->string failure backtrace (again)
merge 54480 43459
thanks

This seems to be the same issue as <https://issues.guix.gnu.org/53380>.

> I forgot to mention that I am working with current stable guix 1.3.0 

There's no ‘stable’ Guix; Guix 1.3.0 is just a snapshot of a particular
version of Guix with a bit of extra testing. It doesn't receive
bugfixes.

I recommend trying the latest installer instead of the 1.3.0
installer (see <https://guix.gnu.org/en/download/latest/>).
Since 53459 appears to be the same issue and it appears to
have been resolved, it would seem likely that it has been
fixed in the latest installer.

Unfortunately, the full conversation of 53380 is not available, so I'm
not sure if it has actually been addressed ...

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#53459: error while installing with existing partitions
  2022-01-22 21:34 bug#53459: error while installing with existing partitions Néstor Arocha
                   ` (3 preceding siblings ...)
  2022-01-23 17:51 ` bug#53459: error while installing with existing partitions Maxime Devos
@ 2022-01-23 17:56 ` Maxime Devos
  2022-01-24 10:05   ` Nestor Arocha
  2022-11-12 13:49 ` bug#53459: installer: uuid->string failure backtrace (again) Mathieu Othacehe
  5 siblings, 1 reply; 9+ messages in thread
From: Maxime Devos @ 2022-01-23 17:56 UTC (permalink / raw)
  To: Néstor Arocha, 53459

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

Néstor Arocha schreef op za 22-01-2022 om 21:34 [+0000]:
> Originally I tried as the only distribution in the system, but grub-
> efi
> wouldn't get installed or recognised by the bios on boot.

Make sure the computer's boot process is configured to the correct mode
-- UEFI or BIOS (sometimes called ‘Legacy mode’).  Which of the two
you want depend on what exactly you are doing.

What dou you mean with ‘doesn't get recognised by the bios on boot’ --
what exactly does the boot process say?

About ‘grub-efi wouldn't get installed’ -- this is rather vague, do you
have some kind of error message or something?

Also, it would be useful to see the actual system configuration
(the (operating-system [...])).

Greetings,
Maxime.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#53459: Processed (with 1 errors): Re: bug#53459: error while installing with existing partitions
       [not found]   ` <handler.s.C.164296031827448.transcript@debbugs.gnu.org>
@ 2022-01-23 17:59     ` Maxime Devos
  0 siblings, 0 replies; 9+ messages in thread
From: Maxime Devos @ 2022-01-23 17:59 UTC (permalink / raw)
  To: GNU bug tracker automated control server; +Cc: 53459, control

> 
retitle 53459 installer: uuid->string failure backtrace (again)
merge 54480 53459
thanks






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

* bug#53459: error while installing with existing partitions
  2022-01-23 17:56 ` Maxime Devos
@ 2022-01-24 10:05   ` Nestor Arocha
  0 siblings, 0 replies; 9+ messages in thread
From: Nestor Arocha @ 2022-01-24 10:05 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 53459

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

On Sun, Jan 23, 2022 at 06:56:37PM +0100, Maxime Devos wrote:

> Make sure the computer's boot process is configured to the correct mode
> -- UEFI or BIOS (sometimes called ‘Legacy mode’).  Which of the two
> you want depend on what exactly you are doing.
 
BIOS doesn't have a legacy mode option that I could see (motherboard MSI
MPG z490 gaming plus). So for this system I am stuck with uefi (I think)

> What dou you mean with ‘doesn't get recognised by the bios on boot’ --
> what exactly does the boot process say?
 
> About ‘grub-efi wouldn't get installed’ -- this is rather vague, do you
> have some kind of error message or something?

After installing guix when it tells me to reboot, the next boot will
simply not boot. There is no error within guix or any indication of a
problem.

Even now when running `guix system reconfigure /etc/config.scm`

the output says:

```
building /gnu/store/gh6k581m0qddzrc601rj49j0v3fyim5x-install-bootloader.scm.drv...
guix system: bootloader successfully installed on '/boot/efi'
The following derivation will be built:
   /gnu/store/siwn6q6kyxacjz1wdkwd8lm6w18606g8-upgrade-shepherd-services.scm.drv
...
```

But the system still boots with debian's grub first which then I can
chain to guix's grub. I'd expect guix to override the boot or at least
to see the option in the bios

> Also, it would be useful to see the actual system configuration
> (the (operating-system [...])).
> 
> Greetings,
> Maxime.
> 



[-- Attachment #2: higuix_config.scm --]
[-- Type: text/plain, Size: 3369 bytes --]

;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.

(use-modules (gnu) (gnu system nss))
(use-modules (gnu packages vim))
(use-service-modules desktop xorg)
(use-package-modules certs gnome suckless wm)
(use-modules (gnu packages version-control))
(use-modules (gnu packages gnuzilla))
(use-modules (gnu packages mail))
(use-modules (gnu packages xorg))

(operating-system
  (host-name "higuix")
  (timezone "Europe/London")
  (locale "en_GB.utf8")

  ;; Choose US English keyboard layout.  The "altgr-intl"
  ;; variant provides dead keys for accented characters.
  (keyboard-layout (keyboard-layout "gb"))

  ;; Use the UEFI variant of GRUB with the EFI System
  ;; Partition mounted on /boot/efi.
  (bootloader (bootloader-configuration
                (bootloader grub-efi-bootloader)
                (target "/boot/efi")
                (keyboard-layout keyboard-layout)))

  ;; Specify a mapped device for the encrypted root partition.
  ;; The UUID is that returned by 'cryptsetup luksUUID'.
  (mapped-devices
   (list (mapped-device
          (source (uuid "44b08e72-ec09-4c5d-a2f4-d166085ead55"))
          (target "my-root")
          (type luks-device-mapping))))

  (file-systems (append
                 (list (file-system
                         (device (file-system-label "my-root"))
                         (mount-point "/")
                         (type "ext4")
                         (dependencies mapped-devices))
                       (file-system
                         (device (file-system-label "my-boot"))
                         (mount-point "/boot")
                         (type "ext4")
                         (dependencies mapped-devices))
                       (file-system
                         (device (uuid "17BE-8961" 'fat))
                         (mount-point "/boot/efi")
                         (type "vfat")))
                 %base-file-systems))

  ;; Create user `bob' with `alice' as its initial password.
  (users (cons (user-account
                (name "bob")
                (comment "Alice's brother")
                (password (crypt "alice" "$6$abc"))
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video")))
               %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (append (list
                     vim
                     git
                     icecat
		     mutt
		     i3-wm
		     i3status
		     xrandr
                     ;; for HTTPS access
                     nss-certs
                     ;; for user mounts
                     gvfs)
                    %base-packages))

  ;; Add GNOME and Xfce---we can choose at the log-in screen
  ;; by clicking the gear.  Use the "desktop" services, which
  ;; include the X11 log-in service, networking with
  ;; NetworkManager, and more.
  (services (append (list (service xfce-desktop-service-type)
                          (set-xorg-configuration
                           (xorg-configuration
                            (keyboard-layout keyboard-layout))))
                    %desktop-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

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

* bug#53459: installer: uuid->string failure backtrace (again)
  2022-01-22 21:34 bug#53459: error while installing with existing partitions Néstor Arocha
                   ` (4 preceding siblings ...)
  2022-01-23 17:56 ` Maxime Devos
@ 2022-11-12 13:49 ` Mathieu Othacehe
  5 siblings, 0 replies; 9+ messages in thread
From: Mathieu Othacehe @ 2022-11-12 13:49 UTC (permalink / raw)
  To: Néstor Arocha; +Cc: 53459-done


Hello,

> ice-9/eval.scm:159:9: Throw to key 'match-error' with args '("match" "no matching pattern" (#f ext4))'

This is very likely fixed by: ab974ed709976d34917c8f6f9e5cc0004547af45.

Thanks,

Mathieu




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

end of thread, other threads:[~2022-11-12 13:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-22 21:34 bug#53459: error while installing with existing partitions Néstor Arocha
2022-01-23 11:29 ` bug#53459: Update: Tried non efi, independent boot partition and custom boot entry in debian Néstor Arocha
2022-01-23 16:37 ` Néstor Arocha
2022-01-23 16:59 ` bug#53459: Tried non efi boot, independent boot partition and boot entry from another linux n
2022-01-23 17:51 ` bug#53459: error while installing with existing partitions Maxime Devos
     [not found]   ` <handler.s.C.164296031827448.transcript@debbugs.gnu.org>
2022-01-23 17:59     ` bug#53459: Processed (with 1 errors): " Maxime Devos
2022-01-23 17:56 ` Maxime Devos
2022-01-24 10:05   ` Nestor Arocha
2022-11-12 13:49 ` bug#53459: installer: uuid->string failure backtrace (again) Mathieu Othacehe

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).