-
Notifications
You must be signed in to change notification settings - Fork 35
Boot different ONIE mode
Amy Buck edited this page Nov 20, 2018
·
1 revision
You can boot a software image from the Linux shell (in OPX runtime) into ONIE.
1. Change the next boot to ONIE using Grub.
$ sudo grub-reboot --boot-directory=/mnt/boot ONIE
2. Change ONIE mode to Install, Rescue, or Uninstall mode.
$ sudo /mnt/onie-boot/onie/tools/bin/onie-boot-mode -o install
$ sudo /mnt/onie-boot/onie/tools/bin/onie-boot-mode -o rescue
$ sudo /mnt/onie-boot/onie/tools/bin/onie-boot-mode -o uninstall
3. Reboot the switch.
$ sudo reboot
$ sudo grub-reboot --boot-directory=/mnt/boot ONIE
$ sudo /mnt/onie-boot/onie/tools/bin/onie-boot-mode -o install
$ sudo reboot
...
Booting `ONIE: Install OS'
ONIE: OS Install Mode ...
Version : 3.21.1.1
Build Date: 2015-03-17T12:32-0700
Info: Mounting kernel filesystems... done.
Info: Mounting LABEL=ONIE-BOOT on /mnt/onie-boot ...
Info: Using eth0 MAC address: 34:17:eb:f2:57:c4
Info: Using eth1 MAC address: 34:17:eb:f2:57:c5
Info: eth0: Checking link... scsi 6:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
sd 6:0:0:0: [sdb] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 6:0:0:0: [sdb] Attached SCSI removable disk
up.
Info: Trying DHCPv4 on interface: eth0
...
© 2019 OpenSwitch project. All information is contributed to and made available by OPX under the Creative Commons Attribution 4.0 International License (available at http://creativecommons.org/licenses/by/4.0/).
- Home
- System overview
- Software releases
- Hardware support
- FAQs
- Install
- Build
- Configure
- Develop
- Administer
- Troubleshoot
- Software compatibility
- Contribute
- DevOps
- Join