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
...
- 08-16-2007 #1Just 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.
- 08-16-2007 #2
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.
- 08-16-2007 #3Just 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.


Reply With Quote
