USB Drive not recognized under /dev

0

I was reading/learning about partitioning, creating file-system, etc. and wanted to do some practical.
So i booted my CentOS installed on my windows laptop using Virtual Box and inserted a blank usb into the computer; i was expecting a new device node inserted inside /dev but count returned:-
from ls -l /dev/ | wc -l is same before & after inserting the usb.
I also rebooted the vm but the count was still same.

LoveWithMaths

Posted 2018-06-03T05:05:20.207

Reputation: 11

Did you pass through the usb stick from your host to guest in the Virtualbox VM settings? – n8te – 2018-06-03T05:26:26.003

In vm settings under usb settings i have enabled usb controller, also i havent set any usb device filters. Not sure if i answered your question. – LoveWithMaths – 2018-06-03T05:38:46.633

2No, you need to do one more thing. In the window of your running VM, go the Devices menu option on top. Then go to USB and select your usb stick. If you don't see your usb stick listed, you will need to install Guest Additions in CentOS if you haven't already done that. – n8te – 2018-06-03T05:51:26.973

1Any device that you plug into your physical machine will not appear on your guest until you explicitly pass it through. – n8te – 2018-06-03T05:52:25.637

@n8te: Please post this in the answer form below. – user1686 – 2018-06-03T08:11:12.010

Answers

0

I think in Virtual Box you have to install guest services or under devices check if the usb stick is listed there. you can also check in dmesg (kernel messages) if the usb stick was recognized there.

Robert Adolphus

Posted 2018-06-03T05:05:20.207

Reputation: 1