Hello,
I tried posting this in general, and as far as I can tell it did not post. If it did, I apologize for double posting. I am trying to build a custom Linux system from scratch. I am doing it for educational purposes. I have busybox install in the initramfs, and an init file, which is as follows:
Code:
#!/bin/sh
#Mount things needed by this script
mount -t proc proc /proc
mount -t sysfs sysfs /sys
#Disable kernel messages from popping onto the screen
echo 0 > /proc/sys/kernel/printk
#Clear the screen
clear
#Create all the symlinks to /bin/busybox
busybox --install -s
#Create device nodes
mknod /dev/null c 1 3
mknod /dev/tty c 5 0
mdev -s
exec sh
When I go into /dev there are device files such as tty, but no devices like sda or hd1. I used the debian kernel config, so I believe the drivers should be in the kernel.
Any help is appreciated,
Thanks!