Vbox - FreeBSD - get data from pendrive?

Heyas

I'm trying to test SWARM in a Vbox-FreeBSD environment.

  • I had prepared an ISO of my USB pendrive that just contains SWARM.
  • I'm using the FreeBSD image from my host's harddrive.
  • Both images are connected/assigned in VBox under mass-storages -> CDROM and USB.
  • Since I dont want to install anything, I did not 'assign' a VDI for the FreeBSD-Vbox.

So, I booted FreeBSD login in as root... and am getting lost there...
Now I do know how to mount stuff in linux, I know my ways around...
However, with FreeBSD... I am getting lost..

I tried to follow:
Mounting USB Flash Drive | The FreeBSD Forums

But the issue is, I do not have any entries they refer to... (no /dev/da*).

I dont know if this is an issue (not knowing) with Vbox or with FreeBSD.

Any advice / hints please?

What about cd0 / cd1 ? Looks like it thinks your iso is on a CD?

Since I had formated the usb as msdosfs, I did check the /dev/usb - which failed.

But you're on the right track, it IS /dev/cd0.

However...

Got that line from:
YouTube

Figured...
Eventhough the REAL fs is msdosfs... I had to mount it as cd9660... because it got 'assigned' to /dev/cd0...

EDIT:
I wish.... sometimes I'm too fast on reporting success :frowning:
It was a valid image.. but it's the BSD image I booted the VM off, NOT the usb-image i had expected.

Now Im looking to figure the 'real' usb-link to my hosts-iso...

Depending on how you copied the .iso to the pen drive, the msdos formatting is gone, and iso9660 would be the FS type of choice. It has many mount options that might help in getting your task done.

But that is the issue...
I made the iso -from/off- the USB drive.
(i changed the iso in the maintime to have only 5mb, rather than misleading swarm-iso of ~900mb as the freebsd iso is about 900mb as well.

I was so focused on testing SWARM, that i forgot that I also boot off the cdrom iso image of freebsd...

So the question remains, how do I figure out my USB-drive/iso ?

Please see my edited post above.