Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2008

    Error during kernel compilitation.


    I am doing the similar kind of kernel compilation. I am trying to compile kernel on kernel 2.6.11.FC4.After doing all the steps I found that on mkinitrd -v /boot/initrd. it is giving permission denied while creating files in the /tmp directory

    Any ideas/suggestions why is it so and how can I get around it,

    Thanks in advance,

    Quote Originally Posted by kewlemer View Post
    An update..I ran a

    /sbin/mkinitrd -v -f /boot/initrd/2.4.21.img 2.4.21

    And now I am getting this message:

    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted files system with ordered data mode.
    pivotroot: pivot_root(/Sysroot,/Sysroot/initrd) failed: 2
    umount /initrd/proc failed: 2
    freeing unused kernel memory: 276k freed
    Kernel panic: No init found. Try passing init= option to kernel.
    Any pointers, folks?


  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    Hi and Welcome !

    Are you logged in as root user or gained root privileges through su - while logged in as Regular User?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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