this is what I've found in the man pages
Code:
--kernel FILE
Do not detect the kernel to use with UYOK, but instead use the file specified by the argument FILE. Use this parameter only with --mod‐
ules_dir and only if you use UYOK feature.
--modules-dir DIR
Get kernel modules to use with UYOK from the DIR repository. Use this parameter only with --kernel and only if you use UYOK feature.
I tried around a little bit and ran this
si_prepareclient --server myImageServerIP --kernel /boot/config-2.6.22.9-0.4-default
and got the following output, but I don't know if that is okay?
Code:
Using "sfdisk" to gather information about disk:
/dev/sda
Using "sfdisk" to gather information about disk:
/dev/sdb
Use of uninitialized value in pattern match (m//) at /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm line 576.
WARNING: couldn't find a valid filesystem for initrd.img!
WARNING: trying with cpio initramfs...
>>> Choosing filesystem for new initrd: cpio
>>> Creating new initrd from staging dir: /tmp/.systemimager.0
>> cd /tmp/.systemimager.0 && find . ! -name "*~" | cpio -H newc --create | gzip -9 > /etc/systemimager/boot/initrd.img
27441 blocks
>> ls -l /etc/systemimager/boot/initrd.img
-rw-r--r-- 1 root root 5560230 Mar 11 21:03 /etc/systemimager/boot/initrd.img
>> Evaluating initrd size to be added in the kernel boot options
>> (e.g. /etc/systemimager/pxelinux.cfg/syslinux.cfg):
>> suggested value -> ramdisk_size=23960.5
>>> Using kernel from: /boot/config-2.6.22.9-0.4-default
>> ls -l /etc/systemimager/boot/kernel
-rw-r--r-- 1 root root 80417 Mar 11 21:03 /etc/systemimager/boot/kernel
Starting or re-starting rsync as a daemon.....
done!
This client is ready to have its image retrieved. You must now run
the "si_getimage" command on your imageserver.
Your client has been successfully prepared. Boot kernel (copied from
this Linux distribution) and an initrd.img (generated by the
initrd_template package) can be found in /etc/systemimager/boot.
Automatically create configuration file for systemconfigurator:
>> /etc/systemconfig/systemconfig.conf
WARNING: unable to detect kernel release of "/boot/config-2.6.22.9-0.4-default"!
WARNING: coulnd't create file /etc/systemconfig/systemconfig.conf (needed by systemconfigurator)
There are a few files in my /boot/ folder and I don't know what to use, in the code above I used
Code:
/boot/config-2.6.22.9-0.4-default
but I also did the whole thing once with the file
Code:
/boot/initrd-2.6.22.9-0.4-default
and got the same output as stated above.
I'd be thankful for any hints / tips
Recent comments
23 hours 27 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 5 hours ago
2 days 6 hours ago