From 75236b53b57caf54bf8a4c01aa2121d36654e069 Mon Sep 17 00:00:00 2001 From: jandob Date: Thu, 12 Nov 2015 13:48:37 +0100 Subject: add readme for virtualbox tftp pxe boot --- dev-tools/TFTP/.gitignore | 2 ++ dev-tools/TFTP/README.md | 16 ++++++++++++++++ dev-tools/TFTP/initramfs-test.img | Bin 43999658 -> 0 bytes dev-tools/TFTP/pxelinux.cfg/default | 2 +- dev-tools/TFTP/vmlinuz-linux | Bin 4255104 -> 0 bytes 5 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 dev-tools/TFTP/.gitignore create mode 100644 dev-tools/TFTP/README.md delete mode 100755 dev-tools/TFTP/initramfs-test.img delete mode 100755 dev-tools/TFTP/vmlinuz-linux (limited to 'dev-tools') 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 Binary files a/dev-tools/TFTP/initramfs-test.img and /dev/null 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 Binary files a/dev-tools/TFTP/vmlinuz-linux and /dev/null differ -- cgit v1.2.3-55-g7522