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....
Can you try removing all mountpoints except usb0 from /etc/usbmount/usbmount.conf
(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!!
(22nd Feb, 2013 11:17 PM)Koenkk Wrote: [ -> ]Here you see this line (line 12 and 13)
Code:
MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
/media/usb4 /media/usb5 /media/usb6 /media/usb7"
Change that to
Code:
MOUNTPOINTS="/media/usb0"
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!
If your hard drive
is connected, can you post the output of:
/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)
(23rd Feb, 2013 01:55 AM)CurlyMo Wrote: [ -> ]Can you try:
Code:
sudo unmount /media/usb0/
sudo mount -t hfsplus /dev/sda2 /media/usb0
comes back 'command not found' and 'already mounted' with the second command
Sorry, misspelled the first command, it had to be:
Code:
sudo umount /media/usb0/
sudo mount -t hfsplus /dev/sda2 /media/usb0
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?
(23rd Feb, 2013 02:16 AM)CurlyMo Wrote: [ -> ]Can you now do this:
Code:
sudo echo -e "/dev/sda2\t/media/usb0\thfsplus\tdefaults\t0\t0" >> /etc/fstab
sudo umount /media/usb0
sudo mount -a
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?
It sets a fixed mountpoint for this specific device in fstab
Ahh, this topic would be great for the wiki or faq