echo "Boot device setup..."
mkfs.ext3 "$device"2
mount "$device"2 /tmp/debootstrap/boot
-grub-install --no-floppy "$device"
-echo " "$device"2 /boot ext3 defaults,errors=remount-ro 0 2" >> /tmp/debootstrap/etc/fstab
+echo "$device""2 /boot ext3 defaults,errors=remount-ro 0 2" >> /tmp/debootstrap/etc/fstab
# Grub.
if [ "$grub" == "y" ]; then
echo "Setting up GRUB..."
+ grub-install --no-floppy "$device"
mkdir -p /tmp/debootstrap/boot/grub/
cat /tmp/debootstrap/boot/grub/menu.lst <<-EOF
title $hostname (hd0)