IRC channel logs
2014-06-17.log
back to list of logs
<davexunit>having trouble generating the guix VM image :( <davexunit>Could not access KVM kernel module: No such file or directory *davexunit needs to relog to get added to libvirt group and try again <davexunit>found the problem: virtualization disabled in BIOS. d'oh! <davexunit>gah, getting permission denied error when trying to create qemu image. lame. <phant0mas>having exams over here, tomorrow I am gonna update you with what I have done the past week <phant0mas>and btw we don't actually need the flags "--disable-profile""--disable-multi-arch" <civodul>well, maybe it's better to answer on the ML ;-) <davexunit>hi, civodul. I'm trying to generate the test VM image but having some trouble with KVM. I haven't found much documentation on the prerequisites for this to work. <davexunit>I can boot a distro's live cd just fine, but guix throws a permissions error: Could not access KVM kernel module: Permission denied <davexunit>I thought that adding the guix-builder users to the libvirt group would resolve it, but it didn't. <civodul>davexunit: do you have /dev/kvm, and is it 666? <civodul>then you need to load the proper kvm module, such as kvm-intel <davexunit>a-ha, the permissions are wrong on /dev/kvm. 660 <civodul>ah, but maybe your distro expects users of KVM to be in the right group <davexunit>Debian expects the libvirt group. I added my user account to that group, but adding the builder users to that group seems to do nothing. <davexunit>now once `./pre-inst-env guix system vm build-aux/hydra/demo-os.scm` completes, how do I boot the system? <civodul>that command will return the name of a script, which you just have to run as-is <civodul>the script basically invokes qemu with the right params <civodul>it's great that you're giving this a try :-) <davexunit>build failed: opening lock file `/gnu/store/...`: Permission denied <civodul>yeah, right: 'guix system vm' returns an script that shares the store with the host <civodul>so it's convenient to test system-wide things, but not for things that modify the store <civodul>instead you can use 'guix system vm-image', which produces a standalone image <civodul>so the image is much bigger, like 800MiB or so for demo-os.scm <civodul>so that's: guix system vm-image --image-size=800MiB demo-os.scm <davexunit>I'll generate the image and see how that goes. about to head to work so I won't have time to test it. <davexunit>later I want to try tweaking the OS configuration. :)