Koozali.org: home of the SME Server

Grub issue after updating to 7.2

SuperFly

Grub issue after updating to 7.2
« on: July 31, 2007, 06:41:08 PM »
Hi all

I just did an update from 7.1.3 to 7.2 by CD and did test the image before performing the upgrade.

After setup said it had completed successfully I had to reboot only to be met by a screen saying the following

Minimal BASH-like editing is supported. For the first word, TAB lists possible command completions....


Does anybody have any idea how to fix this?

SuperFly

Grub issue after updating to 7.2
« Reply #1 on: July 31, 2007, 08:08:54 PM »
Right, managed to get the system to boot by typing the following commands at the bash prompt

root (hd0,0)
kernel /vmlinuz-2.6.9-55.0.2.EL ro root=/dev/main/root
initrd /initrd-2.6.9-55.0.2.EL.img
boot

 :D

My grub.conf looks like this

default=1
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
hiddenmenu
title SME Server (2.6.9-55.0.2.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.2.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.2.ELsmp.img
title SME Server-up (2.6.9-55.0.2.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.2.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.2.EL.img

The system is up and running...always a good thing but have I started it correctly? Should I rather be using the smp option?

Now, how do I get the system to boot correctly so that it doesn't display the grub screen I mentioned above?

Also, I noticed that on 7.1.3 it doesnt have the below two lines. Should they be there?

foreground 000000
background 4E95D3

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Grub issue after updating to 7.2
« Reply #2 on: August 01, 2007, 05:35:38 AM »
My stock 7.2
Code: [Select]
[root@sme72so-vm ~]# 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/main/root
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
hiddenmenu
title SME Server (2.6.9-55.0.2.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.2.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.2.ELsmp.img
title SME Server-up (2.6.9-55.0.2.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.2.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.2.EL.img
[root@sme72so-vm ~]#


In this case, Default=0 is smp and Default=1 is up.
Regards,
William

IF I give advise.. It's only if it was me....

SuperFly

Grub issue after updating to 7.2
« Reply #3 on: August 01, 2007, 10:08:26 AM »
Okay, so from looking at your conf the grub.conf seems to be okay. Should I reinstall grub using the following command?

grub> setup (hd0)

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Grub issue after updating to 7.2
« Reply #4 on: August 01, 2007, 10:51:01 AM »
I don't know.

It should just work.

Take it to the bug tracker.
Regards,
William

IF I give advise.. It's only if it was me....

SuperFly

Grub issue after updating to 7.2
« Reply #5 on: August 01, 2007, 10:54:40 AM »
The devs are busy guys so I'm going to try reinstalling grub before going to the bug tracker. I'll let you know the outcome.

SuperFly

Grub issue after updating to 7.2
« Reply #6 on: August 03, 2007, 06:22:16 PM »
Okay, it is fixed and I didnt even do anything. All I did is remove my second HHD and replaced it with another drive, recreated the mirror (so I could mess around without "breaking" something). I removed my main HDD and booted up off the second drive...and it booted up without any probs. So, now I'll wipe my previous mirror and recreate it...hopefully all should go well.

Offline dpmiller

  • *
  • 9
  • +0/-0
Re: Grub issue after updating to 7.2
« Reply #7 on: November 27, 2007, 04:04:39 AM »
I'm bug hunting because I had the same problem

CD Upgrade 7.2 on a 7.13 system with mirrored (software) SATA disks and 2 disk arrays.