From 9e3bc844c3d088b25bd8d449a4d80017d0bb3b93 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Oct 2016 19:17:54 +0200 Subject: made a version with virt-install (libvirtd) --- README | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index 8344d6f..c373235 100644 --- a/README +++ b/README @@ -31,8 +31,8 @@ darkhttpd . --port 8080 & # mirror now, basic packages should all exist on the host) ./copy_local_packages.sh -TFTP root --------- +TFTP root (for PXE boot) +--------- Copy PXE bootstrap files to a TFTP root: @@ -42,6 +42,12 @@ cp archiso/arch/boot/x86_64/archiso.img tftproot/boot/x86_64/ cp /usr/lib/syslinux/bios/pxelinux.0 tftproot cp /usr/lib/syslinux/bios/ldlinux.c32 tftproot +Local kernel and RAMdisk (for libvirt direct kernel boot) +------------------------ + +cp archiso/arch/boot/x86_64/vmlinuz . +cp archiso/arch/boot/x86_64/archiso.img . + Custom software from AUR ------------------------ @@ -68,7 +74,7 @@ cp INSTALL/*/*pkg.tar.xz myrepo/os/x86_64/. repo-add myrepo/os/x86_64/myrepo.db.tar.gz myrepo/os/x86_64/* -Install Archlinux +Install Archlinux (PXE and qemu directly) ----------------- Create a Qemu image with Archlinux (automatically). The main @@ -83,6 +89,13 @@ qemu-system-x86_64 -drive file=arch.img,index=0,media=disk,format=raw -net nic \ -machine accel=kvm -redir tcp:222::22 \ -nographic -serial mon:stdio |& tee log +Install Archlinux (libvirtd and virt-install) +----------------- + +There are quite some steps here, so they are wrapped into a shell script: + +./createvm.sh + TODOs ----- -- cgit v1.2.3-54-g00ecf