From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: error in bootloader config while system init Date: Tue, 21 May 2019 10:53:26 +0200 Message-ID: <87v9y489yx.fsf@roquette.mug.biscuolo.net> References: <6bafb31cbd973b67094f5551a8d7c403@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT0Wb-0001l4-Gd for help-guix@gnu.org; Tue, 21 May 2019 04:53:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hT0WZ-000126-P6 for help-guix@gnu.org; Tue, 21 May 2019 04:53:33 -0400 Received: from ns13.heimat.it ([46.4.214.66]:57234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT0WZ-00010s-C7 for help-guix@gnu.org; Tue, 21 May 2019 04:53:31 -0400 In-Reply-To: <6bafb31cbd973b67094f5551a8d7c403@disroot.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@disroot.org, help-guix --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi znavko, cannot help now, just a quick reply to inline error log and config for ml archiving purposes znavko@disroot.org writes: > Hello! I want to install guix, but have troubles with bootloader configur= ation. I parted my disk this way: > > # fdisk -l /dev/sdb > > Disk /dev/sdb: 59.6 GiB, 64023257088 bytes, 125045424 sectors Units: sec= tors of 1 * 512 =3D 512 bytes Sector size (logical/physical): 512 bytes / 5= 12 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: = gpt Disk identifier: 3E7A5583-EC16-4444-BD05-F488879F5F8 Device Start End S= ectors Size Type /dev/sdb1 2048 104859647 104857600 50G Linux filesystem /d= ev/sdb2 104859648 125045390 20185743 9.6G Linux swap=20=20 > # guix system init /mnt/etc/config.scm /mnt 2>err > # cat err | nc termbin.com 9999 > https://termbin.com/r3oh this is the output =2D-8<---------------cut here---------------start------------->8--- Backtrace: 13 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 12 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 11 (_ #(#(#))) In guix/ui.scm: 1747:12 10 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 9 (catch _ _ # =E2=80=A6) 829:9 8 (catch _ _ # =E2=80=A6) In guix/scripts/system.scm: 1325:8 7 (_) In guix/status.scm: 768:4 6 (call-with-status-report _ _) In guix/scripts/system.scm: 1181:4 5 (process-action _ _ _) In guix/store.scm: 623:10 4 (call-with-store _) 1794:24 3 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/scripts/system.scm: 1197:13 2 (_ _) 867:9 1 (perform-action init #< kernel: # =E2=80=A6) In gnu/system.scm: 974:26 0 (operating-system-bootcfg #< kernel:=E2=80= =A6> =E2=80=A6) gnu/system.scm:974:26: In procedure operating-system-bootcfg: In procedure struct_vtable: Wrong type argument in position 1 (expecting st= ruct): #f =2D-8<---------------cut here---------------end--------------->8--- > # cat /mnt/etc/config.scm | nc termbin.com 9999 > https://termbin.com/r5rq > Please, what is wrong? this is the config =2D-8<---------------cut here---------------start------------->8--- ;-*- mode: Scheme; -*- ;;this is znavko's cute config ;; for lightweight xfce4 desktop ;; without networkmanager but wpa_supplicant + dhcp-client instead ;; notebok settings: disabling sleep on closing lid ;; disabling pc-speaker, lenovo wifi blocking solution ;; enabling touchpad tapping (use-modules (gnu) (gnu system nss) (gnu system locale) ;;for locale-definition (gnu services desktop) (srfi srfi-1) ;;for remove function (gnu services networking) ;;for remove ntp (gnu services avahi) ;;for remove avahi (gnu services xorg) (gnu packages admin) ;;for wpa_supplicant ) (use-service-modules desktop) (use-package-modules certs gnome) (operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale= "en_US.utf8") (bootloader=20 (bootloader-configuration=20 (bootloader grub-bootloader)=20 (target "/dev/sdb"))) (file-systems (cons (file-system (device "/dev/sdb1") (mount-point "/mn= t") (type "ext4")) %base-file-systems)) (swap-devices '("/dev/sdb2")) (users (cons* (user-account (name "bon") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/bob")) (user-account (name "mom") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/mom")) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access gvfs ;for user mounts wpa-supplicant %base-packages)) (services (cons*=20 ;; xfce4 desktop, dhcp-client, slim (service xfce-desktop-service-type) (service dhcp-client-service-type) ;; slim config for enabling touchpad tap (service slim-service-type (slim-configuration (xorg-configuration (xorg-configuration (extra-config=20=20 '("Section \"InputClass\" Identifier \"touchpad\" Driver \"libinput\" MatchIsTouchpad \"on\" Option \"Tapping\" \"on\" EndSection") )))) ) (modify-services=20=20=20=20=20=20 ;; removing unnecessary services (remove (lambda (service) (member (service-kind service) (list ntp-service-type avahi-service-type=20 bluetooth-service network-manager-service-type gdm-service-type))) %desktop-services) ;end of remove lambda services ;; wpa_supplicant + dhcp-client (above) instead of networkmanager (wpa-supplicant-service-type config =3D> (wpa-supplicant-configuration (interface "wlp2s0") (config-file "/etc/wpa_supplicant/wpa_supplicant.conf"))) ;; disabling sleep on closing notebook lid (elogind-service-type c =3D> (elogind-configuration (handle-lid-switch 'ignore))) ) ;;end of modify-services )) ;;end of services ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss) ;;blacklist ugly sound speaker (kernel-arguments '("modprobe.blacklist=3Dpcspkr,snd_pcsp,bluetooth")) ) ;;end of operating-system =2D-8<---------------cut here---------------end--------------->8--- =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlzjvIYACgkQ030Op87M ORJf4Q//RDlE3XfMHNrp5VoUBdJ2PrpsVkUyuILOOvsicDe/5H89umrIyQXM3o34 7wQbjnVttYgrwhHA1Qc8BMGWKaFB0+zi+K7KsWctc/iPlUyuvG/x01hU5WxrKwKS hf4GVefqdQ2xCvJmIrrNylLW0wMHG2CkW5ijLw94R0dD7a7BViRraTiPOg53YyYE Anoqab7uvg63uB83J1ms+9XgE7bhxt9vWbOFExFCiIPgJMTXHhOMUYRtwRMVhI4+ 9/ycWIumMU5Z2ScqEtNV3yPtte2TMYIKkr6bQyfMz9GfoqT0eoqIGwsCttimeo+I ZztvebDS4EwgjJphiKgWr83IWURSGAp/ELp/67QEnXD/l6XgLHqmneEECqTagkdG xaV0GfOa4tS8loP+oybSFqu2TFYjRdFZ/KJjpIBCQ13po1Erx3Kuf6E7G4qAt9ra HTu8dGfr3K8PMPNVmbK4XB4zlhA4d/7bLTM7At131vuieh948DKrvQBmuz7a35gt Hm3T9Q+yP5MFN6wHI3HWq4vAmrSNRdc5W/VQpv4L78ns1PlDrIoUFY2jjomCNAiK zOid5E2u7oZzdH0aGBACut3shcZQL+yQf5SKmL/VbHi1jAQgU+yKAic9b4T8QeeY QefQHILjnFB7M/yKGG/AsyqcR01wr9AsSoyGJRSHzudtj7qoIjY= =Jxlf -----END PGP SIGNATURE----- --=-=-=--