Vbox - FreeBSD - get data from pendrive?


 
Thread Tools Search this Thread
Operating Systems BSD Vbox - FreeBSD - get data from pendrive?
# 1  
Old 05-01-2020
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.
Vbox - FreeBSD - get data from pendrive?-freebsd-vbox-settingsjpg


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*).
Vbox - FreeBSD - get data from pendrive?-freebsd-content-devjpg


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

Any advice / hints please?
# 2  
Old 05-01-2020
What about cd0 / cd1? Looks like it thinks your iso is on a CD?
# 3  
Old 05-01-2020
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.
Vbox - FreeBSD - get data from pendrive?-bsd-gpart-listjpg


However...
Vbox - FreeBSD - get data from pendrive?-bsd-mount-failjpg


Got that line from:
YouTube
# 4  
Old 05-01-2020
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 Smilie
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...
Vbox - FreeBSD - get data from pendrive?-bsd-gpart-list2jpg

Last edited by sea; 05-01-2020 at 05:26 AM..
# 5  
Old 05-01-2020
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.
# 6  
Old 05-01-2020
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

LM 19.1 from pendrive

I've "installed" LM 19.1 to a PNY 16Gb(2.0) pendrive. I have a few issues that I'd like to resolve. First and foremost, the O.S. experiences "lagging" issues and to a lesser degree, freezing. Example: Complete "boot-up" (from start to complete "home" page) can take upwards of 7 mins. Then when... (10 Replies)
Discussion started by: 69Rixter
10 Replies

2. Slackware

Which USB pendrive image to install Slackware on an old AMD K6 3D ?

Holla, I have been trying to install a recent distro, with a minimum X such as jwm, but unfortunately my cdrom is broken and I can only boot the USB port, with a pendrive. AMD K6 3D is today too old for being for linux. Is there an image of slackware than runs that processor and that can... (5 Replies)
Discussion started by: raptor34
5 Replies

3. UNIX for Dummies Questions & Answers

Unable to acces my pendrive in linux

Hi Gurus, in linux I am unable to access my pendrive(i am even not seeing the icon or location for my pendrive ). Please anyany could help me to get rid of this issue. regards, Sanjay :) (4 Replies)
Discussion started by: sanjay.login
4 Replies

4. SCO

mount the pendrive on the unixware 7.1.4

please let me know how to mount the pendrive on the unixware (1 Reply)
Discussion started by: deepthi.s
1 Replies

5. UNIX for Advanced & Expert Users

installation of vbox failing

Hi, I am using compaq t5207tu model with 60gb harddisk and 2.5gb RAM.Its dual boot-Windows XP and Solaris. I tried installing SUN xVM on solaris to make client -server architecture (32 bit processor and 32 bit OS ) -guest OS (solaris 10)on host OS(Solaris 10). But whenever i try to install... (1 Reply)
Discussion started by: shruti_gupta
1 Replies

6. UNIX for Dummies Questions & Answers

Copying files unto a usb pendrive/external disk from Solaris 9

Hi all, Can anybody help me with how I can connect a usb pendrive or external disk to a Sun Server which runs on Solaris 9? I am able to connect the usb drive to a windows server easily and copy files but am wondering if it is possible to do that with Solaris. Any help will be appreciated. thanks. (3 Replies)
Discussion started by: rahmantanko
3 Replies

7. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

8. UNIX for Dummies Questions & Answers

boot from a pendrive

Can anybody explane 'How to boot from a pendrive' ?Is it possible to load Operating System from a pendrive----? How? (5 Replies)
Discussion started by: Ajith kumar.G
5 Replies

9. Red Hat

helo how to mount pendrive on redhat 9

helo my sysem is running on redhat 9. now i want to take data from redhat 9 pc to pen drive. but when i plug it it is not detected. can u tell me how to mount pendrive on redhat9. amit (1 Reply)
Discussion started by: amitpansuria
1 Replies

10. UNIX for Dummies Questions & Answers

How to install FreeBSD without loosing my data?

hi. I am newbie in Unix. I wanted to install Free BSD 5.2.1 to my computer which winXp was already installed. But i couldn't. I chose Standard. Then it said you are going to use dos style fdisk partitioning. Then a window displayed begining like this. WARNING: A geometry of 155127/16/63 for... (0 Replies)
Discussion started by: sualcavab
0 Replies
Login or Register to Ask a Question