How to browse USB volumes on FreeBSD shell

mpaert
mpaert used Ask the Experts™
on
I need to install something in FreeBSD shell.

I've connected a USB FAT32 HD. It shows as "da2". I need to gain access to the files on the HD directly or copying them onto the main boot volume for installation. I have tried the following commands without success:

I've followed instructions from here: http://www.wallpaperama.com/forums/how-to-mount-connect-usb-external-drive-pendrive-in-linux-shell-command-t714.html

After following instructions, and entering: mount -t auto /dev/da2  /mnt/usb, the response is:

"mount: /dev/da2 : Operation not supported by device"

Could you please help me to get to the installers on the HD please? Thanks guys.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2011

Commented:
as root
mkdir -p /mnt/usb
mount -t msdosfs /dev/da2s1  /mnt/usb

Author

Commented:
Thanks, but have error:

mount_msdosfs: /dev/da2s1: Operation not permitted

How can I login as root? I've got Freenas, and don't know which user is currently active, and don't know the default freenas root credentials. Any idea?
Top Expert 2011

Commented:
sudo su -
  And type your password when it prompt
Then
mount -t msdosfs /dev/da2s1  /mnt/usb
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
Hi,

I've entered "sudo su -", an error returned again:

"sudo: Command not found"
Top Expert 2015

Commented:
su -
Password:

# mount -v -v

Author

Commented:
Hi. After I enter "su -" i simply get to the next line. The line prefix is instead of "%" my hostname "freenas#". It doesn't ask for my password. Any ideas?
Top Expert 2015

Commented:
FreeNAS is not exactly FreeBSD, go to web interface and mount whatever you want.

Author

Commented:
Hi. I'm sorry but I am a complete newbie on "FreeBSD". Would you be able to give me step-by-step instructions please?
Top Expert 2015

Commented:
There is no FreeBSD involved.
Point web browser to the URL you see on NAS screen and do mounting devices.
Top Expert 2011
Commented:
Check the "FreeNAS Setup and User guide"
http://www.mendax.com/images/slnImages/s85/FreeNAS-SUG.pdf

chapter 4- Basic Configuration
- How to login to FressNAS webUI

ch 4.3.3 - How to mount add a disk from webUI


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial