Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
3
Mount the device
/dev/sdb
to the
/mnt/usb
directory.
ONIE:/ # mount -t vfat /dev/sdb /mnt/usb
NOTE:
The following message displays if the
/mnt/usb
directory is missing:
mount: mounting /dev/sdb
on /mnt/usb failed: No such file or directory
.
NOTE:
The following message displays if the USB device is not seen:
mount: mounting /dev/sdb on /mnt/usb
failed: No such device or address
.
4
Add a device to the file systems table (
fstab
) and mount the file systems—recommended.
ONIE:/ # vi /etc/fstab
# FSTAB entry for the ONIE-BOOT partition mounted on /boot
LABEL=ONIE-BOOT /mnt/onie-boot ext4 defaults,rw,errors=remount-ro 0 1
/dev/sdb /mnt/usb vfat defaults 0 1
ONIE:/ # mount -a
Before you install an OS
After powering on the Z9100-ON system, it goes through a power-on self-test (POST).
POST runs every time the switch is initialized and checks the hardware components to determine if the switch is fully operational before
booting. After POST, the system uses the Grub bootloader.
To select an entry, use the up and down arrow keys. Press
Enter
to select an OS or enter
e
to edit the commands before booting. Enter
c
for a command line. The selected entry runs automatically in the operating system.
Example of the Grub bootloader
GNU GRUB version 2.02~beta2+e4a1fe391
+-------------------------------------------+
|*ONIE: Install OS |
| ONIE: Rescue |
| ONIE: Uninstall OS |
| ONIE: Update ONIE |
| ONIE: Embed ONIE |
| ONIE: Diag ONIE |
| |
+-------------------------------------------+
Your system comes with ONIE installed.
Example of ONIE
ONIE: Install OS
For downloading and installing an OS from a URL
Starts ONIE with ONIE Discovery Service
(factory default boot)
ONIE: Rescue
Starts ONIE without ONIE Discovery Service
Useful for running Diagnostics manually
ONIE: Uninstall OS
Restore to factory defaults erases any installed OS
ONIE: Update ONIE
36
Management ports