Posts: 54
Joined: Jul 2008
Reputation:
0
Hi,
I am having a problem that I hope someone with unix skills can help with!
I have an external hdd that holds all my media. If I boot my Revo htpc with it plugged in, it will mount to /media/sdb1/ but if I plug it in while running, it will mount to /media/Passport, so whichever way the media has been added to the library, it may or may not still be at that location when next used.
Does anyone know how to mount this to a consistent location?
Thanks,
Mark
Posts: 144
Joined: Sep 2008
Reputation:
0
Hi, I dont know exactly if it is the same problem, but I will try to explain.
I use a normal installation of Ubuntu 10.04 with XBMC SVN. But external drives, not matter if Fat32 or NTFS, doesnt get recognized within XBMC.
In Gnome everything is fine.
BUT: If I first connect the external in Gnome an THEN start XBMC I see the drives in "Video".
Posts: 54
Joined: Jul 2008
Reputation:
0
Hi, thanks for your reply.
I have given it a read, but I now have a problem I cannot get my head around..
The drive is currently mounted to /media/Passport. It is not quite as clear when it mounts to either location. the command 'ls /media/sdb1' doesn't return anything though. running 'ls -l /dev/disk/by-uuid' gives 5 locations found, but none of which are '/media/Passport'.
It does list '../../sdb1', but the UUID does not look like the others - it is a 16 digit hex string, no dashes.
Do you have any ideas what could be going on?!
Thanks.
Mark
Posts: 54
Joined: Jul 2008
Reputation:
0
Sorry sylvio, just saw your reply. The drive always mounts, just not always in the same place.
Posts: 54
Joined: Jul 2008
Reputation:
0
Hi, Thanks for another helpful reply!
It is indeed ntfs! So that is comforting that it is not a problem!
It does appear that Passport is assigned to ../../sdb1, which is good. It just seems strange that I cannot currently access it through sdb1..
So this may be a silly question.. but am I best to mount it in fstab as Passport or sdb1?
Thanks,
Mark
Posts: 54
Joined: Jul 2008
Reputation:
0
Also, I assume the UUID will always be the same for the drive, even though it is not a part of the file system? Will this be the same across devices?
Thanks again!
Mark
Posts: 54
Joined: Jul 2008
Reputation:
0
Sorry, me again!!
I also noticed that you recommend ext4.. I use ntfs for the media drive, since I transfer the data from xp, but for the main partition, is it worth changing to ext4 - will this make boot/operation quicker?
Is it possible to check what partition each drive uses now? And is it possible to change this without a complete format, losing the data?
Sorry - a bit of a barrage of messages!
Mark
Posts: 54
Joined: Jul 2008
Reputation:
0
Thanks a lot for all your help! It looks like it fixed it!
All your help is much appreciated!
Mark
Posts: 106
Joined: Jul 2010
Reputation:
1
dsmuk
Senior Member
Posts: 106
Can you explain what you did to resolve this? I am having the same problem.
Would like it to always mount in the same place, not fussed where as long as I can tell XBMC where to look for the files.
Posts: 54
Joined: Jul 2008
Reputation:
0
I do not have access to my system for a couple of weeks, but I followed the advice above. It was an fstab issue. Simply adding this, as described in the above posts should do it. Get the UUID and add it to fstab. If you have a specific problem, I will try to help or I am sure that someone more knowledgeable here can help!
Mark