summaryrefslogtreecommitdiff
path: root/md/writeup
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-12-12 17:16:07 +0000
committerFreeArtMan <dos21h@gmail.com>2015-12-12 17:16:07 +0000
commit0c488ea7709ccb087d08be09a0fa2e9c90369cb0 (patch)
tree98434684164785032aa495eaf225b44b846ba2aa /md/writeup
parentebd008c653be124815af241f6d351046d28af8fa (diff)
parente72d80f9f8d2843960fd301b2093273f81467ffd (diff)
downloadmd-content-0c488ea7709ccb087d08be09a0fa2e9c90369cb0.tar.gz
md-content-0c488ea7709ccb087d08be09a0fa2e9c90369cb0.zip
Merge branch 'write-wordpress-researcher'
Diffstat (limited to 'md/writeup')
-rw-r--r--md/writeup/compile_linux_kernel.md11
-rw-r--r--md/writeup/qemu_usage.md75
2 files changed, 86 insertions, 0 deletions
diff --git a/md/writeup/compile_linux_kernel.md b/md/writeup/compile_linux_kernel.md
new file mode 100644
index 0000000..1682125
--- /dev/null
+++ b/md/writeup/compile_linux_kernel.md
@@ -0,0 +1,11 @@
+# Getting sources
+
+## Installing modules
+
+## Compile module
+
+# Linux patches
+
+## Gr security
+
+## Tomoyo \ No newline at end of file
diff --git a/md/writeup/qemu_usage.md b/md/writeup/qemu_usage.md
new file mode 100644
index 0000000..38fc3e0
--- /dev/null
+++ b/md/writeup/qemu_usage.md
@@ -0,0 +1,75 @@
+
+# QEMU
+
+## Create image
+
+```bash
+qemu-img create -f raw image_file 4G
+```
+
+Run iso with image
+
+```bash
+qemu-system-i386 -cdrom _iso_image_ -boot order=d _qemu_image_
+```
+
+
+### Setting up memory
+
+> -m 512
+
+### Setting up network card
+
+-net nic
+
+### Lunching image
+
+If everything installed then image could be runed just with
+
+```bash
+qemu-system-i386 _options_ _disk_image_
+```
+
+<!--## Lunching self compiled kernel-->
+
+
+## Compile qemu
+
+To get qemu you can download file or just clone git repo here is page to
+download files [http://wiki.qemu.org/Download](http://wiki.qemu.org/Download)
+and git repo located at
+
+```bash
+git clone git://git.qemu-project.org/qemu.git
+```
+
+To see avaliable targets run
+```bash
+./configure --help
+```
+there alos many different options and targets just choose one that you need
+most
+
+Configure targets:
+
+```bash
+./configure --target-list=arm-softmmu,arm-linux-user
+```
+
+or could be choosen to compile all targets
+
+```bash
+./configure --enable-system
+```
+
+Compile
+
+```bash
+make
+```
+
+## Reference
+
+1. [https://wiki.archlinux.org/index.php/QEMU](https://wiki.archlinux.org/index.php/QEMU)
+2. [http://www.cnx-software.com/2012/03/08/how-to-build-qemu-system-arm-in-linux/](http://www.cnx-software.com/2012/03/08/how-to-build-qemu-system-arm-in-linux/)
+3. [https://wiki.linaro.org/PeterMaydell/KVM/HowTo/BuildQEMU](https://wiki.linaro.org/PeterMaydell/KVM/HowTo/BuildQEMU) \ No newline at end of file