Administrator Guide

Table Of Contents
This command needs to be executed if diag-os needs to run in installer mode with diag-os
already installed on the system
ONIE:/ # touch /tmp/diag_os_install_mode
ONIE:/ #
ONIE:/ #
ONIE:/ #
ONIE:/ # onie-nos-install tftp://n.n.n.n/sm/<
platform>/diag-installer-x86_64-dell_
<
platform>_<processor ID>-r0.bin
discover: installer mode detected.
Stopping: discover... done.
Info: Fetching tftp://n.n.n.n/sm/<
platform>/diag-installer-x86_64-dell_<platform>_<processor
ID>-r0.bin ...
sm/<
platform>/diag-instal 100% |*******************************| 167M 0:00:00 ETA
ONIE: Executing installer: tftp://n.n.n.n/sm/<platform>/diag-installer-x86_64-
dell_<platform>_<processor ID>-r0.bin
Ignoring Verifying image checksum ... OK.
cur_dir / archive_path /installer tmp_dir /tmp/tmp.AvXUTZ
Preparing image archive ...sed -e '1,/^exit_marker$/d' /installer | tar xf - OK.
DiagOS Installer: platform: x86_64-dell_<
platform>_<processor ID>-r0
Found EDA-DIAG partition at (/dev/sda3)
File /tmp/diag_os_install_mode exists, forcing install mode
Diag OS Installer Mode : INSTALL
INSTALL mode : would remove existing partitions and create fresh...
Deleting existing partition(EDA-DIAG) on /dev/sda
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
Next available partition is /dev/sda3
Creating new partition /dev/sda3 as EDA-DIAG, size 1024 MB ...
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
volume label EDA-DIAG on device /dev/sda3
mke2fs 1.42.8 (20-Jun-2013)
Filesystem label=EDA-DIAG
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
Preparing /dev/sda3 EDA-DIAG for rootfs install
Preparing Diag-OS file system : dev /dev/sda3 mnt dir /boot
untaring into /boot
Success: Support tarball created: /boot/onie-support.tar.bz2
Updating Grub Cfg /dev/sda3 EDA-DIAG
Diag OS grub config update : dev /dev/sda3 mnt dir /boot
boot-dir /boot and blk_dev is /dev/sda3
Installing for i386-pc platform.
Dell DIAG OS 23