Package: fai-doc Version: 3.4.4 In the simple examples the script GRUB_PC/10-setup always install grub into hd0. If your boot disk is not hd0, the host does not boot.
I have following configuration: four SATA disks, three times 1TB, one 80GB disk. This 80GB should be my boot disk. The three disks will be part of a RAID0. During installation the disks will be named: 8 0 976762584 sda 8 16 976762584 sdb 8 32 976762584 sdc 8 48 78150744 sdd setup-storage creates all partitions softraid and file systems very well. (Great work Michael!). This is my disk_var.sh SWAPLIST="/dev/sdd5" BOOT_DEVICE="/dev/sdd" ROOT_PARTITION=UUID=55e150ff-0e7f-427b-ab82-0354e7515d8a BOOT_PARTITION=/dev/sdd1 Later GRUB_PC/10-setup is called without any errors ===== shell: GRUB_PC/10-setup ===== Generating grub.cfg ... cat: /boot/grub/video.lst: No such file or directory Found linux image: /boot/vmlinuz-2.6.32-5-686 Found initrd image: /boot/initrd.img-2.6.32-5-686 Found memtest86+ image: /boot/memtest86+.bin Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin done Installation finished. No error reported. GRUB_PC/10-setup OK. But the host does not boot. No grub prompt, just nothing. First, I thought is a buggy BIOS. But it's a bug in FAI IMO. Let's have a look: > cat /boot/grub/device.map (hd0) /dev/disk/by-id/ata-ST31000524NS_9WK1MYSS (hd1) /dev/disk/by-id/ata-ST31000524NS_9WK1MYEJ (hd2) /dev/disk/by-id/ata-ST31000524NS_9WK1MYRA (hd3) /dev/disk/by-id/ata-SAMSUNG_HD080HJ_S08EJ1GYC01865 My boot disk is not hd0, but hd3 (that means sdd as in disk_var.sh). But 10-setup just installs grub into hd0. > cat GRUB_PC/10-setup: #! /bin/bash # support for GRUB version 2 (1.98-1) error=0 ; trap "error=$((error|1))" ERR $ROOTCMD grub-mkdevicemap -n -m /boot/grub/device.map $ROOTCMD grub-mkconfig -o /boot/grub/grub.cfg $ROOTCMD grub-install --no-floppy "(hd0)" exit $error After manually calling $ROOTCMD grub-install --no-floppy "(hd3)" everything works just fine. A patch follows soon. -- regards Thomas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org