Dell PowerSwitch S4112F-ON Open Networking Hardware Diagnostic Guide April 201 - Page 13

ONIE UEFI-based installation using USB

Page 13 highlights

ONIE UEFI-based installation using USB The following steps describe how to create a bootable unified extensible firmware interface (UEFI) ONIE-based USB to install ONIE using Embed mode: To install ONIE UEFI on your system, use any existing ONIE-based system to make an ONIE UEFI-based bootable USB. To make a bootable USB, use the ONIE ISO file. 1 Boot the ONIE target in ONIE Rescue mode. Use ONIE Rescue mode to make the ONIE UEFI-bootable USB. To select which entry is highlighted, use the up and down arrow keys. Press Enter to select an operating software-selected OS or enter e to edit the commands before booting. Enter c for a command line. The highlighted entry, displaying *, executes automatically in the operating system. GNU GRUB version 2.02~beta2+e4a1fe391 |ONIE: Install OS | |*ONIE: Rescue | |ONIE: Uninstall OS | |ONIE: Update ONIE | |ONIE: Embed ONIE | |EDA-DIAG | | | | | | | 2 Confirm that your system can reach the network. 3 Copy the ONIE ISO image to the solid-state drive (SSD) of the ONIE target. ONIE:/ # wget --quiet http://xx.xx.x.xxx/tftpboot/users//onie-recovery-x86_64-dell__c2538-r0.iso To copy the image, you can use SCP, TFTP, or WGET (ftp/http). scp [email protected]:/tftpboot/onie-recovery-x86_64-dell__c2538-r0.iso . 4 Confirm that the ISO file copied to the SDD over the network. ONIE:/ # ls -l ... -rw-r--r-- 1 root 0 39780352 Apr 10 11:55 onie-recovery-x86_64-dell__c2538-r0.iso ... 5 Insert a blank USB in the ONIE target's USB slot. Verify the USB block device using the ONIE logs. Info: eth0: Checking link... scsi 6:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4 sd 6:0:0:0: [sdb] 15148608 512-byte logical blocks: (7.75 GB/7.22 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 The logs show that the USB device is present: /dev/sdb. You can also check /sys/block. ONIE:/ # cd /sys/block/sdb ONIE:/sys/block/sdb # ls -l -r--r--r-- 1 root 0 4096 Apr 10 13:12 alignment_offset lrwxrwxrwx 1 root 0 0 Apr 10 13:12 bdi -> ../../devices/virtual/bdi/8:16 -r--r--r-- 1 root 0 4096 Apr 10 13:12 capability -r--r--r-- 1 root 0 4096 Apr 10 13:12 dev ONIE installation instructions 13

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

ONIE UEFI-based installation using USB
The following steps describe how to create a bootable
unified
extensible
firmware
interface (UEFI) ONIE-based USB to install ONIE using
Embed mode:
To install ONIE UEFI on your system, use any existing ONIE-based system to make an ONIE UEFI-based bootable USB. To make a bootable
USB, use the ONIE ISO
file.
1
Boot the ONIE target in ONIE Rescue mode.
Use ONIE Rescue mode to make the ONIE UEFI-bootable USB.
To select which entry is highlighted, use the up and down arrow keys. Press Enter to select an operating software-selected OS or
enter
e
to edit the commands before booting. Enter
c
for a command line. The highlighted entry, displaying
*
, executes automatically
in the operating system.
GNU GRUB
version 2.02~beta2+e4a1fe391
+---------------------------+
|ONIE: Install OS
|
|*ONIE: Rescue
|
|ONIE: Uninstall OS
|
|ONIE: Update ONIE
|
|ONIE: Embed ONIE
|
|EDA-DIAG
|
|
|
|
|
|
|
+---------------------------+
2
Confirm
that your system can reach the network.
3
Copy the ONIE ISO image to the solid-state drive (SSD) of the ONIE target.
name
>/onie-recovery-x86_64-dell_<
platform
>_c2538-r0.iso
To copy the image, you can use SCP, TFTP, or WGET (ftp/http).
scp [email protected]:/tftpboot/onie-recovery-x86_64-dell_<
platform
>_c2538-r0.iso .
4
Confirm
that the ISO
file
copied to the SDD over the network.
ONIE:/ # ls -l
-rw-r--r-- 1 root 0 39780352 Apr 10 11:55 onie-recovery-x86_64-dell_<
platform
>_c2538-r0.iso
5
Insert a blank USB in the ONIE target's USB slot. Verify the USB block device using the ONIE logs.
Info: eth0: Checking link... scsi 6:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ:
0 ANSI: 4
sd 6:0:0:0: [sdb] 15148608 512-byte logical blocks: (7.75 GB/7.22 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
The logs show that the USB device is present:
/dev/sdb
.
You can also check
/sys/block
.
ONIE:/ # cd /sys/block/sdb
ONIE:/sys/block/sdb # ls -l
-r--r--r-- 1 root 0 4096 Apr 10 13:12 alignment_offset
lrwxrwxrwx 1 root 0 0 Apr 10 13:12 bdi -> ../../devices/virtual/bdi/8:16
-r--r--r-- 1 root 0 4096 Apr 10 13:12 capability
-r--r--r-- 1 root 0 4096 Apr 10 13:12 dev
ONIE installation instructions
13