Changes

Jump to navigation Jump to search
1,794 bytes added ,  11:05, 9 November 2013
Line 35: Line 35:     
grub must be installed on all other drives to give the capacity to operate the system. To reach the boot menu of the bios, will depend on your hardware ... F12 under dell, Acer Esc, F11 from msi .... my sme is with Raid1 so I have two drives, you will need to adapt my example to your the number of disks.
 
grub must be installed on all other drives to give the capacity to operate the system. To reach the boot menu of the bios, will depend on your hardware ... F12 under dell, Acer Esc, F11 from msi .... my sme is with Raid1 so I have two drives, you will need to adapt my example to your the number of disks.
 +
 +
==Fix the GRUB with the official SME Server CDROM ==
 +
I presume that your SME Server is on a RAID1 of two disks (sda, sdb), otherwise you will have to adapt this HOWTO.
 +
 +
* start the system with your official SME Server CDROM
 +
* give at prompt : '''linux rescue'''
 +
* set your language and your keyboard
 +
* set to '''no''' the start of network interfaces
 +
* set to '''continue''' the question about how the system is mounted in /mnt/sysimage
 +
* set to '''ok'''
 +
* give at prompt :
 +
chroot /mnt/sysimage
 +
su -
 +
 +
* then you can perform
 +
grub-install /dev/sda
 +
grub-install /dev/sdb
 +
 +
do it for each disk you have on your server
 +
 +
* to exit
 +
exit
 +
exit
 +
halt
 +
 +
then you can test if the grub is present on your drives.
 +
    
==Fix the GRUB with the systemrescuecd ==
 
==Fix the GRUB with the systemrescuecd ==
Line 93: Line 120:  
you can restart and continue the tutorial
 
you can restart and continue the tutorial
   −
===Installation of grub on the other disks===
+
===Installation of grub on other disks===
    
*once your Sme started, you need to login in as root
 
*once your Sme started, you need to login in as root
Line 111: Line 138:  
from there you can reboot your server and check that the grub is installed on each hd. it is simple, with the boot menu or bios, you say on what hd you want to boot .
 
from there you can reboot your server and check that the grub is installed on each hd. it is simple, with the boot menu or bios, you say on what hd you want to boot .
 
to reach the boot menu of the bios, well it depends on your hardware ... F12 under dell, Acer Esc, F11 from msi ....
 
to reach the boot menu of the bios, well it depends on your hardware ... F12 under dell, Acer Esc, F11 from msi ....
 +
 +
==Installation of grub on a new disk==
 +
 +
When your system is started you can install grub by the command Line on any other disk you want. You have to change by the name of your new disk.
 +
 +
[root@sme8dev64 ~]# grub
 +
Probing devices to guess BIOS drives. This may take a long time.
 +
 +
 +
    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)
 +
 +
[ Minimal BASH-like line editing is supported.  For the first word, TAB
 +
  lists possible command completions.  Anywhere else TAB lists the possible
 +
  completions of a device/filename.]
 +
 +
grub> device (hd0) /dev/sdb
 +
device (hd0) /dev/sdb
 +
 +
grub> root (hd0,0)
 +
root (hd0,0)
 +
Filesystem type is ext2fs, partition type 0xfd
 +
 +
grub> setup (hd0)
 +
setup (hd0)
 +
Checking if "/boot/grub/stage1" exists... no
 +
Checking if "/grub/stage1" exists... yes
 +
Checking if "/grub/stage2" exists... yes
 +
Checking if "/grub/e2fs_stage1_5" exists... yes
 +
Running "embed /grub/e2fs_stage1_5 (hd1)"...  15 sectors are embedded.
 +
succeeded
 +
Running "install /grub/stage1 (hd0) (hd0)1+15 p (hd1,0)/grub/stage2 /grub/grub.conf"... succeeded
 +
Done.
 +
 +
grub> quit
 +
quit
    
==Fix Grub on a HP Proliant DL380 G2==
 
==Fix Grub on a HP Proliant DL380 G2==

Navigation menu