Hi Erich,
Thank you.
Basically, I got this question when I looked for some instructions about
updating kernel on the OSCAR cluster in the OSCAR admin manual.
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/AdminGuide/Commands#ManagingRepositories
As you can see in the manual, all my purpose of running "systemconfigurator
--configrd" is make the new initrd of the updated kernel available on
oscarimage before deploying the oscarimage to the client node.
So, do you think this manual has something wrong and we need to fix it? If so,
can you please revise the document properly?
> Please post your systemconfig.conf. That one should contain something like
> CONFIGRD = YES
> at the beginning.
==========================================
[EMAIL PROTECTED] ~]# cat /etc/systemconfig/systemconfig.conf
[BOOT]
ROOTDEV = /dev/sda9
BOOTDEV = /dev/sda
DEFAULTBOOT = systemimager
[KERNEL0]
LABEL = systemimager
PATH = /boot/vmlinuz-2.6.9-55.ELsmp
INITRD = /boot/initrd-2.6.9-55.ELsmp.img
APPEND = ro root=LABEL=/12 rhgb quiet console=tty0
[EMAIL PROTECTED] ~]# chroot /var/lib/systemimager/images/oscarimage
[EMAIL PROTECTED] ~]# cat /etc/systemconfig/systemconfig.conf
# systemconfig.conf written by systeminstaller.
CONFIGBOOT = YES
CONFIGRD = YES
[BOOT]
ROOTDEV = /dev/sda6
BOOTDEV = /dev/sda
DEFAULTBOOT = 2.6.9-55.ELsmp
[KERNEL0]
PATH = /boot/vmlinuz-2.6.9-55.ELsmp
LABEL = 2.6.9-55.ELsmp
[KERNEL1]
PATH = /boot/vmlinuz-2.6.9-55.EL
LABEL = 2.6.9-55.EL
[EMAIL PROTECTED] ~]#
==========================================
Yes, it does have the option on the systemconfig.conf of oscarimage.
Regards,
- DongInn
Erich Focht wrote:
> Hi DongInn,
>
> you are trying to create the initrd under the chroot in the image. This
> cannot work.
>
> SC is usually called on the client, after the deployment of the image.
> Therefore you will have an /etc/fstab in place (check out your autoinstall
> script) and the Grub installation method will try to create an /etc/mtab on
> the fly. Besides, you'll have /proc mounted in your /a chroot in the freshly
> deployed image.
>
> Please post your systemconfig.conf. That one should contain something like
> CONFIGRD = YES
> at the beginning.
>
> Regards,
> Erich
>
> On Donnerstag 28 Februar 2008, DongInn Kim wrote:
>> Hi,
>>
>> Does anyone have run "systemconfigurator --configrd" on your chroot image
>> created by SystemImager-4.0.2?
>> Basically I need to run this command to create init ramdisk for the kernel
>> which is updated on my oscarimage.
>> But I have the following error.
>> http://pastebin.ca/922414
>>
>> As you may know, oscarimage, the default systemimage name for OSCAR, is not
>> identical to the client nodes (e.g., /etc/mtab and /etc/fstab are missing on
>> oscarimage) unlike the golden client image.
>> This is why I think "systemconfigurator --configrd" could not do the right
>> thing because it tries to refer to /etc/{mtab,fstab} which does not exist on
>> oscarimage.
>>
>> Can anyone help me to figure out this problem?
>>
>> Regards,
>>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users