Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mariotpc/9f87a3d7b9bae42a7b1c0a62c10ed1f6 to your computer and use it in GitHub Desktop.
Save mariotpc/9f87a3d7b9bae42a7b1c0a62c10ed1f6 to your computer and use it in GitHub Desktop.
Creating the root file system to use with Kernel 4.9.13-MarioTPC
[mariotpc@fedora31 boot]$ ls
bootp compressed dts Image install.sh Makefile zImage
[mariotpc@fedora31 boot]$ mkdir ~/rootfs
[mariotpc@fedora31 boot]$ cd ~/rootfs
[mariotpc@fedora31 rootfs]$ mkdir bin dev etc home lib proc sbin sys tmp usr var
[mariotpc@fedora31 rootfs]$ mkdir usr/bin usr/lib usr/sbin
[mariotpc@fedora31 rootfs]$ mkdir -p var/log
[mariotpc@fedora31 rootfs]$ ls
bin dev etc home lib proc sbin sys tmp usr var
[mariotpc@fedora31 rootfs]$ tree -d
.
├── bin
├── dev
├── etc
├── home
├── lib
├── proc
├── sbin
├── sys
├── tmp
├── usr
│   ├── bin
│   ├── lib
│   └── sbin
└── var
└── log
15 directories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment