Results 1 to 3 of 3

Thread: grub and VMware

  1. #1
    kozmo is offline Junior Member
    Join Date
    Mar 2007
    Posts
    2

    Default grub and VMware

    I've been happily running sugarcrm-os-4.5.0b-x86.vmware for a while. Today, when I rebooted the system suddenly went into grub mode, displaying the grub prompt. I have no idea how to make the system boot from there. Can somebody help me out?

  2. #2
    kozmo is offline Junior Member
    Join Date
    Mar 2007
    Posts
    2

    Default Re: grub and VMware

    I finally managed to boot issuing:
    Code:
    grub> root (hd0,0)
    grub> kernel /boot/vmlinuz-2.6.17.11-1.1.x86.i686.cmov ro root=LABEL=/
    grub> initrd /boot/initrd-2.6.17.11-1.1.x86.i686.cmov.img
    grub> boot
    For some unknown reason /boot/grub.conf had become empty. I updated it with:
    Code:
    title SugarCRM Open Source Appliance release 4.5.0f (2.6.17.11-1.1.x86.i686.cmov)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.17.11-1.1.x86.i686.cmov ro root=LABEL=/
        initrd /boot/initrd-2.6.17.11-1.1.x86.i686.cmov.img
    Then I found out that MySQL couldn't start:
    Code:
    [root@c-b984e055 ]# tail /var/log/mysqld.log
    070411 13:37:39 [ERROR] Can't start server: can't create PID file: No space left on device
    I found big log files and deleted them:
    Code:
    [root@c-b984e055 ]# find / -name *.log | xargs ls -l
    Additionally, the EMAILS table had crashed:
    MySQL error 145: Table './sugarcrm/emails' is marked as crashed and should be repaired
    Code:
    [root@c-b984e055 ]# mysql
    mysql> connect sugarcrm;
    mysql> check table emails;
    mysql> repair table emails;
    Now, disk space is at 95%.
    Code:
    [root@c-b984e055 ]# df -h
    Filesystem   Size  Used  Avail  Use%  Mounted on
    /dev/sda1    916M  820M    49M   95%  /
    none         126M     0   126M    0%  /dev/shm

  3. #3
    nathanbthomas is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    46

    Default Re: grub and VMware

    There are a couple of possibilities here. One is that you ran out of space- more info on dealing with that is here:

    http://www.sugarcrm.com/wiki/index.p..._Guide#TROUBLE

    The other is that somehow you pulled an update in the few minutes where a kernel was made available that broke vmware. If you did, you're the only case I've run into, but it's possible. There was a switch to smp only kernels that was an issue briefly.

    If this is still an issue, let me know.

    Nathan
    Nathan Thomas
    Sugar Appliance Maintainer

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •