Hi, I just want to make sure I understand what you are trying to do: Are you trying to extroot your 4453 unit or are you trying to upgrade a previously extrooted vera?
If you are trying to extroot a 4453 unit, you should use the extroot.sh script. The extroot-upgrade.sh is for the latter case: upgrade a previously extrooted vera. The upgrade script will not work if you are not already extrooted!
Yes, reverting is as simple as unplugging the USB drive and rebooting the vera
I posted two different ways to upgrade the firmware in the storage thread:
a. backup your configuration, unplug the drive, reboot, upgrade with factory reset, restore from backup, apply extroot
b. apply upgrade from UI then apply a script I will provide (I call it âextroot-upgrade.shâ)
The script has been validated to work on the Veraplus and Secure. I vaguely remember having done it on my Vera edge. I may need to customize the script very slightly for it based on the feedback on this thread.
Hi @rafale77 - I had some problems getting vera to use the new ssd but itâs working now.
What happened was, after running the script (successfully, with no errors) Vera rebooted and showed me the following (note the 2 new partitions but rootfs still on the old):-
I rebooted again - no change. I ran the script again (probably a mistake but still, no change).
I then went into the GUI and disabled the USB logging checkbox. When Vera rebooted and came back online, to my surprise, the checkbox was still enabled! I then checked the file system again and it now looks ok:-
Great! Thank you for reporting back. Let me know if it reverts for some reason. It looks to me like somehow the script to disable USB logging failed and deleted something. If you donât mind, could you PM me the content of your /etc/config/fstab file?
Hmm looking closer at you df output, it looks like the first time you ran the script, you may have run the wrong script? Did you run the savespace script instead? The reason is the content of your mtdblock10 seems bigger than normalâŠ
I have never seen these errors before. Is this the entire output or was there more before it?
Did you have an SSD plugged in with USB logging enabled?
It is also strange that without the SSD your vera wonât reboot since⊠the script technically does not change anything on the onboard drive besides modifying the fstab which will make it look for the external SSD and pivot at boot. I suspect you are having other problems. Can you try to factory reset?
There are many ways to figure out what IP it has. Hopefully it was assigned by your DHCP server and so it will show up on your router as a new DHCP lease you should be able to recognize. If not you can always use a mobile app called fing, there are a lot of different network scanners out there depending on what platform you use. Thatâs how you will get your veraâs IP if it is in the subnet.
The few lines you obtained are very strange. They are indicative of a hardware failure or I am thinking, running out of DRAM during the process. Without the beginning of it, it will be difficult for me to figure out what happened. It seems like everything attached properly. The Plus does have much more RAM than the edge and the process makes use of the /tmp folder which is oddly called the nvram but really is a ramdisk. It however should not fill it as it is only used as a mount point.
The reset process if I am not mistaken requires you to push the reset button rapidly several times after the vera has booted. You might want to try this. From the output your provided, it is unlikely your SSDâs second partition was properly setup.
This should be the reset process. The vera is copying files from its rom partition to your root partition⊠aka factory resetâŠ
I still have no idea how the script could have done this,
Once you have restored from your backup,
could you run these one at a time and tell me the output?
The device apparently does not exist; did you specify it correctly?
mount: mounting /dev/sda2 on /mnt/sda2 failed: No such file or directory
./
./bin/
./bin/8021xd
./bin/8021xdi
./bin/adduser
./bin/ash
./bin/ated
./bin/base64
./bin/busybox
./bin/cat
./bin/chgrp
./bin/chmod
./bin/chown
./bin/conspy
./bin/cp
./bin/date
./bin/dd
./bin/deluser
./bin/df
./bin/dmesg
./bin/dnsdomainname
./bin/echo
./bin/egrep
./bin/em357-ncp-uart-rts-cts-use-with-serial-uart-bl-500.ebl
./bin/false
./bin/fgrep
./bin/fsync
./bin/getopt
./bin/grep
./bin/gunzip
./bin/gzip
./bin/hostname
./bin/ip
./bin/ipcalc
./bin/ipcalc.sh
./bin/kill
./bin/linux32
./bin/linux64
./bin/ln
./bin/lock
./bin/login
./bin/login.sh
./bin/ls
./bin/mkdir
./bin/mknod
./bin/mktemp
./bin/more
./bin/mount
./bin/mt
./bin/mv
./bin/netmsg
./bin/netstat
./bin/nice
./bin/opkg
tar: canât create symlink from ./bin/kill to busybox: No space left on device
tar: canât create symlink from ./bin/linux32 to busybox: No space left on device
tar: canât create symlink from ./bin/linux64 to busybox: No space left on device
tar: canât create symlink from ./bin/ln to busybox: No space left on device
tar: canât create symlink from ./bin/lock to busybox: No space left on device
tar: canât create symlink from ./bin/login to busybox: No space left on device
tar: canât open â./bin/login.shâ: No space left on device
cfg0e4d78
cfg0f4d78
cfg104d78
uci: I/O error
umount: canât umount /dev/sda2: No such file or directory
/dev/mtdblock5: UUID=â0d5070bb-ad8ab638-89b1e4d9-4f636109â VERSION=â1024.0â TYPE=âsquashfsâ
/dev/mtdblock6: TYPE=âjffs2â
/dev/mtdblock9: UUID=âc82ec6c0-834b904c-3543ccdc-032a1b86â VERSION=â1024.0â TYPE=âsquashfsâ
/dev/sda1: UUID=âde8930f3-e06e-49db-8e8b-26afda5d5188â LABEL=âMiOSâ NAME=âEXT_JOURNALâ VERSION=â1.0â TYPE=âext3â
root@MiOS_50021410:/lib#
Did you enable usb logging on the log page of the UI? The output shows that you donât have a partitioned usb drive. The script actually asks you this question.