X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FGRUB_PC%2F10-setup;h=c19d4fa0438cf5b8633afabb4961c62486bc5dba;hp=7a0476081db7598e988f5823a4d6a90ffd3bc048;hb=2773c14668a490a1254a63541e1ef9fd3377104b;hpb=7024f2155d8d5e4754d5c1ce0ccf8352149f81cd diff --git a/fai/config/scripts/GRUB_PC/10-setup b/fai/config/scripts/GRUB_PC/10-setup index 7a04760..c19d4fa 100755 --- a/fai/config/scripts/GRUB_PC/10-setup +++ b/fai/config/scripts/GRUB_PC/10-setup @@ -25,7 +25,6 @@ if [ $FAI_ACTION != "install" ]; then exit $error fi -$ROOTCMD grub-mkdevicemap --no-floppy GROOT=$($ROOTCMD grub-probe -tdrive -d $BOOT_DEVICE) @@ -39,14 +38,10 @@ if [[ $BOOT_DEVICE =~ '/dev/md' ]]; then done elif [[ $GROOT =~ 'hostdisk' ]]; then - cat > $target/boot/grub/device.map <