Find the answer to your Linux question:
Results 1 to 3 of 3
Hello: I'm having a problem getting mkinitrd to create a ram image for my Xandros x86 system on my Xandros system. Ran the following with no problem: make menuconfig make ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    6

    Problem with mkinitrd


    Hello:

    I'm having a problem getting mkinitrd to create a ram image for my Xandros x86 system on my Xandros system. Ran the following with no problem:

    make menuconfig
    make
    make modules_install

    I verified after install the the correct directories were created along with files in /lib

    Problem I'm having is with mkinitrd. First of all I'm not absolutely sure I'm launching it correctly as the man page, command line help and internet man pages don't always agree with each other.

    Here's how I'm launching it:

    mkinitrd -k 2.6.22.1


    Here's the output I get:

    Using specified kernel version 2.6.22.1
    output_file = /boot/initrd-2.6.22.1.gz
    Modules in ramdisk: ide-disk.ko reiserfs.ko
    mknod -m 0660 /tmp/mkinitrd.dir1440//dev/hda2 b 3 2
    Modules: ide-disk.ko reiserfs.ko
    Preload:
    Could not copy modules! at /sbin/mkinitrd line 337.


    Note I am running this as root and I verified that the files ide-disk.ko and reiserfs.ko exist in the /lib/modules/2.6.22.1/.... directories

    I also verified that there is a /boot directory and I can copy files to it.


    Thanks for any insight.

  2. #2
    Just Joined! tom-tjtech's Avatar
    Join Date
    Apr 2006
    Location
    Scotland
    Posts
    51
    Xandros own forum has a detailed step-by-step instructions on how to
    recreate the ramdisk:

    link here

    hope this may be of assistance to you.

  3. #3
    Just Joined!
    Join Date
    Aug 2007
    Posts
    6
    Interesting approach-they're not using mkinitrd but using the existing ram image as a template. But I would like to to figure out why mkinitrd doesn't work as I've never had a problem with mkinitrd with other distributions. But if I can't get an answer soon, I may give this other method a try.

    Thanks for your response.

Posting Permissions

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