update: readme.md
This commit is contained in:
@@ -3,23 +3,37 @@
|
|||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
```bash
|
```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
|
## Build
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone <REPOSITORY_URL>
|
git clone <REPOSITORY_URL>
|
||||||
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
|
git clone --depth 1 --branch linux-6.6.y https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux
|
||||||
|
|
||||||
cd linux
|
cd linux
|
||||||
make defconfig
|
make defconfig
|
||||||
# make menuconfig
|
# make menuconfig
|
||||||
|
|
||||||
|
cd ..
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make run
|
||||||
|
```
|
||||||
|
|
||||||
## disk.img structure
|
## disk.img structure
|
||||||
### 1. 디스크 전체 구조도 (Overview)
|
### 1. 디스크 전체 구조도 (Overview)
|
||||||
|
|||||||
Reference in New Issue
Block a user