Dell S3048-ON EMC PowerSwitch Installation Guide March 2022 - Page 28

USB storage mount, Before you install an OS

Page 28 highlights

USB storage mount The USB storage supports the FAT file system. The USB storage does not automatically mount. To use USB storage, you must first mount the device. 1. Create a mount directory for the USB. ONIE:/ # mkdir /mnt/usb 2. View the fixed disks using the fdisk command. ONIE:/mnt # fdisk -l For internal storage: Disk /dev/sda: 15.8 GB, 15829303296 bytes 255 heads, 63 sectors/track, 1924 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot /dev/sda1 Start 1 End 1925 Blocks Id System 15458303+ ee EFI GPT For USB storage: Disk /dev/sdb: 30.9 GB, 30942946304 bytes 64 heads, 32 sectors/track, 29509 cylinders 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. OPTIONAL: Add a device to the file systems table, fstab, and mount the file systems. 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 S3048-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 which entry is highlighted, 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 highlighted entry executes automatically in the operating system. Example of the Grub Bootloader GNU GRUB version 2.02~beta2+e4a1fe391 |*ONIE: Install OS | | ONIE: Rescue | 28 Management ports

  • 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

USB storage mount
The USB storage supports the FAT file system. The USB storage does not automatically mount. To use USB storage, you must
first mount the device.
1.
Create a mount directory for the USB.
ONIE:/ # mkdir /mnt/usb
2.
View the fixed disks using the
fdisk
command.
ONIE:/mnt # fdisk -l
For internal storage:
Disk /dev/sda: 15.8 GB, 15829303296 bytes
255 heads, 63 sectors/track, 1924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot
Start
End
Blocks
Id System
/dev/sda1
1
1925
15458303+ ee EFI GPT
For USB storage:
Disk /dev/sdb: 30.9 GB, 30942946304 bytes
64 heads, 32 sectors/track, 29509 cylinders
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.
OPTIONAL: Add a device to the file systems table,
fstab
, and mount the file systems.
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 S3048-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 which entry is highlighted, 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 highlighted entry executes automatically in the operating system.
Example of the Grub Bootloader
GNU GRUB
version 2.02~beta2+e4a1fe391
+----------------------------------------------+
|*ONIE: Install OS
|
| ONIE: Rescue
|
28
Management ports