diff --git a/README.md b/README.md index 9c71180..d619343 100644 --- a/README.md +++ b/README.md @@ -3,23 +3,37 @@ ## Prerequisites ```bash -sudo apt install qemu-system-x86 grub-pc-bin e2fsprogs +apt install build-essential bison flex libssl-dev libelf-dev \ + ncurses-dev bc git + +apt install qemu-system-x86 qemu-utils + +apt install e2fsprogs grub-pc-bin xorriso + +apt install nasm ``` ## Build ```bash git clone -cd kernel-study +cd kernel-study git clone --depth 1 --branch linux-6.6.y https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux + cd linux make defconfig # make menuconfig +cd .. make ``` +## run + +```bash +make run +``` ## disk.img structure ### 1. 디스크 전체 구조도 (Overview)