Can I run Debian 7's beaglebone-black-eMMC-flasher.sh to upgrade to 9?

In my quest to upgrade Debian 7 to Debian 9 I have found the script
/opt/scripts/tools/beaglebone-black-eMMC-flasher.sh.

If I run this script (as root) with the Debian 9 image on a mounted
microSD card will the Debian 9 image get copied to the eMMC? There
are some prerequsites noted in the script which I will check, apart
from these should it work? I've kept my Debian 7 up to date so this
script should (I suppose) be OK.

In my quest to upgrade Debian 7 to Debian 9 I have found the script
/opt/scripts/tools/beaglebone-black-eMMC-flasher.sh.

what does "readme.txt" say in that directory?

If I run this script (as root) with the Debian 9 image on a mounted
microSD card will the Debian 9 image get copied to the eMMC? There
are some prerequsites noted in the script which I will check, apart
from these should it work? I've kept my Debian 7 up to date so this
script should (I suppose) be OK.

Just grab any "flasher" from the Debian 9 (strech) weekly section:

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian

Regards,

> In my quest to upgrade Debian 7 to Debian 9 I have found the script
> /opt/scripts/tools/beaglebone-black-eMMC-flasher.sh.

what does "readme.txt" say in that directory?

There isn't a readme.txt there! :slight_smile:

>
> If I run this script (as root) with the Debian 9 image on a mounted
> microSD card will the Debian 9 image get copied to the eMMC? There
> are some prerequsites noted in the script which I will check, apart
> from these should it work? I've kept my Debian 7 up to date so this
> script should (I suppose) be OK.

Just grab any "flasher" from the Debian 9 (strech) weekly section:

Beagleboard:BeagleBoneBlack Debian - eLinux.org

OK, by that do you mean:-

    I need to run my script above with the 'flasher' image

or:-

    If I have a 'flasher' image on the microSD it will install itself

Sorry to be so obtuse but I'm on my little boat in France with fairly
limited facilities and I don't want to have end up with a
non-functional BBB. (I do have two spare ones with me though).

On Mon, 2 Apr 2018 17:34:18 +0100, Chris Green
<cl@isbd.net> declaimed the following:

   I need to run my script above with the 'flasher' image

or:-

   If I have a 'flasher' image on the microSD it will install itself

  A flasher image /will/ flash to the eMMC -- WHEN the system boots from
the SD card.

  But if your device is old enough, it won't boot the SD card unless you
hold down the boot button when applying power.

  Newer eMMC images check for a bootable SD card and transfer control to
it automatically.

OK, that makes *some* sense but not altogether.

My (presumably 'flasher') Debian 9 image installed itself
automatically on an old (2Gb A6A) BBB that I tried it in. However it
*didn't* do the same when plugged into what I'm pretty sure is a newer
(4Gb Bxx) BBB which is the one I actually want to upgrade.

I'll try holding the boot button down when I power up and see if that
works.

Thanks.

Well I tried running the above script and it copied *loads* of files
(I think *from* the old Debian) and then said:-

sent 1452073606 bytes received 1171735 bytes 2113811.41 bytes/sec total size is 1447416799 speedup is 1.00
`/tmp/rootfs/opt/scripts/images/beaglebg.jpg' -> `/tmp/rootfs/opt/desktop-background.jpg'
ln: failed to create symbolic link `/tmp/rootfs/etc/rc2.d/S18led_aging': File exists

but no update.