Dell S4148U-ON Open Networking Hardware Diagnostic Guide June 2018 - Page 17

Change default grub boot entry, View system information

Page 17 highlights

The ONIE support file includes the following: • kernel_cmdline • runtime-export-env • runtime-process • runtime-set-env • log/messages • log/onie.log Output example Success: Support tarball created: /tmp/onie-support.tar.bz2 Change default grub boot entry To view or set the default Boot mode, the onie-boot-mode command has two options -l, the default, and -o. The Grub boot default shows the current default entry. View or set the default Grub boot entry. ONIE:/ # onie-boot-mode [-o ] The -o command options include: • install-ONIE OS Installer mode • rescue-ONIE Rescue mode • uninstall-ONIE OS Uninstall mode • update-ONIE Self-Update mode • embed-ONIE Self-Update mode and Embed ONIE • none-Uses System Default Boot mode. This mode uses the first ONIE boot menu entry. The -l command option lists the current default entry-this is the default setting. View system information To view your system information; for example, the model, part number, serial number, and service tag, use the following commands: 1 Boot into ONIE. 2 Enter the onie-syseeprom command. ONIE:/ # onie-syseeprom TlvInfo Header: Id String: TlvInfo Version: 1 Total Length: 162 TLV Name Code Len Value Part Number 0x22 6 0W1K08 Serial Number 0x23 20 CN0W1K08779316470002 Product Name 0x21 8 Device Version 0x26 1 0 Label Revision 0x27 3 X00 Manufacture Date 0x25 19 04/08/2016 08:43:05 Manufacturer 0x2B 5 77931 Country Code 0x2C 2 CN Vendor Extension 0xFD 1 0x00 MAC Addresses 0x2A 2 256 ONIE overview 17

  • 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

The ONIE support
file
includes the following:
kernel_cmdline
runtime-export-env
runtime-process
runtime-set-env
log/messages
log/onie.log
Output example
Success: Support tarball created: /tmp/onie-support.tar.bz2
Change default grub boot entry
To view or set the default Boot mode, the
onie-boot-mode
command has two options
—l
, the default, and
—o
. The Grub boot default
shows the current default entry.
View or set the default Grub boot entry.
ONIE:/ # onie-boot-mode [-o <onie_mode>]
The
-o
command options include:
install
—ONIE OS Installer mode
rescue
—ONIE Rescue mode
uninstall
—ONIE OS Uninstall mode
update
—ONIE Self-Update mode
embed
—ONIE Self-Update mode and Embed ONIE
none
—Uses System Default Boot mode. This mode uses the
first
ONIE boot menu entry.
The
-l
command option lists the current default entry—this is the default setting.
View system information
To view your system information; for example, the model, part number, serial number, and service tag, use the following commands:
1
Boot into ONIE.
2
Enter the
onie-syseeprom
command.
ONIE:/ # onie-syseeprom
TlvInfo Header:
Id String:
TlvInfo
Version:
1
Total Length: 162
TLV Name
Code Len Value
-------------------- ---- --- -----
Part Number
0x22
6 0W1K08
Serial Number
0x23
20 CN0W1K08779316470002
Product Name
0x21
8 <
platform
>
Device Version
0x26
1 0
Label Revision
0x27
3 X00
Manufacture Date
0x25
19 04/08/2016 08:43:05
Manufacturer
0x2B
5 77931
Country Code
0x2C
2 CN
Vendor Extension
0xFD
1
0x00
MAC Addresses
0x2A
2 256
ONIE overview
17