summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2013-02-17 20:56:35 +0100
committerAndreas Baumann <abaumann@yahoo.com>2013-02-17 20:56:35 +0100
commitd17ba13e8580b66aeaa4dd02b759ee6b6ac59801 (patch)
treeb2ad8d992a8aebf059f273219bb248c9baecd25f /README
parent840b1f63feb42940a3bc23bb23570f5d98e2c4fe (diff)
downloadarchauto-d17ba13e8580b66aeaa4dd02b759ee6b6ac59801.tar.gz
archauto-d17ba13e8580b66aeaa4dd02b759ee6b6ac59801.tar.bz2
first automatic installation
Diffstat (limited to 'README')
-rw-r--r--README30
1 files changed, 26 insertions, 4 deletions
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