Revision 89991658 create

b/create
90 90
EOF
91 91

  
92 92
    # install grub to the block device
93
    grub-install --no-floppy --root-directory="$TMPDIR" "$blockdev"
93
    chroot $TMPDIR grub --batch --no-floppy --device-map=/boot/grub/device.map <<EOF
94
root (hd0,0)
95
setup (hd0)
96
quit
97
EOF 
94 98

  
95 99
    RUN_PARTS=`which run-parts`
96 100

  

Also available in: Unified diff