Installing to a single partition fails

If one runs deb2flash.py and tries to set it up with a single parition, the install will fail because the script will try to mount the non-existant /boot partition. The output of the script is

  1. Running Command: DEBIAN_FRONTEND=readline apt-get install grub
  2. Configuring Grub.
  3. Grub Device: hd1
  4. Grub install complete
  5. Running Command: mount -o remount,ro /boot
  6. Command Failed -- Retry? (yes/NO) yes

and the end of /mnt/usbbuild/install-chroot.log says:

  1. feraga# echo $?
  2. echo $?
  3. 1
  4. feraga# mount -o remount,ro /boot
  5. mount -o remount,ro /boot
  6. mount: can't find /boot in /etc/fstab or /etc/mtab
  7. feraga# echo $?
  8. echo $?

Comments

Fixed

Missing a check for single partition installs. Added it and tested it. It's working now.

Thanks for the bug report.