GRUB, FAI, and RAID1

Michael Tautschnig tautschn at model.in.tum.de
Mon Jun 26 08:00:08 CEST 2006


> Michael Tautschnig <tautschn at model.in.tum.de> writes:
> 
> >> Yes.
> > So - what did the grub installation tell you there?
> 
> Nothing, that's the problem.
Is it at least telling you that the command is run? 

> 
> >> That's what I was thinking.  However, I can't seem to figure out how
> >> grub *should* be installed properly from within FAI wrt a RAID1 set.
> >>
> > To what extend is installation from within FAI different from a "normal"
> > installation of grub?
> 
> Well, this is also in combination with a RAID1 set across 4 disks.
> So, I guess it differs in that the root (/) partition is not on any
> one disk, but an md device.  So, does grub get installed to the MBR,
> or to the root partition on md0?
> 
> Also, should I be using grub-install (which I've never had much luck
> with even outside of FAI), update-grub, or echo <<EOF ... | grub ?
> 
> Currently, my install seems to be hanging on the grub install:
> 
>   :/tmp/fai# ps auxww | grep grub
>   root   14180  0.0  0.0  2580 1280 tty1     S    15:44   0:00 /bin/sh /sbin/grub-install --no-floppy --root-directory=/tmp/target /dev/sda
>   root   14282  0.0  0.0  6004  548 tty1     D    15:46   0:00 //sbin/grub --batch --no-floppy --device-map=/tmp/target/boot/grub/device.map
>   root   14297  0.0  0.0  1544  500 pts/0    S    15:48   0:00 grep grub
> 
> I can almost guarantee that the reason that second line is in a D
> state is that it's waiting on a floppy drive which doesn't exist, this
> despite the presence of --no-floppy option.
>
Is this command run by FAI or are you doing it manually? However, here
(http://www.linuxsa.org.au/mailing-list/2003-07/1270.html) it states that you
need to install grub on all of your disks. In this case you will need to adapt
the scripts in the GRUB/ directory to fit your needs.

HTH,
Michael


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20060626/37387386/attachment.bin 


More information about the linux-fai mailing list