From 6d4e4882ec3433f24adf1326197040194dbc2708 Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Sun, 12 Jun 2016 15:10:02 +0300 Subject: [PATCH] Update README.md --- README.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index fc4fc344c..adc1f10bc 100644 --- a/README.md +++ b/README.md @@ -8,21 +8,14 @@ The script below uses **Linux kernel 4.6.2** and **BusyBox 1.24.2**. The source After that simply run the below script. It doesn't require root privileges. In the end you should have a bootable ISO image named `minimal_linux_live.iso` in the same directory where you executed the script. wget http://kernel.org/pub/linux/kernel/v4.x/linux-4.6.2.tar.xz - tar -xvf linux-4.6.2.tar.xz - cd linux-4.6.2 - make mrproper defconfig bzImage - cd .. wget http://busybox.net/downloads/busybox-1.24.2.tar.bz2 - tar -xvf busybox-1.24.2.tar.bz2 + tar -xvf linux-4.6.2.tar.xz busybox-1.24.2.tar.bz2 cd busybox-1.24.2 - make distclean defconfig - sed -i "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" .config - make busybox install + make CONFIG_STATIC=y distclean defconfig busybox install -j 4 cd _install rm -f linuxrc mkdir dev proc sys echo '#!/bin/sh' > init - echo 'dmesg -n 1' >> init echo 'mount -t devtmpfs none /dev' >> init echo 'mount -t proc none /proc' >> init echo 'mount -t sysfs none /sys' >> init @@ -30,7 +23,7 @@ After that simply run the below script. It doesn't require root privileges. In t chmod +x init find . | cpio -R root:root -H newc -o | gzip > ../../rootfs.cpio.gz cd ../../linux-4.6.2 - make isoimage FDINITRD=../rootfs.cpio.gz + make mrproper defconfig bzImage isoimage FDINITRD=../rootfs.cpio.gz -j 4 cp arch/x86/boot/image.iso ../minimal_linux_live.iso cd ..