summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README60
1 files changed, 11 insertions, 49 deletions
diff --git a/README b/README
index c97373c..0c729c2 100644
--- a/README
+++ b/README
@@ -6,7 +6,7 @@ pacman -S archiso qemu syslinux darkhttpd
ArchISO and optional local cache
--------------------------------
-We build a live Arch boot CD.
+# We build a live Arch boot CD.
export http_proxy=http://192.168.1.12:3128
mkdir archlive
@@ -14,40 +14,32 @@ cp -r /usr/share/archiso/configs/releng/* archlive/.
cd archlive
# always had problem with keys, switch of signing (not good, I know)
-
sed -i 's/^SigLevel.*/SigLevel = Never/g' pacman.conf
# build the live CDs, this take quite a while
-
./build.sh -v build single
cd ..
-We mount it and make it accessible over a webserver:
+# We mount it and make it accessible over a webserver:
-mkdir archiso
-mount -o loop,ro archlive/out/archlinux-2013.05.16-dual.iso archiso
+mount -o loop,ro archlive/out/archlinux-2014.05.18-dual.iso archiso
darkhttpd . --port 8080 &
-We can also make available the packages on this webserver:
-
-mkdir -p {core,extra,community}/os/x86_64/
-repo-add core/os/x86_64/core.db.tar.gz core/os/x86_64/*
-tar zcvfT extra/os/x86_64/extra.db.tar.gz /dev/null
-ln -s extra.db.tar.gz extra/os/x86_64/extra.db
-tar zcvfT community/os/x86_64/community.db.tar.gz /dev/null
-ln -s community.db.tar.gz community/os/x86_64/community.db
+# copy packages from host system (there is no need to build a full-fledged
+# mirror now)
+./copy_local_packages.sh
TFTP root
--------
Copy PXE bootstrap files to a TFTP root:
-mkdir -p tftproot/boot/x86_64
cp archiso/arch/boot/x86_64/vmlinuz tftproot/boot/x86_64/
cp archiso/arch/boot/x86_64/archiso.img tftproot/boot/x86_64/
-cp /usr/lib/syslinux/pxelinux.0 tftproot
+cp /usr/lib/syslinux/bios/pxelinux.0 tftproot
+cp /usr/lib/syslinux/bios/ldlinux.c32 tftproot
Custom software from AUR
------------------------
@@ -73,9 +65,10 @@ 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 \
+ -m 386 \
-machine accel=kvm -redir tcp:222::22 \
- -boot n
+ -display curses
+# -nographic
# remote install (manually), then follow docu
# (this gives a rough idea of what should be automatized)
@@ -109,34 +102,3 @@ systemctl start sshd
# packages net-tools gdisk
-Running the system
-------------------
-
-qemu-system-x86_64 -hda arch.img -net nic \
- -net user \
- -m 386 -display curses \
- -machine accel=kvm -redir tcp:222::22
-
-Links
------
-
-https://wiki.archlinux.org/index.php/Archiso
-https://wiki.archlinux.org/index.php/PXE
-https://wiki.archlinux.org/index.php/Archiso_as_pxe_server
-https://kroweer.wordpress.com/2011/09/07/creating-a-custom-arch-linux-live-usb/
-http://pxeknife.erebor.org/
-https://github.com/altercation/archblocks
-https://bbs.archlinux.org/viewtopic.php?id=149597
-https://github.com/jdodds/aif
-https://wiki.archlinux.org/index.php/Autostarting
-https://wiki.archlinux.org/index.php/Automatic_login_to_virtual_console
-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
-http://www.brianparsons.net/Best-Practices-For-Using-Arch-Linux-on-Servers/
-
-Other projects
---------------
-https://github.com/roman-neuhauser/anarchinst