Ramirez-Linan, Ramon E. (GSFC-610.3)[GLOBAL SCIENCE & TECHNOLOGY INC] wrote:
> I decided t go ahead and change grub.conf, which actually wasn't the right
> thing to do because now I cant boot that node I tested on.
> 
> 
> So I have 2 questions at this point, how do I recover that node so it
> doesn't get stuck in the grub step
> 
> And more important how do I change grub so the nodes boot from the most
> recent kernel which is already installed in the system, do I need to use
> systemconfigurator? Can I create a systemconfigurator.conf based on the
> headnode which is booting from the right kernel?
> 

The rpm operation should have updated your grub.conf.  I can't imagine
what went wrong.

A broken compute node shouldn't be a problem if the image on the head
node is OK.  Just remove its little file from /tftpboot/pxelinux.cfg
and it will net-boot the image on its next reboot.

The /boot/grub/ directory in my image is almost empty.  It contains
only splash.xpm.gz.  Somehow Oscar/systemimager must do some magic
to fill in grub.conf when the image is downloaded.

I haven't used systemconfigurator on its own.  I let Oscar do it for me.
Frankly, I don't remember when systemconfig.conf is used.

Here's the grub.conf from one of my compute nodes:
##################################################
# This file is generated by System Configurator. #
##################################################
# The number of seconds to wait before booting.
timeout 5
# The default kernel image to boot.
default 0
# The splash image (this line will be empty if nothing was found)
splashimage=(hd0,0)/grub/splash.xpm.gz
# kernel0 (hd0,0)
title 2.6.18-194.8.1.el5_(hd0,0)
         root (hd0,0)
         kernel /vmlinuz-2.6.18-194.8.1.el5 ro root=/dev/md0 enforcing=0
         initrd /sc-initrd-2.6.18-194.8.1.el5.gz

Note that I have a separate /boot partition. Your mileage may vary.

Here's what's in that /boot directory:
-rw-r--r-- 1 root root   66891 Jul  1 16:31 config-2.6.18-194.8.1.el5
drwxr-xr-x 2 root root    1024 Aug 11 07:42 grub
-rw------- 1 root root 2391921 Aug 11 13:05 initrd-2.6.18-194.8.1.el5.img
drwx------ 2 root root   12288 Aug 11 07:42 lost+found
-rw-r--r-- 1 root root   80032 Mar 16  2009 message
-rw------- 1 root root 2665377 Aug 11 07:42 sc-initrd-2.6.18-194.8.1.el5.gz
-rw-r--r-- 1 root root  112713 Jul  1 16:32 symvers-2.6.18-194.8.1.el5.gz
-rw-r--r-- 1 root root 1243148 Jul  1 16:31 System.map-2.6.18-194.8.1.el5
-rw-r--r-- 1 root root 1954620 Jul  1 16:31 vmlinuz-2.6.18-194.8.1.el5


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users
  • ... Ramirez-Linan, Ramon E. (GSFC-610.3)[GLOBAL SCIENCE & TECHNOLOGY INC]
    • ... Patrick Nolan
      • ... Ramirez-Linan, Ramon E. (GSFC-610.3)[GLOBAL SCIENCE & TECHNOLOGY INC]
        • ... Ramirez-Linan, Ramon E. (GSFC-610.3)[GLOBAL SCIENCE & TECHNOLOGY INC]
          • ... Patrick Nolan

Reply via email to