Update
This commit is contained in:
parent
b2ca9d9145
commit
3a2c07347b
|
@ -1,2 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
sudo apt install git build-essential flex bison libncurses-dev qemu-system-x86 syslinux
|
||||
sudo apt install git build-essential bc libelf-dev flex bison libncurses-dev qemu-system-x86 syslinux
|
||||
|
|
|
@ -18,8 +18,7 @@ make menuconfig
|
|||
|
||||
make
|
||||
make install
|
||||
mkdir -p ../fs
|
||||
mv _install/. ../fs
|
||||
mv _install ../fs
|
||||
cd ../fs
|
||||
mkdir -p "proc" "sys" "lib/modules"
|
||||
#sudo mknod -m 644 "dev/console" c 5 1
|
||||
|
|
|
@ -6,13 +6,21 @@ cd linux
|
|||
make tinyconfig
|
||||
|
||||
make menuconfig
|
||||
# Processor type and features > Processor family > 486
|
||||
# Enable loadable module support
|
||||
# Enable the block layer
|
||||
# Networking support
|
||||
# General Setup > Initial RAM filesystem and RAM disk (initramfs/initrd)
|
||||
# General Setup > Configure standard kernel features (expert users) > Enable support for printk
|
||||
# Processor type and features > Processor family > 486
|
||||
# Device Drivers > Character devices > Enable TTY
|
||||
# Executable file formats > Kernel support for ELF binaries
|
||||
# Executable file formats > Kernel support for scripts starting with #!
|
||||
# Executable file formats > Kernel support for scripts starting with #! (not <M>, <*>)
|
||||
# Device Drivers > Character devices > Enable TTY
|
||||
# Device Drivers > PCI Support
|
||||
# Device Drivers > Serial ATA and Parallel ATA drivers
|
||||
# Device Drivers > Serial ATA and Parallel ATA drivers > Generic ATA support
|
||||
# File systems > Pseudo filesystems > /proc and sysfs
|
||||
# File systems > DOS/FAT/EXFAT/NT Filesystems > VFAT (Windows-95 fs support)
|
||||
# CONFIG_ATA_GENERIC
|
||||
|
||||
make bzImage
|
||||
make bzImage -j6
|
||||
mv arch/x86/boot/bzImage .
|
||||
|
|
Loading…
Reference in New Issue