Tag Archives: grub

After update to SUSE Linux 11 SP4, it stuck on a black screen written grub>

After updating a Suse Linux 11 to SP4, I’ve booted the server and it was stuck on a black screen written grub>

To solve this problem it is needed to:
Boot using a Suse Linux 11 DVD
Select Rescue System
Choose a language
Login as root

# grub
find /boot/grub/stage1
root (hd0,0) -> type according to your system, found using find /boot/grub/stage1
setup (hd0)

Reboot the server
reboot -d -n -f


Remove the graphical screen with progress bar in Red Hat Enterprise Linux and Suse

Edit file /boot/grub/grub.conf or /boot/grub/menu.lst and on the line that contains the word kernel, remove the word splash or rhgb (Red Hat Graphical Boot) from this line.

You will boot in text mode until it is time to transition to graphical mode otherwise you will remain on text mode.

Use this to check all console messages when booting. Useful if you need to connect remotely and pressing Esc or F2 fails

root@suse9:~ # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Mon Aug 27 18:45:43 2007

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,2)/message

###Don’t change this comment – YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,2)/vmlinuz root=6801 vga=0x317 selinux=0 resume=/dev/cciss/c0d0p2 elevator=cfq showopts
initrd (hd0,2)/initrd

root@rhel66:~ # cat /boot/grub/grub.conf
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/rootvg-rootlv
# initrd /initrd-[generic-]version.img
title Red Hat Enterprise Linux Server (2.6.32-573.1.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-573.1.1.el6.x86_64 ro root=/dev/mapper/rootvg-rootlv rd_NO_LUKS rd_LVM_LV=rootvg/rootlv KEYBOARDTYPE=pc KEYTABLE=br-abnt2 rd_NO_MD rd_LVM_LV=rootvg/swaplv SYSFONT=latarcyrheb-sun16 crashkernel=auto console=tty1 console=ttyS1,115200 noquiet log_buf_len=3M elevator=deadline nmi_watchdog=0 rd_NO_DM LANG=en_US.UTF-8
initrd /initramfs-2.6.32-573.1.1.el6.x86_64.img

If you need to check, boot the kernel using the option splash=off or remove rhgb. You also can use consoleblank=0 to not turn off the screen.

%d bloggers like this: