I had successfully installed OpenWrt 23.05.0 on one of my GS1900-8HPv2, but I am now just getting an index instead of a login page when accessing the switch over HTTP, the switch is still accessible via SSH.
Running /www/cgi-bin-luci via SSH returns "-ash: /www/cgi-bin-luci: not found". As this switch has dual firmware I would like to boot into the secondary partition which is still configured with the OEM firmware, however all the topics I seem to find have guides on carrying out the procedure from the initramfs, which have commands that are not available to me.
Can anyone help ?
See here:
I've tried running that command then 'reboot' but it still starts OpenWrt
Did you get any output or error message?
no, no errors
Is it possible that you accidentally flashed OpenWrt to the second image slot during installation? Once booted, couls you try running
fw_printsys
and tell us what the bootpartition points to?
running fw_printenv after 'fw_setsys bootpartition 1' shows bootpartition=1
rebooting and running fw_printenv then shows bootpartition=0
OK...it's also possible that you never flashed an OEM image to the second partition hence you cannot go back to stock this way. I don't know what other methods are there to flash back to stock, someone else will have to chime in here.
the OEM firmware was originally flashed to both partitions & fw_printsys shows
dualfname1=runtime-GS1900-8HPv2-V2.70(AAHI.5).bix
dualfname0=openwrt.bin
Did you ever get anywhere with this? Same boat here with OEM firmware on dualfname1, but can't get the switch to boot from it.
No, but have decided to have another crack at it
running 'fw_setsys bootpartition 1' then rebooting with a serial connection displays the following :-
Booting image from partition ... 1
Bad Header Checksum
ERROR: can't get kernel image!
Boot from partition 1 failed. Try to boot from partition 0
solution was simple,
Follow the guide for flashing the image using TFTP, but instead of uploading the openwrt.bin, upload the Zyxel provided .bix file instead.
Once complete, boot the image, log into the web page using the default Zyxel credentials
Checking the partitions via the WebGUI shows that the newly applied image shows as 'unknown', to resolve that, I then uploaded the same .bix file to the backup partition & restarted using that partition
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.