2021-08-31

Why mdev or udev does not create disk nodes when used kernel is from any distribution

I created a minimal linux init with just busybox to do experiments or use it to recover my work linux. But i got stuck and was fustruted alot that i could not find any disks in /dev. I tried both mounting udev as devtmpfs and tmpfs with mdev -s. Both none seemed to work. Lickily i tried compiling a kernel and booting it i realised kernel was the issue. I also noticed my pluged mouse light was off as if the pc was turned off

I tried kernel from both debian and ubuntu. But same result.

Now im happy with what i got. But using custom kernel means i cant make use of the already existing drivers on a target linux when i do chroot.

So i wanna know why the kernels that come with distros does not generate disk blocks



from Recent Questions - Stack Overflow https://ift.tt/2WBZFeh
https://ift.tt/eA8V8J

No comments:

Post a Comment