From afca83a8ded450b15515bea2d46803bda5f83012 Mon Sep 17 00:00:00 2001 From: Olivier Medoc Date: Mon, 29 Apr 2013 14:38:45 +0000 Subject: [PATCH] BuildingArchlinuxTemplate changed --- BuildingArchlinuxTemplate.md | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/BuildingArchlinuxTemplate.md b/BuildingArchlinuxTemplate.md index 0009a242..acd41b89 100644 --- a/BuildingArchlinuxTemplate.md +++ b/BuildingArchlinuxTemplate.md @@ -26,8 +26,10 @@ Get all required sources make get-sources ``` -Make all required qubes components (the first use of the builder can take several hours depending on your bandwidth as it will install an archlinux chroot): ------------------------------------------------------------------------------------------------------------------------------------------------------------- +Make all required qubes components +---------------------------------- + +The first use of the builder can take several hours depending on your bandwidth as it will install an archlinux chroot: ``` {.wiki} make vmm-xen-vm @@ -69,7 +71,17 @@ A better fix is planned for the next python release (the bug is considered relea Qubes-OS is now using different xenstore variable names, which makes to archlinux VM failing to boot ---------------------------------------------------------------------------------------------------- -Apply the following fix in the template to revert the variable name to the old Qubes version (eg: sudo mkdir /mnt/vm; sudo mount /var/lib/qubes/vm-templates/archlinux-x64/root.img /mnt/vm; sudo chroot /mnt/vm then apply the fix, then umount /mnt/vm) +Apply the following fix in the template to revert the variable name to the old Qubes version. + +You can edit the template the following way: + +``` {.wiki} +sudo mkdir /mnt/vm +sudo mount /var/lib/qubes/vm-templates/archlinux-x64/root.img /mnt/vm +sudo chroot /mnt/vm +``` + +Then apply the fix: ``` {.wiki} sudo sed 's:qubes-keyboard:qubes_keyboard:g' -i /etc/X11/xinit/xinitrc.d/qubes-keymap.sh @@ -102,6 +114,12 @@ sudo sed 's:qubes-netvm-domid:qubes_netvm_domid:g' -i /usr/sbin/qubes-netwatcher sudo sed 's:qubes-netvm-external-ip:qubes_netvm_external_ip:g' -i /usr/sbin/qubes-netwatcher ``` +Do not forgot to: + +``` {.wiki} +umount /mnt/vm +``` + The nm-applet (network manager icon) fails to start when archlinux is defined as a template-vm: ----------------------------------------------------------------------------------------------- @@ -119,3 +137,8 @@ to DispVM, Yum proxy and most Qubes addons (thunderbird ...) have not been tested at all. -------------------------------------------------------------------------------------- + +chroot-archlinux/dev/pts has not been unmounted +----------------------------------------------- + +This is a known problem when there are errors during building. Just unmount what you can (or reboot your vm if you are too lazy :) )