Koozali.org: home of the SME Server

Latest updates left me with GRUB screen on reboot

Offline Bozely

  • *
  • 75
  • +0/-0
Latest updates left me with GRUB screen on reboot
« on: January 25, 2013, 02:12:33 PM »
Yesterday I had some trouble after installing the latest updates for SME8, after running

Code: [Select]
yum update
signal-event post-upgrade; signal-event-reboot

The system would just hang at the grub screen when rebooted and would take no input.

Initially tried to boot from each of my RAID disks to no avail.

Then tried to do a repair/upgrade install but was getting an error saying that the partition was unreadable, had a similar error when running the sme rescue disk. I removed one of the HDDs and the repair/upgrade ran but was generating an error along the lines of "SDC1 was not found" (this is the USB backup drive). With one disk installed I booted the sme rescue disk and manually deleted the entry from fstab then ran a repair/upgrade install using

Code: [Select]
sme nodmraid
System came back online, shutdown, installed second HDD and restarted and added the disk to the array in the console.

Not sure if this is a bug or just our setup but thought I would share the experience!  :-?

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Latest updates left me with GRUB screen on reboot
« Reply #1 on: January 27, 2013, 05:41:52 AM »
Yesterday I had some trouble after installing the latest updates for SME8, after running

Code: [Select]
yum update
signal-event post-upgrade; signal-event-reboot

The system would just hang at the grub screen when rebooted and would take no input.

Initially tried to boot from each of my RAID disks to no avail.

Then tried to do a repair/upgrade install but was getting an error saying that the partition was unreadable, had a similar error when running the sme rescue disk. I removed one of the HDDs and the repair/upgrade ran but was generating an error along the lines of "SDC1 was not found" (this is the USB backup drive). With one disk installed I booted the sme rescue disk and manually deleted the entry from fstab then ran a repair/upgrade install using

[snip]

Did you have the USB drive connected when doing the upgrade and reboot?
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline Bozely

  • *
  • 75
  • +0/-0
Re: Latest updates left me with GRUB screen on reboot
« Reply #2 on: March 04, 2013, 03:00:03 PM »
Quote
Did you have the USB drive connected when doing the upgrade and reboot?
Yes USB was connected when doing the upgrade and on the initial reboot, after failing to reboot I removed the USB device but i'm guessing by that point the damage was already done.

Offline calisun

  • *
  • 620
  • +0/-1
Re: Latest updates left me with GRUB screen on reboot
« Reply #3 on: March 10, 2013, 07:52:36 AM »
Yes USB was connected when doing the upgrade and on the initial reboot, after failing to reboot I removed the USB device but i'm guessing by that point the damage was already done.

I have a server at a co-location facility with USB drive attached as a backup device. I have not done any updates since I have read this post. Has the issue been fixed? It it safe now to update with USB drive attached?
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Latest updates left me with GRUB screen on reboot
« Reply #4 on: March 10, 2013, 09:30:39 AM »
Gents my bad, I just updated an sme8 test system to latest packages with a USB drive inserted in USB port, all OK.  Box updated, rebooted and reconfigured itself, no issues. Just to make sure that the USB was OK, I then performed a backup from the console to USB (labelled removable media nowadays..), backup was successful.  So no concern AFAICT about updating your remote server Calisun.  No idea what was the problem with Bozely.
Sorry
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline NTILZA

  • *
  • 14
  • +0/-0
Re: Latest updates left me with GRUB screen on reboot
« Reply #5 on: March 11, 2013, 08:40:57 PM »
I had a similar issue around the same time with a dev box I was using that hadn't been run/updated in a couple of months.  No USB drive was attached, but after the reboot the system froze with 'GRUB' on the screen.

I ended up booting Rescue Mode with the install CD, mounting the system partition as indicated, then ran (if I remember correctly):

Code: [Select]
grub-install /dev/md1
and then rebooted the system successfully.

Hope that helps.


Offline gklaus

  • *
  • 12
  • +0/-0
Re: Latest updates left me with GRUB screen on reboot
« Reply #6 on: March 14, 2013, 07:57:34 PM »
Thanks!! I had the exact same problem, and the "grub-install" was just the command I was looking for! (I vaguely remebered an error like this, but had forgotten the name of the command to re-write grub).

Thanks again :)

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Latest updates left me with GRUB screen on reboot
« Reply #7 on: November 08, 2013, 07:20:05 PM »
NTILZA: Thanks so much, you fixed an issue I just had when upgrading a 7.5.1 box with SME software RAID to 8.0.  :D
...