Hard Drive Mounting - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Configuration (/forum-17.html) +--- Thread: Hard Drive Mounting (/thread-498.html) Pages: 1 2 |
Hard Drive Mounting - Grooveattack - 22nd Feb, 2013 08:37 PM Hey guys! i've just set up my pi with xbian and its working great. BUT, I have one small issue. When I power up the Pi the hard drive mounts to usb0, if I reboot it mounts to usb1 and then my library does not work. It chops and changes each time I reboot or remove the usb cable. I found this guide: http://jmeosbn.github.com/blog/baking-the-pi/#fn:mountpoints But I dont think it has worked and now im a bit stuck. Can anyone help? Having the same issue? Im running XBian 1.0 Alpha 5 on a 256mb Pi. Thanks Guys.... Hard Drive Mounting - Koenkk - 22nd Feb, 2013 10:52 PM Can you try removing all mountpoints except usb0 from /etc/usbmount/usbmount.conf RE: Hard Drive Mounting - Grooveattack - 22nd Feb, 2013 11:01 PM (22nd Feb, 2013 10:52 PM)Koenkk Wrote: Can you try removing all mountpoints except usb0 from /etc/usbmount/usbmount.conf ok, here comes my inner noob! I think I tried that before but I am unsure if I did it correctly. Can you give me a short 'how to' so I know Im doing it right. Thanks for your help!! RE: Hard Drive Mounting - Koenkk - 22nd Feb, 2013 11:17 PM This is the file I'm talking about: https://github.com/xbianonpi/xbian/blob/xbian-beta1/etc/usbmount/usbmount.conf Here you see this line (line 12 and 13) Code: MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3 Change that to Code: MOUNTPOINTS="/media/usb0" RE: Hard Drive Mounting - Grooveattack - 23rd Feb, 2013 01:43 AM (22nd Feb, 2013 11:17 PM)Koenkk Wrote: Here you see this line (line 12 and 13) Just tried that and did seem to work but after a reboot the hard drive does not mount at all. it will only use usb0 now when it does mount. but if not then it is not visible at all. Seems to have a life of its own in deciding where to go! RE: Hard Drive Mounting - CurlyMo - 23rd Feb, 2013 01:50 AM If your hard drive is connected, can you post the output of: Code: sudo mount RE: Hard Drive Mounting - Grooveattack - 23rd Feb, 2013 01:52 AM /dev/mmcblk0p2 on / type ext4 (rw,noatime,data=ordered) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=12356k,mode=755) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev type tmpfs (rw,relatime,size=10240k,mode=755) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=24700k) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) /dev/sda2 on /media/usb0 type hfsplus (ro,nodev,noexec,noatime,nodiratime,sync,umask=0,uid=1001,gid=1001,nls=utf8) RE: Hard Drive Mounting - CurlyMo - 23rd Feb, 2013 01:55 AM Can you try: Code: sudo unmount /media/usb0 RE: Hard Drive Mounting - Grooveattack - 23rd Feb, 2013 01:59 AM (23rd Feb, 2013 01:55 AM)CurlyMo Wrote: Can you try: comes back 'command not found' and 'already mounted' with the second command RE: Hard Drive Mounting - CurlyMo - 23rd Feb, 2013 02:04 AM Sorry, misspelled the first command, it had to be: Code: sudo umount /media/usb0/ RE: Hard Drive Mounting - Grooveattack - 23rd Feb, 2013 02:09 AM ahhh ok. yep that worked. ejected the drive when it was not showing and then remounted it on usb0 working fine. so will I have to do that each time? do you know what the cause is? RE: Hard Drive Mounting - CurlyMo - 23rd Feb, 2013 02:16 AM Can you now do this: Code: sudo echo -e "/dev/sda2\t/media/usb0\thfsplus\tdefaults\t0\t0" >> /etc/fstab RE: Hard Drive Mounting - Grooveattack - 23rd Feb, 2013 02:24 AM (23rd Feb, 2013 02:16 AM)CurlyMo Wrote: Can you now do this: tried 3 reboots and each time its mounting onto usb0. You, are some kind of wizard!! Thanks! Just out of interest (I'm still learning all this) what did that last command do?/ tell xbian to do? RE: Hard Drive Mounting - CurlyMo - 23rd Feb, 2013 02:27 AM It sets a fixed mountpoint for this specific device in fstab RE: Hard Drive Mounting - zilexa - 22nd Mar, 2013 01:30 AM Ahh, this topic would be great for the wiki or faq |