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?
well your boot loader was on Disk1 ... so you are missing boot loader for cenyos 5.2 ... this looks as good starting point: http://www.centos.org/docs/5/html/I...US/s1-redhat-config-kickstart-bootloader.html
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