Re: grub-install fails on software RAID

2013-10-30 Diskussionsfäden o...@v-brinkmann.de
Thomas Lange la...@informatik.uni-koeln.de hat am 29. Oktober 2013 um 22:07 geschrieben: GROOT=$(echo $GROOT | sed 's:md/:md:g') I've just read the git log. This minor patch is not needed any more in wheezy. That's why these lines were removed on Sep 8th. I guess you still have them in

Re: grub-install fails on software RAID

2013-10-30 Diskussionsfäden Michael Senizaiz
I use a script to bypass partitioning since we have servers with 1-6 disks. Anything with more than 1 disk gets raided, so I have to pass the following to /tmp/fai/disk_var.sh which is read in by the grub setup. Make sure you are using 1.2 metadata for your array. You don't have to bypass

Re: grub-install fails on software RAID

2013-10-30 Diskussionsfäden Markus Koeberl
On Wednesday 30 October 2013 13:25:59 o...@v-brinkmann.de wrote: Thomas Lange la...@informatik.uni-koeln.de hat am 29. Oktober 2013 um 22:07 geschrieben: GROOT=$(echo $GROOT | sed 's:md/:md:g') I've just read the git log. This minor patch is not needed any more in wheezy. That's why

Re: grub-install fails on software RAID

2013-10-30 Diskussionsfäden Michael Senizaiz
Another post-script I run checks the status of the MD sync. If the drive isn't synced the boot sectors may not be on all member disks. I have a LAST script that waits for arrays to sync before rebooting (good idea regardless). If you have multiple arrays you can loop this. I actually just have

Re: grub-install fails on software RAID

2013-10-30 Diskussionsfäden o...@v-brinkmann.de
Markus Koeberl markus.koeb...@tugraz.at hat am 30. Oktober 2013 um 13:42 geschrieben: #install on all member disks $ROOTCMD grub-install --no-floppy /dev/$device Even if I try $ROOTCMD grub-install --no-floppy /dev/sda or /dev/sdb (which are returned by your perl one-liner), I get

Re: grub-install fails on software RAID

2013-10-30 Diskussionsfäden Michael Senizaiz
When installing on a regular disk without raid use the partition number. e.g. /dev/sda1. When installing on an array use the array number /dev/md/0 On Wed, Oct 30, 2013 at 8:16 AM, o...@v-brinkmann.de o...@v-brinkmann.dewrote: ** Markus Koeberl markus.koeb...@tugraz.at hat am 30. Oktober

Re: grub-install fails on software RAID

2013-10-30 Diskussionsfäden Markus Koeberl
On Wednesday 30 October 2013 14:16:48 o...@v-brinkmann.de wrote: Markus Koeberl markus.koeb...@tugraz.at hat am 30. Oktober 2013 um 13:42 geschrieben: #install on all member disks $ROOTCMD grub-install --no-floppy /dev/$device Even if I try $ROOTCMD grub-install --no-floppy

Re: grub-install fails on software RAID

2013-10-30 Diskussionsfäden o...@v-brinkmann.de
Michael Senizaiz trel...@gmail.com hat am 30. Oktober 2013 um 14:19 geschrieben: When installing on a regular disk without raid use the partition number. e.g. /dev/sda1. When installing on an array use the array number /dev/md/0 No matter where I try to install, I always get the

Re: grub-install fails on software RAID

2013-10-30 Diskussionsfäden o...@v-brinkmann.de
Markus Koeberl markus.koeb...@tugraz.at hat am 30. Oktober 2013 um 14:42 geschrieben: I am using: disk_config disk1 disklabel:gpt-bios align-at:4K which creates a bios_grub partition at the beginning of the disk (sector 2048-4095) This indeed created a bios_grub partition, but didn't