[SOLVED] XBMC unable to find /dev/sda - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Kodi (/forum-18.html) +--- Thread: [SOLVED] XBMC unable to find /dev/sda (/thread-2806.html) Pages: 1 2 |
XBMC unable to find /dev/sda - rasho - 3rd Mar, 2015 10:47 PM Hello! I've been installing Xbian on raspberry PI 2 and I tried to connect my 500GB WD Passport hard drive to it. When I power it up xbian loads just fine but drive sounds like it would try to run over and over again. I am unable to see the drive anywhere in Xbian. Then I Exit from xbian and linux command shows me error: Unable to find '/dev/sda'. I thought it is the problem with not enough current from adapter (5V, 2A), but it should be enough. I hope I make any sense with my english and that there is someone that can help me with my problem. RE: XBMC unable to find /dev/sda - f1vefour - 4th Mar, 2015 12:39 AM Pastebin the output of dmesg and post here the output of: Terminal ls /dev/sd* RE: XBMC unable to find /dev/sda - rasho - 4th Mar, 2015 01:59 AM That is the second problem I have. I am unable to login into the sistem remote via SSH or if I exit xbian and try in the console. I've tried every possible combination I can think of (root/raspberry;pi/raspberry,root/root,root/user, etc). I've tried capital letters and nothing is working. I can connect to device, but unable to login. Software XBian version: XBMC/Kodi version: Kodi 14.2-BETA2 Git:2015-02-25-c4ce8e3-dirty Overclock settings: default Hardware Device type and model (e.g. Raspberry Pi Model A/B 256/512 MB, CuBox-i i4Pro, ...): Raspberry Pi 2, 1GB ram Power supply rating: power supply that comes original with RPi2: 5V, 2A SD card size and make/type: Verbatim 8GB class 10 micro SD card Network (Ethernet or wireless): wired ethernet connection Connected devices (TV, USB, network storage, ...): Phillips TV over HDMI WD 500GB My Passport external 2.5" hard disk drive (without additional power supply) Log files http://xbmclogs.com/paejqycal RE: XBMC unable to find /dev/sda - f1vefour - 4th Mar, 2015 02:28 AM It's user: xbian pass: raspberry RE: XBMC unable to find /dev/sda - rasho - 4th Mar, 2015 02:39 AM Thank you a lot. I couldn't find that online. ls /dev/sd* gives me: /dev/sda And the correct error is: ata_id[7537] Unable to open '/dev/sda' RE: XBMC unable to find /dev/sda - f1vefour - 4th Mar, 2015 03:26 AM Have you used this unpowered disk on a Pi and it work? RE: XBMC unable to find /dev/sda - rasho - 4th Mar, 2015 03:52 AM Yes, I've used it on Pi B 512mb ram. And there it is still working perfectly. RE: XBMC unable to find /dev/sda - f1vefour - 4th Mar, 2015 04:03 AM Try mounting it manually. Terminal mkdir /home/xbian/tempmnt sudo mount - t ntfs /dev/sda /home/xbian/tempmnt Replace ntfs if that isn't the filesystem type and if that doesn't work try /dev/sda1 in the mount line. RE: XBMC unable to find /dev/sda - rasho - 4th Mar, 2015 04:22 AM Terminal xbian@xbian ~ $ sudo mount -t ntfs /dev/sda /home/xbian/tempmnt Error reading bootsector: Input/output error Failed to mount '/dev/sda': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details. xbian@xbian ~ $ sudo mount -t ntfs /dev/sda1 /home/xbian/tempmnt ntfs-3g: Failed to access volume '/dev/sda1': No such file or directory ntfs-3g 2012.1.15AR.5 external FUSE 29 - Third Generation NTFS Driver Configuration type 7, XATTRS are on, POSIX ACLS are on Copyright © 2005-2007 Yura Pakhuchiy Copyright © 2006-2009 Szabolcs Szakacsits Copyright © 2007-2011 Jean-Pierre Andre Copyright © 2009 Erik Larsson Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point> Options: ro (read-only mount), remove_hiberfile, uid=, gid=, umask=, fmask=, dmask=, streams_interface=. Please see the details in the manual (type: man ntfs-3g). Example: ntfs-3g /dev/sda1 /mnt/windows News, support and information: http://tuxera.com RE: XBMC unable to find /dev/sda - f1vefour - 4th Mar, 2015 04:44 AM sudo fdisk -l RE: XBMC unable to find /dev/sda - rasho - 4th Mar, 2015 04:52 AM Terminal xbian@xbian ~ $ sudo fdisk -l [sudo] password for xbian: Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes 4 heads, 16 sectors/track, 243200 cylinders, total 15564800 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x8e3e7e61 Device Boot Start End Blocks Id System /dev/mmcblk0p1 * 2048 71679 34816 b W95 FAT32 /dev/mmcblk0p2 141312 15063039 7460864 83 Linux /dev/mmcblk0p3 15063040 15564799 250880 82 Linux swap / Solaris RE: XBMC unable to find /dev/sda - f1vefour - 4th Mar, 2015 05:36 AM Try: Terminal sudo ntfs-3g /dev/sda /home/xbian/tempmnt If that doesn't work let me see: lsusb RE: XBMC unable to find /dev/sda - rasho - 4th Mar, 2015 05:45 AM Terminal xbian@xbian ~ $ sudo mount -t ntfs-3g /dev/sda /home/xbian/tempmnt Error opening '/dev/sda': No such device or address Failed to mount '/dev/sda': No such device or address Either the device is missing or it's powered down, or you have SoftRAID hardware and must use an activated, different device under /dev/mapper/, (e.g. /dev/mapper/nvidia_eahaabcc1) to mount NTFS. Please see the 'dmraid' documentation for help. Sorry, only now realised that is a command I need to type in. Here's the result: Terminal xbian@xbian ~ $ lsusb Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 009: ID 1058:0730 Western Digital Technologies, Inc. RE: XBMC unable to find /dev/sda - rasho - 5th Mar, 2015 09:45 PM I guess you have no more ideas. I do not too. RE: XBMC unable to find /dev/sda - f1vefour - 5th Mar, 2015 11:28 PM What type of filesystem is on the drive? I just assumed it was NTFS. |