Link to home
Start Free TrialLog in
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.
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

as root
mkdir -p /mnt/usb
mount -t msdosfs /dev/da2s1  /mnt/usb
Avatar of mpaert
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?
sudo su -
  And type your password when it prompt
Then
mount -t msdosfs /dev/da2s1  /mnt/usb
Avatar of mpaert

ASKER

Hi,

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

"sudo: Command not found"
su -
Password:

# mount -v -v
Avatar of 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?
FreeNAS is not exactly FreeBSD, go to web interface and mount whatever you want.
Avatar of 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?
There is no FreeBSD involved.
Point web browser to the URL you see on NAS screen and do mounting devices.
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial