Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I want build a kernel without both lkm and initrd. I compiled it and after the boot I have rid of the following errors: mknod /dev/sda failed: read-only filesystem! ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2012
    Posts
    2

    Post build a static kernel without initrd


    Hi,
    I want build a kernel without both lkm and initrd.
    I compiled it and after the boot I have rid of the following errors:
    mknod /dev/sda failed: read-only filesystem!
    the device it cannot make are many.

    my kernel config is the following pastbin:
    h**p://snipurl.com/234p44u

    and here my dmesg:
    h**p://snipurl.com/234psqo

    Thanks very much for help!
    admlewis

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    does lkm mean linux kernel modules? why no initrd? anyway, you'd have to select every device driver as built-in, when running menuconfig, and then recompile the kernel. That includes things like the filesystem, too (e.g., "ext3"). I haven't tried compiling a kernel w/o an accompanying initrd, in a while. i know i did it a while ago, so hopefully that is still possible.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •