summaryrefslogtreecommitdiffstats
path: root/dev-tools
diff options
context:
space:
mode:
authorjandob2015-11-12 13:48:37 +0100
committerjandob2015-11-12 13:48:37 +0100
commit75236b53b57caf54bf8a4c01aa2121d36654e069 (patch)
tree7057ae25837ccd20a874537a16a23fb279c57ff8 /dev-tools
parentAdding minimal PXE-Bootloader. (diff)
downloadsystemd-init-75236b53b57caf54bf8a4c01aa2121d36654e069.tar.gz
systemd-init-75236b53b57caf54bf8a4c01aa2121d36654e069.tar.xz
systemd-init-75236b53b57caf54bf8a4c01aa2121d36654e069.zip
add readme for virtualbox tftp pxe boot
Diffstat (limited to 'dev-tools')
-rw-r--r--dev-tools/TFTP/.gitignore2
-rw-r--r--dev-tools/TFTP/README.md16
-rwxr-xr-xdev-tools/TFTP/initramfs-test.imgbin43999658 -> 0 bytes
-rw-r--r--dev-tools/TFTP/pxelinux.cfg/default2
-rwxr-xr-xdev-tools/TFTP/vmlinuz-linuxbin4255104 -> 0 bytes
5 files changed, 19 insertions, 1 deletions
diff --git a/dev-tools/TFTP/.gitignore b/dev-tools/TFTP/.gitignore
new file mode 100644
index 00000000..22535dbd
--- /dev/null
+++ b/dev-tools/TFTP/.gitignore
@@ -0,0 +1,2 @@
+*.img
+vmlinuz-linux
diff --git a/dev-tools/TFTP/README.md b/dev-tools/TFTP/README.md
new file mode 100644
index 00000000..63edb76e
--- /dev/null
+++ b/dev-tools/TFTP/README.md
@@ -0,0 +1,16 @@
+# Booting via pxe from virtualbox
+
+## create vm
+the vm has to be named "pxeTest" (needs to match ./pxeTest.pxe)
+
+## configure vm
+under settings->system add network boot
+
+## link/copy this directory into the virtualbox
+config directory
+>>> find ~ -name VirtualBox.xml
+~/.VirtualBox/
+>>> ln -s . ~/.VirtualBox/
+
+## copy initram and kernel
+>>> cp /some/path/{initram.img,vmlinuz-linux} .
diff --git a/dev-tools/TFTP/initramfs-test.img b/dev-tools/TFTP/initramfs-test.img
deleted file mode 100755
index 1db59f51..00000000
--- a/dev-tools/TFTP/initramfs-test.img
+++ /dev/null
Binary files differ
diff --git a/dev-tools/TFTP/pxelinux.cfg/default b/dev-tools/TFTP/pxelinux.cfg/default
index 94cb3901..0ad11be5 100644
--- a/dev-tools/TFTP/pxelinux.cfg/default
+++ b/dev-tools/TFTP/pxelinux.cfg/default
@@ -8,7 +8,7 @@ MENU TITLE My PXE Boot Menu
LABEL arch
MENU LABEL ^arch network boot
KERNEL /vmlinuz-linux
-APPEND initrd=/initramfs-test.img root=PARTLABEL=system rw rootflags=subvol=root quiet loglevel=2 acpi_osi="!Windows 2012" rd.info rd.break ip=on vconsole.font=latarcyrheb-sun16 vconsole.keymap=de
+APPEND initrd=/initramfs-test.img root=PARTLABEL=system rw rootflags=subvol=root quiet loglevel=2 acpi_osi="!Windows 2012" rd.info rd.break ip=10.0.2.15::10.0.2.2:255.255.255.0::enp0s3:off vconsole.font=latarcyrheb-sun16 vconsole.keymap=de
LABEL BootNormal
MENU LABEL ^Boot Normal (HDD)
diff --git a/dev-tools/TFTP/vmlinuz-linux b/dev-tools/TFTP/vmlinuz-linux
deleted file mode 100755
index 8f0b53c1..00000000
--- a/dev-tools/TFTP/vmlinuz-linux
+++ /dev/null
Binary files differ