프로젝트
GitHub에서 보기
arjun024/mkernel
소개
최소한의 커널
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 0
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalmkernel
This is a minimalist kernel which prints "my first kernel" on the screen and then hangs.
- The kernel is multi-boot compliant and loads with GRUB.
Blog post
Kernel 101 – Let’s write a Kernel
Build commands
nasm -f elf32 kernel.asm -o kasm.o
gcc -m32 -c kernel.c -o kc.o
ld -m elf_i386 -T link.ld -o kernel kasm.o kc.o
Test on emulator
qemu-system-i386 -kernel kernel
Get to boot
GRUB requires your kernel executable to be of the pattern kernel-<version>.
So, rename the kernel:
mv kernel kernel-701
Copy it to your boot partition (assuming you are superuser):
cp kernel-701 /boot/kernel-701
Configure your grub/grub2 similar to what is given in _grub_grub2_config folder.
Reboot.
Voila!

The next step
See mkeykernel repo
관련 프로젝트 살펴보기
불러오는 중…