[ONIE] How to Upgrade ONIE on Wedge100BF switch?

Steven_zhangCreated at:Jan 06, 2020 13:26:23Updated at:Jan 06, 2020 13:27:41

 

Upgrade steps:

 

1.    Copy ONIE image file(ex:onie-updater-x86_64-accton_wedge100bf_65x-r0)to USB disk. 

PS:Wedge100BF-32X ONIE image is not same as Wedge100BF-65X ONIE image

2.    Insert the USB disk to the device

3.    Connect the Wedge100BF console by baudrate 9600

4.    Login OpenBmc by username “root”, password “0penBmc”(number 0)

0015e12c4225e10a81ede1b79a0f91b

5.    Reboot and connect the COMe by command “wedge_power.sh reset;sol.sh”.

0015e12c42c8445b2b4feca499b9469

6.    Choose “ONIE: Rescue” in the Grub menu

0015e12c435f23515d3ff50a328a01c

 

7.    Mount USB disk

Check the USB disk (/dev/sdb1) by command “fdisk –l”

ONIE:/ # fdisk -l

0015e12c4408def62691283432004b8 

 

ONIE:/ # mount /dev/sdb1 /mnt/usb

0015e12c44be8a840d56452d299fe6f 

 

8.    Copy /mnt/usb/onie-updater-x86_64-accton_wedge100bf_65x-r0 to /tmp

ONIE:/ # cp /mnt/usb/onie-updater-x86_64-accton_wedge100bf_65x-r0 /tmp

0015e12c4587d12376046eec900e4e8 

 

9.    Upgrade the ONIE

ONIE:/ # cd /tmp

ONIE:/ # update_url onie-updater-x86_64-accton_wedge100bf_65x-r0

 

10.  Device will restart automatically after the installation.