Seite 1 von 1

2. Neutrino Image flashen - ofgwrite funzt nicht

Verfasst: Fr 6. Aug 2021, 00:03
von Purzelpreis
Hi,
ich mal wieder. Aktuelles BPanther auf Bank1. Nun wollte ich hd51_TANGOS_singleroot_ofg_06.10.2020-00.44.zip
per ofgwrite -m2 /tmp/hd51 auf Bank 2 flashen.

Putty gibt folgende Ausgabe
hd51:~# ofgwrite -m2 /tmp/hd51
mkdir: can't create directory '/newroot': Structure needs cleaning
mount: mounting tmpfs on /newroot failed: No such file or directory
cp: can't create '/newroot/': Is a directory
/usr/bin/ofgwrite: line 9: /newroot/ofgwrite_bin: not found
hd51:~#
Die /usr/bin/ofgwrite sieht so aus
#!/bin/sh

mkdir -p /newroot
mount -t tmpfs tmpfs /newroot
if [ -e /tmp/backup_flash.tar.gz ]; then
mv /tmp/backup_flash.tar.gz /newroot/
fi
cp /usr/bin/ofgwrite_bin /newroot/
/newroot/ofgwrite_bin "$@"
Vielleicht kann einer helfen.

Danke

Re: 2. Neutrino Image flashen - ofgwrite funzt nicht

Verfasst: Fr 6. Aug 2021, 01:35
von BPanther
Eigentlich sagt das doch hier schon alles:

Code: Alles auswählen

 mkdir: can't create directory '/newroot': Structure needs cleaning
Du hast schlicht ein Problem mit dem aktuellen Image bzw. dessen Struktur. Da ist wohl das Dateisystem beschädigt durch irgendwelche Crashs, einfach abschalten der Box etc. Das muß erstmal repariert werden, z.B. durch neues flashen der Partition aus einer anderen Partition heraus. Ein Backup (Einstellungen oder komplettes Image) sollte man natürlich zur Hand haben.