Reset Search
 

 

Article

How to perform netinstall on SLX 9540 using USB?

« Go Back

Information

 
TitleHow to perform netinstall on SLX 9540 using USB?
Objective
Perform netinstall on SLX 9540 to restore the firmware back to factory default.
Environment
  • SLX 9540
  • All codes
Procedure
The netinstall process will re-partition and format the SLX SSD hard drive. So, all existing data (including licenses) on the SLX SSD hard drive will be erased!
  1. Create USB with EXT4 filesystem using one of the below methods:

  • Option #1 (recommended): Partition and format the USB in EXT4 using the SLX ONIE environment, see article: How to format USB with EXT4 filesystem for netinstall on SLX platforms?
  • Option #2: If a Linux system is not available to format the USB in EXT4, follow the steps in below article to create it in Windows:
    NOTE: format the USB to be 10GB to reduce formatting time and select EXT4 instead of EXT2 in the drop-down menu when selecting "File System" 
  1. Copy extracted firmware to the EXT4 formatted USB drive
  2. At the SLX host level (Ctrl-y+1), reboot the host, stop the boot, and get into the boot prom by entering "3"
Ubuntu 14.04 LTS HOST ttyS0

HOST login: root
Password: (fibranne)
Last login: Wed Feb 13 20:08:04 BRST 2019 from pb_vm1 on pts/4
Welcome to Ubuntu 14.04 LTS (GNU/Linux 4.4.7 x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Wed Feb 13 20:10:59 BRST 2019

  System load:  1.97              Processes:          223
  Usage of /:   14.4% of 9.72GB   Users logged in:    0
  Memory usage: 39%               IP address for br1: 127.2.0.1
  Swap usage:   0%

  Graph this data and manage this system at:
    https://landscape.canonical.com/

root@HOST:~# reboot -f
...

Hit ESC to stop autoboot: 0
FPGA f7600058 -> 0x12
 
1) Start system.
2) Recover password.
3) Enter command shell.
 
Option? 3
  1. Enter, 'onie_rescue' to get into recovery mode
=> run onie_rescue
 
Info: Mounting kernel filesystems... done.
scsi 6:0:0:0: Direct-Access     SanDisk  Ultra Fit        1.00 PQ: 0 ANSI: 6
sd 6:0:0:0: [sdc] 121307136 512-byte logical blocks: (62.1 GB/57.8 GiB)
 
ONIE:#
NOTE: Once in ONIE environment, you may see auto-discovery messages like below. Run, “onie-discovery-stop” at ONIE shell to stop the messages
Info: Fetching http://10.26.141.31/onie-installer-x86_64-avalanche-r0 ...
Info: Fetching http://10.26.141.31/onie-installer-x86_64-avalanche ...
Info: Fetching http://10.26.141.31/onie-installer-avalanche ...
Info: Fetching http://10.26.141.31/onie-installer-x86_64-brcd ...
Info: Fetching http://10.26.141.31/onie-installer-x86_64 ...
Info: Fetching http://10.26.141.31/onie-installer ...

ONIE:/ # onie-discovery-stop
  1. Run 'blkid' to get USB dev info (USB is likely assigned to /dev/sdc1)
ONIE:/ # blkid
/dev/sda3: UUID="8a343239-8a7e-4236-922a-948406df783b"
/dev/sdc1: UUID="f3dfd5ac-4b54-d401-705f-d1ac4b54d401"
/dev/sda5: UUID="dd718ade-2488-464d-bbe6-bc6fc8c19656"
/dev/sda1: UUID="09f03d41-6361-488a-b6f6-0e689c930277"
/dev/sda4: UUID="83b38b50-b45f-447f-bf6a-3c925907997d"
/dev/sda2: UUID="99f38e76-dbf0-4364-b615-70355e77e706"
/dev/sdb2: UUID="34e92dcb-8bde-49ff-98ca-d22c2af9dede"
/dev/sdb1: UUID="27ed0e2d-2608-47de-9fa3-1f6937686ddd"
  1. Create /dist directory and mount the USB to /dist
ONIE:/ # mkdir /dist
ONIE:/ # mount /dev/sdc1 /dist
  1. cd to SLX-OS firmware
ONIE:/ # cd /dist/slxos18r.1.00/
  1. Change folder contents executable
ONIE:/dist/slxos18r.1.00 # chmod -R 755 install*
  1. run the netinstall script for host, vm, and reboot
ONIE:/dist/slxos18r.1.00 # ./install_pbr/install.host; ./install_pbr/install.vm; reboot -f
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255