G+_Rud Dog Posted March 25, 2016 Share Posted March 25, 2016 If you plug in a USB drive formatted ext4, on linux box and it does not show up under /dev (expect /dev/sda or /dev/sda1) what can be done to correct the problem? Have tried reboot, removing and reinserting USB stick and reformating to ext4. Can't mount what you can't see. Link to comment Share on other sites More sharing options...
G+_Seth Leedy Posted March 25, 2016 Share Posted March 25, 2016 A guess, an error in the partition table could do it. Try the tool lsusb. See what it shows. Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted March 25, 2016 Share Posted March 25, 2016 Sorry, this post is just so I get a notification to see what people say. Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted March 25, 2016 Author Share Posted March 25, 2016 Seth Leedy thank you, running OpenWRT Linux and it is not included in the version I am running. Trying to find a simple tutorial on how to add omitted options from scaled down linux in use. Link to comment Share on other sites More sharing options...
G+_Steve Martin Posted March 25, 2016 Share Posted March 25, 2016 Is it possible the OpenWRT doesn't do ext4? Maybe try formatting it as Fat32 and see what happens when you insert it? Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted March 25, 2016 Author Share Posted March 25, 2016 Steve Martin this was working before and still running on another unit. Guessing will try another usb stick maybe something went wrong with my original. Was looking for any commands which resets, so to speak, the USB stick connection. Link to comment Share on other sites More sharing options...
G+_Steve Martin Posted March 25, 2016 Share Posted March 25, 2016 Rud Dog USB is plug and pray, so disconnecting and reconnecting is about your best choice. I went through a similar thing with trying to set up an Micro SD card on a RasPi only to discover that the Micro SD was the wrong type/speed to work with the Raspberry. YMMV Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted March 25, 2016 Author Share Posted March 25, 2016 Steve Martin Well formated another smaller stick and it refuses to show up but have overlooked one thing. This particular USB stick is plugged into a 5 port USB strip. Time to make sure it is working ok. Link to comment Share on other sites More sharing options...
G+_Eddie Foy Posted March 25, 2016 Share Posted March 25, 2016 fdisk? (fdisk -l) I think list partitions. Also a DF -h worth a shot, along with a lsusb and see if the system even sees it as a valid device. Then there is dmeg (with grep) Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted March 25, 2016 Author Share Posted March 25, 2016 Eddie Foy fdisk only displays info on this image, df -hT does not show the USB stick and Isusb also is not on the linux on board. First time hearing about dmeg will try it as welll. Thanks Eddie. Link to comment Share on other sites More sharing options...
G+_Eddie Foy Posted March 25, 2016 Share Posted March 25, 2016 oops dmesg :) Does it have a package manager? You said openWRT. My Reaver Pro runs openWRT and doing a package search failed to find a package (nano). But it was listed on openWRT's site : ( http://tinyurl.com/p3sr7j9 ) I was able to wget it and then do a package install pointing to the dl'd file. opkg install usbutils But it sounds like the drive just isn't being seen. Got another drive? So there is no /dev/sda or /dev/sda1 ?? Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted March 25, 2016 Author Share Posted March 25, 2016 Eddie Foy Turns out had a bad board replaced and fired it up and now sda, sda1 and sda5 shows up. Normally the way I understand it, the sda is the usb stick, the sda1 is the partition but what is new to me is seeing the sda5. I did have the 5 port USB hub plugged into it but removed it to lessen the setup. After resetting to factory defaults the sda5 still showed up. Going to try a manual mount of all and see what happens. Link to comment Share on other sites More sharing options...
G+_Eddie Foy Posted March 25, 2016 Share Posted March 25, 2016 glad you got it sorted out. (linux is great all up till it breaks) Link to comment Share on other sites More sharing options...
G+_Black Merc Posted March 26, 2016 Share Posted March 26, 2016 I remember not too long ago... thumb drives interface firmware only recognized fat32/16... formating a drive to another fs effectively locked up the interface Link to comment Share on other sites More sharing options...
G+_Eddie Foy Posted March 26, 2016 Share Posted March 26, 2016 I've sucessfully formatted to ext4. But was a SanDisk. But i can see that with cheap Asian ones. Link to comment Share on other sites More sharing options...
Recommended Posts