Changes between Version 7 and Version 8 of Internal/OpenFlow/LB9Setup


Ignore:
Timestamp:
Nov 10, 2014, 11:18:36 PM (10 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/LB9Setup

    v7 v8  
    3232 1. Finally, it will reboot into the xorplus prompt. Default login is admin/pica8, it will prompt for a password change.
    3333
     34== Installing v2.3 manually ==
     352.4 has licencing check, and using automated onie install does not partition CF card. We will follow old instructions for upgrading switch, but use ONIE to format CF card, as u-boot flash environment does not exist.
     36
     37Steps:
     381. reboot into uboot
     391. run onie_rescue
     401. partitioning the cf card
     41  1. We need 2 partitions, partition 2 needs to be at least 400MB, and partition 1 gets what's left, but a minimum of 550MB to hold the image, so we need a 1gb cf card at minimum, larger is better.
     42  1. run fdisk -l
     43  1. you will see
     44{{{
     45Disk /dev/sda: 1045 MB, 1045094400 bytes
     4632 heads, 63 sectors/track, 1012 cylinders
     47Units = cylinders of 2016 * 512 = 1032192 bytes
     48
     49   Device Boot      Start         End      Blocks  Id System
     50/dev/sda1   *           1        1012     1020064+  6 FAT16
     51Partition 1 has different physical/logical endings:
     52     phys=(999, 31, 63) logical=(1011, 31, 63)
     53}}}
     54  1. calculate cylinder boundaries
     55   1. Note total cylinders (1012) , and total size, in MB (1045)
     56   1. Divide total size by 400, (1045/400)= 2.6125
     57   1. Divide total cylinders by 2.6125 (1012/2.6125)=387.36...
     58   1. Round up to nearest 10 or so. 387... to 390.
     59   1. subtract 1012-390 = 622
     60  1. type fdisk /dev/sda
     61  1. type d, then 1 to delete partition 1
     62{{{
     63Command (m for help): d
     64Selected partition 1
     65}}}
     66  1. create new partition with n p 1 622
     67{{{
     68Command (m for help): n
     69Command action
     70e extended
     71p primary partition (1-4)
     72p
     73Partition number (1-4): 1
     74First cylinder (1-3970, default 1): 1
     75Last cylinder or +size or +sizeM or +sizeK (1-1012 default 1012): 622
     76}}}
     77  1. create second partition with n p 2 enter enter (uses defaults)
     78{{{
     79Command (m for help): n
     80Command action
     81e extended
     82p primary partition (1-4)
     83p
     84Partition number (1-4): 2
     85First cylinder (623-1012, default 623): <Enter> Using default value 623
     86Last cylinder or +size or +sizeM or +sizeK (623-1012, default 1012): <Enter> Using default value 1012
     87}}}
     88  1. press w to write and exit.
     89 1. Formatting
     90  1. mke2fs -j /dev/sda1*
     91  1. mke2fs -j /dev/sda2*
     92 1. Mount the cf card
     93  1. mkdir /cf_card
     94  1. mount /dev/sda1 /cf_card
     95 1. Download image.
     96  1. tftp -g -l rootfs.tar.gz -r (picos image name) 10.50.0.42
     97 1. extract image
     98  1. tar -zxvf rootfs.tar.gz -C /cf_card/
     99  1. cf /cf_card
     100  1. sync
     101 1. reboot into new os
     102  1. reboot
    34103
    35104== Additional documentation: ==