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
The
mount -a
command mounts all the file systems as indicated in the /etc/fstab file.
Before you install an OS
After powering on the S4112-ON Series (S4112F-ON and S4112T-ON) switch, 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 switch uses the Grub bootloader.
To select an entry, use the up and down arrow keys. Press
Enter
to select an operating software (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.
Grub bootloader example
GNU GRUB version 2.02~beta2+e4a1fe391
+--------------------------------------------------+
|*ONIE: Install OS |
| ONIE: Rescue |
| ONIE: Uninstall OS |
| ONIE: Update ONIE |
| ONIE: Embed ONIE |
| EDA-DIAG |
| |
| |
| |
| |
| |
| |
+--------------------------------------------------+
Your system comes with ONIE installed.
NOTE:
To access ONIE, use the RJ-45 console port.
ONIE example
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
For downloading and updating ONIE from a URL
ONIE: Embed ONIE
For downloading and updating ONIE from a URL and erases any installed OS
36
Management ports