[Bug 532729] Re: Grub install fails to Raid1

2010-03-11 Thread Richard Laysell

The underlying problem is that the /boot/grub/device.map file was missing

Managed to get this working by doing the following.

Boot from the CDROM and run 'Rescue a Broken System'
Run a shell on the root partition
Mount /boot and /var
Run the command '/usr/sbin/grub-mkdevicemap -n'
Run the command '/usr/sbin/grub-install /dev/sda'
Run the command '/usr/sbin/grub-install /dev/sdb' (for completeness - this is  
a mirrored system)
Run the command '/usr/sbin/update-grub2'

Reboot - and it all works

-- 
Grub install fails to Raid1
https://bugs.launchpad.net/bugs/532729
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 532729] [NEW] Grub install fails to Raid1

2010-03-05 Thread Richard Laysell
Public bug reported:

Binary package hint: debian-installer


Installing Lucid (10.04) Alpha 3 to a system fails at the Grub install part 
with the following dialog box

[!!] Configuring grub-pc
Unable to install GRUB in /dev/sda
Executing 'grub-install /dev/sda' failed.
 This is a fatal error
Go BackContinue

If I go back and try again I get the same error.  If I continue, and
install LILO as the boot loader it works (but I would prefer to use
GRUB).

The system has two disks with three partitions on each
/dev/sda
/dev/sda1 - 50Gig NTFS - Not used for this install
/dev/sda2 - 256Meg - Raid (part of md0) to be used as /boot
/dev/sda3 - 270Gig - Raid (part of md1) used for LVM (which then has /, swap, 
/var, /home)

/dev/sdb - same partitions as /dev/sda

If I redo the install, but use /dev/sda2 as a ext4 device with /boot on
it (i.e. no raid) it works fine - grub installs and I can boot after the
install completes.

** Affects: debian-installer (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Grub install fails to Raid1
https://bugs.launchpad.net/bugs/532729
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs