Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am installing Ubuntu Server 12.04 LTS on an IBM 3650 M2 with a hardware raid5 with three partitions:

sda1 /boot - 1 GB, ext3
sda2 lvm - 1 TB, ext4
sda3 swap - 24GB

During the GRUB installation, I get a message that the installer failed to load GRUB on a hard disk and get sent back to the installer menu.

share|improve this question
    
Were the three partitions you list created on your RAID 5 array? Is your RAID 5 implemented in hardware or software? (In other words, is GRUB aware of the separate disks of the RAID 5 or would this be transparent to GRUB?) Why do you have a separate /boot partition?? –  irrational John May 24 '12 at 20:20
    
hardware raid. the separate /boot partition is because I don't want to put grub or the MBR on an LVM. –  William May 25 '12 at 19:12

2 Answers 2

Please provide more information about why the GRUB install failed.

It is hard to suggest possible solutions when no information is available about why GRUB failed to install. Would you please try the following:

  1. boot an Ubuntu Live CD or USB
  2. mount your LVM partition (/dev/sda2)
  3. run the command cat syslog | grep grub
    (where syslog is the log file in /var/syslog on /dev/sda2)
  4. add the output from the command to your question by editing it

Is the GRUB install problem related to UEFI?

My understanding is that the IBM 3650 M2 uses a UEFI BIOS. Is your problem installing GRUB possibly related to this? If so, perhaps one of the following links may be helpful.

share|improve this answer

I seem to have runned into the same problem. It seemed to have failed on installing software. Error come back that it would not install it and then i could not proceed with anything else.

I believe it was hanging on the installation part.

You cannot fix this problem with the server cd. I have tried rescuing an installation but that wasn\t working for me. I found it extemely buggy !

You will need a live cd for this. Start From the CD and just use hit crl+f1. This will get you in a boot session

Then just do the following

sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt/ /dev/sda
*edit* at this point, also ensure that if /usr and /var are on seperate partitions that you mount them to /mnt/usr and /mnt/var
*edit 2* whithin the chroot you need to have /dev /run and /proc available for update-grub to work, use the following to acheive that: for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt$i"; done
sudo chroot /mnt
sudo update-grub
sudo reboot

That should take care of that.

Also a warning, if you installed 64 bit you will need a 64 bit and vice versa else you will be getting an error during chroot. ( as i have )

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.