USB storage mount
USB storage does not automatically mount. The supported file system is FAT. To use USB storage, first mount the device using the
following steps:
1
Create a mount directory for the USB.
ONIE:/ # mkdir /mnt/usb
2
View the fixed disks using fdisk.
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 1 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 using the
fstab
command 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
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 S4200-ON Series (S4248FB-ON and S4248FBL-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.
38
Management ports