Avatar of mpaert
mpaert
 asked on

How to browse USB volumes on FreeBSD shell

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.
Unix OSLinuxFreeBSD

Avatar of undefined
Last Comment
wesly_chen

8/22/2022 - Mon
wesly_chen

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

ASKER
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?
wesly_chen

sudo su -
  And type your password when it prompt
Then
mount -t msdosfs /dev/da2s1  /mnt/usb
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
mpaert

ASKER
Hi,

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

"sudo: Command not found"
gheist

su -
Password:

# mount -v -v
mpaert

ASKER
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?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
gheist

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

ASKER
Hi. I'm sorry but I am a complete newbie on "FreeBSD". Would you be able to give me step-by-step instructions please?
gheist

There is no FreeBSD involved.
Point web browser to the URL you see on NAS screen and do mounting devices.
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER CERTIFIED SOLUTION
wesly_chen

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question