Reset Search
 

 

Article

How to perform netinstall on SLX 9850 using USB?

« Go Back

Information

 
TitleHow to perform netinstall on SLX 9850 using USB?
Objective
Perform netinstall on SLX 9850 to restore the firmware back to factory default.
Environment
  • SLX-OS
  • All SLX Platforms
Procedure
Key sequence to access SLX consoles:
Ctrl+y-1 - HOST
Ctrl+y-2 - SLX VM (SLX-0S)
Ctrl+y-3 - VM (TPVM)

 
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 FS, format the USB to be 10GB to reduce formatting time

If a Linux system is not available to format the USB in EXT4, follow the steps in below article:
NOTE: Select EXT4 instead of EXT2 in the drop-down menu when selecting "File System" 

How to format a USB drive with an EXT2 filesystem on Windows?

  1. Copy the extracted firmware folder and "fusion host" folder to the USB drive. You can get the "fusion host" boot files here which are included in the zip with the partitions tools from the above KB.

  2. We want to perform netinstall on each MM, so we will need to power down the standby MM2 while we netinstall MM1

  3. On the "Active MM1 (Management Module)", run 'power-off linecard <1-8>' for all line cards

  4. On MM2, console to the HOST level via by pressing 'Ctrl-y+1', login as root and password fibranne,

  5. On MM2 HOST level, enter 'reboot -f' and stop the boot and get into the boot prom. Then, leave it there, so it does not disrupt the netinstall process for MM1

Hit ESC to stop autoboot: 0
FPGA f7600058 -> 0x12

1) Start system.
2) Recover password.
3) Enter command shell.

Option? 3

  1. On MM1, console to the host level via by pressing 'Ctrl-y+1', login as root and password fibranne.

  2. On MM1, enter 'reload' and stop the boot and get into the boot prom.

Hit ESC to stop autoboot: 0
FPGA f7600058 -> 0x12

1) Start system.
2) Recover password.
3) Enter command shell.

Option? 3

  1. Insert USB to MM1, and run 'usb reset 1' to have the switch detect the USB

=> usb reset 1

  1. List the USB drive contents

=> ext4ls usb 0:1
<DIR>       1024 .
<DIR>       1024 ..
<DIR>       1024 lost+found
<DIR>       1024 slxos18r.1.00b
<DIR>       1024 fusion_host

  1. Set boot variables, then boot ramdisk from USB

=> setenv bootargs  'console=ttyS0,9600n8 initrd=0x4000000,20M quiet reboot=pci rootfstype=ext4 ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::eth0:on pci=noaer'
=> setenv bootcmd 'ext4load usb 0:1 1000000 fusion_host/bzImage-3.14.17; ext4load usb 0:1 4000000 fusion_host/ramdisk-3.14.17.image; zboot 0x1000000  0x1000000   0x4000000  0x2000000'
=> boot

  1. Once ramdisk is booted, you will get to the fusion prompt, login as root and password fibranne

fusion login: root
Password: (fibranne)

  1. Run fdisk -l to get device assigned for USB, in this case it's sdc. Ensure the file system is "Linux". If using FAT32, it will corrupt the files and netinstall will fail. 

fusion ~: fdisk -l | grep dev
Disk /dev/sda: 256.0 GB, 256060514304 bytes
/dev/sda1               1       31131   250059095+ ee EFI GPT
Disk /dev/sdb: 256.0 GB, 256060514304 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 8004 MB, 8004304896 bytes
/dev/sdc1               1        1802     7814144  83 Linux

  1. mount usb to /dist

fusion ~: mount /dev/sdc1 /dist

  1. cd to SLX-OS firmware

fusion ~: cd /dist/slxos18r.1.00b/

  1. make folder and contents executable. 

fusion slxos18r.1.00b: chmod -R 755 install*

  1. run the netinstall script for host, vm. (Note: Install.net will delete and re-add the TPVM partition. So, all data on the TPVM partition will be completely erased.)

fusion slxos18r.1.00b: ./install_cr/install.net; ./install_cr/install.host; ./install_cr/install.vm; reboot -f

  1. Once MM1 boots up, power on the linecards and MM2 to have it sync the firmware from MM1.

    NOTE: SFM modules do not require netinstall. So, SFM will not need to be auto-level or sync from the active MM. 

Additional notes

Feedback

 

Was this article helpful?


   

Feedback

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

Characters Remaining: 255