How to mount a USB flash drive in Linux Rescue Mode

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

Issue

  • Unable to mount USB device in rescue mode

Resolution

  • Note the size of the USB device and attach it to the machine
  • Boot the machine into Linux Rescue Mode
  • When the machine finishes booting run the following:
fdisk -l | less
  • Scroll through the list using the arrow keys and find the device that matches the size of the USB device, note the name of the device and press 'q' to exit
  • Create a mount point:
mkdir /mnt/usb
  • Mount the USB drive
# mount /dev/<device name> /mnt/usb
  • Please be certain to unmount the drive after you have finished copying data
# umount /mnt/usb
  • You may then safely remove the USB drive

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments