From d17ba13e8580b66aeaa4dd02b759ee6b6ac59801 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 17 Feb 2013 20:56:35 +0100 Subject: first automatic installation --- README | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) (limited to 'README') diff --git a/README b/README index 8f238ff..b793120 100644 --- a/README +++ b/README @@ -14,8 +14,9 @@ sed 's/SigLevel = PackageRequired/SigLevel = Never/g' pacman.conf ./build.sh -v build single mkdir -p /mnt/archiso -mount -o loop,ro out/archlinux-2013.02.14-x86_64.iso /mnt/archiso -darkhttpd /mnt/archiso/ --port 8080 +mount -o loop,ro archlive/out/archlinux-2013.02.14-dual.iso /mnt/archiso +ln -s /mnt/archiso . +darkhttpd . --port 8080 cp /mnt/archiso/arch/boot/x86_64/vmlinuz tftproot/boot/x86_64/ cp /mnt/archiso/arch/boot/x86_64/archiso.img tftproot/boot/x86_64/ @@ -29,7 +30,8 @@ qemu-img create arch.img 4G qemu-system-x86_64 -hda arch.img -net nic \ -net user,tftp=$PWD/tftproot,bootfile=pxelinux.0 \ -m 386 -display curses \ - -machine accel=kvm -redir tcp:222::22 + -machine accel=kvm -redir tcp:222::22 \ + -boot n # remote install (manually), then follow docu # (this gives a rough idea of what should be automatized) @@ -43,14 +45,32 @@ systemctl start sshd # - backpac: snapshots, not really the cfengine philosophy # load them after boot of base system or customize the installation medium? +# EFI, later +# wget 'http://wiki.qemu.org/download/efi-bios.tar.bz2' +# qemu with efi +# efi partition etc + # manual minimal installation or "what's needed in a CFengine bootstrap # script"? # - boot loader +# - grub2 +# - virtio ramdisk hooks # - partitioning +# - sgdisk scripting (ArchBlocks does it nicely) # - RAID, LVM, LUKS and friends # - size, swap, filesystem, chunking # - file system layout -sgdisk + +qemu-system-x86_64 -hda arch.img -net nic \ + -net user \ + -m 386 -display curses \ + -machine accel=kvm -redir tcp:222::22 + +# via cfengine + +# packages net-tools gdisk +# pacman -S libedit ntp +# ntpdate 0.pool.ntp.org, systemctl enable ntpd # Links: # https://wiki.archlinux.org/index.php/Archiso @@ -66,3 +86,5 @@ sgdisk # https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide # https://bbs.archlinux.org/viewtopic.php?id=148790 (text mode boot from archiso) # http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=How_to_run_OVMF (UEFI BIOS) +# https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/EdkShellBinPkg/FullShell/X64/Shell_Full.efi +# https://wiki.archlinux.org/index.php/GRUB2 -- cgit v1.2.3-54-g00ecf