Server Will No Longer Boot

Discussion in 'Installation/Configuration' started by pg001, Nov 22, 2008.

  1. pg001

    pg001 New Member

    On my server, I have 2 HDD and the system is basically a dual boot system, one debian etch desktop (hard disk 1) and centos 5.2 (hard disk 2) perfect server.

    After I removed Hard Disk 1 (containing the debian desktop), when I try to boot my system, GRUB won't show and centos server won't start up. How do I fix this so I won't need to put my 1st Hard Disk back?
     
  2. pg001

    pg001 New Member

    bump. c'mon guys pls help me on this...
     
  3. _X_

    _X_ New Member

  4. _X_

    _X_ New Member

    http://www.astahost.com/info.php/restoring-grub-boot-loader_t14048.html

    and this:

    26.2.1. Reinstalling the Boot Loader

    In many cases, the GRUB boot loader can mistakenly be deleted, corrupted, or replaced by other operating systems.

    The following steps detail the process on how GRUB is reinstalled on the master boot record:

    Boot the system from an installation boot medium.

    Type linux rescue at the installation boot prompt to enter the rescue environment.

    Type chroot /mnt/sysimage to mount the root partition.

    Type /sbin/grub-install /dev/hda to reinstall the GRUB boot loader, where /dev/hda is the boot partition.

    Review the /boot/grub/grub.conf file, as additional entries may be needed for GRUB to control additional operating systems.

    Reboot the system.

    from here:
    http://www.linuxtopia.org/online_bo...llation_guide/centos5_s1-rescuemode-boot.html
     
  5. pg001

    pg001 New Member

    ok, I fixed it, thank for all the help
     

Share This Page