On Thu, Oct 06, 2016 at 08:13:45PM +0200, Jean-Christian de Rivaz wrote:
Right. For my curiosity I tested the netboot SD card image of
the Debian installer and tried to tell it to partition, format
and install Debian into the very same SD card the installer
booted from. To my great surprise this worked flawlessly (just
need a power cycle as the reboot simply hang). This work only
with the netboot image. The hd-media require an other
partition with the ISO file making the partition/format fail
because the SD card device is busy. I don't know at this stage
if the boot stage is a residual of the image creation on the SD
card or if it was wrote by the installer.
The debian-installer doesn't install u-boot, but it takes
explicit care not to destroy an existing u-boot installation
during the partitioning step.