--- trunk/installer/include/prepare_bootloader.sh 2010/05/31 21:01:51 1061 +++ trunk/installer/include/prepare_bootloader.sh 2010/05/31 21:02:47 1062 @@ -13,7 +13,7 @@ [[ ! -z ${INSTALL_ROOT} ]] && chroot=chrooted # create device.map - ${chroot} grub --batch --no-floppy --no-config-file --device-map=/boot/grub/device.map /dev/null + ${chroot} grub --batch --no-floppy --no-config-file --device-map=/boot/grub/device.map /dev/null 2> /dev/null + ${chroot} grub --batch --no-floppy << EOF root $(convert_device ${grub_disk}) setup $(convert_device ${grub_disk} | sed "s:,[0-9]::") quit @@ -122,12 +122,10 @@ install_bootloader() { - create_device_map &> /dev/null + create_device_map &>> ${INSTALLER_LOG} echo 25 - create_grub_conf &> /dev/null + create_grub_conf &>> ${INSTALLER_LOG} echo 50 - install_grub &> /dev/null + install_grub &>> ${INSTALLER_LOG} echo 100 } - -install_bootloader