Dear Ekaitz, Felix, Luis, whk and Vagrant.
Thanks a lot for your kind help. Albeit slowly, this is going forward.
I created a gont.scm (gont[1] is my computer) file on my home directory
based on /etc/config.scm.
Added some packages, edited the bootloader section and tested it on a vm
before reconfiguration until run without emiting errors.
The booloader declaration says:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(targets (list "/dev/nvme0n1"))
(menu-entries ;; Add additional boot entries
(list
(menu-entry
(label "Debian") ;; debian viejo
(linux "/boot/vmlinuz-4.19.0-27-amd64")
(linux-arguments
'("root=UUID=6fe52b2e-dd43-4a9b-b5e9-4c05fdc5975f ro quiet"))
(initrd "/boot/initrd.img-4.19.0-27-amd64"))
(menu-entry
(label "GUIX") ;; guix nuevo
(linux
"/gnu/store/pbpfl2ll5qz36bqfnl3g3vvag764714h-linux-libre-6.17.12/bzImage")
(linux-arguments '("ro" "quiet"))
(initrd
"/gnu/store/wcwp1xrpv0k0ji2q2mkwwr4dg1gsh97l-raw-initrd/initrd.cpio.gz")
;; (device (uuid ""))
)
))))
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
(sorry the non-standard cuts, I'm on a webmail and much missing my dear
mu4e).
When no errors appeared with the vm I run 'guix system reconfigure
~/gont.scm'
An error appeared:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
guix system: error: symlink: Permiso denegado:
"/var/guix/profiles/system-2-link.new"
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Run again with sudo and this time it only warned:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
WARNING: (guile-user): imported module (gux build utils) overrides core
binding `delete'
guix system: sistema cargado para reinicio rápido con 'reboot --kexec'
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Rebooting showed me 4 entries in grub, and I had 2 in the bootloader
declaration (is it "declaration" the right word?).
One is guix with the new guix free linux, other is debian, other is guix
(the one specified in the bootloader section?) and yet another the
previous state of the system.
guix boots OK, but debian stops with
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Gave up waiting for root file system device.
Common problems:
Boot args (cat /proc/cmdline)
Check rootdelay= (did the system wait long enough?)
Missing modules (cat /proc/modules; Is /dev)
ALERT! UUID=6fe52b2e- does not exist.
Dropping to a shell!
BusyBox v1.30.1 (Debian 1:1.30.1-4) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
The initial (debian created) grub.cfg has inside, in the menuentry, this
part which I think is the only relevant to our case:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class
gnu --class os $menuentry_id_option
'gnulinux-simple-6fe52b2e-dd43-4a9b-b5e9-4c05fdc5975f' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
search --no-floppy --fs-uuid --set=root
6fe52b2e-dd43-4a9b-b5e9-4c05fdc5975f
echo 'Loading Linux 4.19.0-27-amd64 ...'
linux /boot/vmlinuz-4.19.0-27-amd64
root=UUID=6fe52b2e-dd43-4a9b-b5e9-4c05fdc5975f ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.19.0-27-amd64
}
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Maybe it is something simple, as a space or a comma (I'm terribly afraid
of syntactic errors).
Now, let's check where we are. I understand that:
1. The bootloader declaration only needs to add the "extra" options,
because guix always adds it's own + the previous one. Is this right? If
so, we can take out the guix menu-entry and simplify the bootloader
declaration.
2. There is something wrong in my menu-entry that tries to boot debian,
but yet cannot identify what exactly could it be (wrong UUID? I took it
from grub.cfg, but maybe read it wrong of lost some delimiter?).
As always, thank you very much for your help and conviviality. :)
[1] See "A wizard of Earthsea" from Úrsula K. LeGuin.
--
eduardo mercovich
Donde se cruzan tus talentos
con las necesidades del mundo,
ahí está tu vocación. (anónimo)