Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Please I need help with this custom grub:

default=0
timeout=20
fallback=1

title Remote Install
root (hd0,0)
kernel /vmlinuz_remote lang=en_US keymap=us ks=nfs:192.168.128.42:/tftpboot/Kickstart/ks.cfg ksdevice=00:1A:64:22:32:4B headless xfs panic=60
initrd /initrd_remote.img

I have 3 grub configs and I've been able to make the "Remote install" grub config to be the default run. At the moment it boots up but hangs at the prompt.

Grub version: 0.98

The other 2 grubs that comes that exists after successful installation and update of the kernel are:

splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-279.9.1.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-279.9.1.el6.x86_64 ro root=/dev/mapper/vg_serverprisa-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_serverprisa/lv_swap rd_NO_MD rd_LVM_LV=vg_serverprisa/lv_root SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
        initrd /initramfs-2.6.32-279.9.1.el6.x86_64.img
title CentOS (2.6.32-279.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=/dev/mapper/vg_serverprisa-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_serverprisa/lv_swap rd_NO_MD rd_LVM_LV=vg_serverprisa/lv_root SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
        initrd /initramfs-2.6.32-279.el6.x86_64.img
share|improve this question
    
did you try to remove fallback=1? –  Serge Oct 7 '12 at 15:49
    
Yes. I added fallback because the Remote Install custom grub was failing and I needed a way to continue to tweak the grub till I get a working grub version. –  drecute Oct 7 '12 at 16:16
    
Fallback to what kernel? You specified only one as kernel in the first conf file you posted. –  Serge Oct 7 '12 at 16:19
    
It's falling back to 'title CentOS (2.6.32-279.9.1.el6.x86_64)'. The first and the other grubs I posted above are all in /boot/grub/menu.lst file. –  drecute Oct 7 '12 at 16:22
    
Aha, it is the parts of the same grub.conf, then I see.. So, at what prompt it hangs? –  Serge Oct 7 '12 at 16:25
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.