(Solved) fStab automount smb/cifs fails (keeps loading XBMC)
|
5th Feb, 2014, 12:12 AM
Post: #1
|
|||
|
|||
(Solved) fStab automount smb/cifs fails (keeps loading XBMC)
Hi all,
I try to mount my smb shares locally, and this works perfectly, using the following commands: Code: sudo -i (password raspberry) When I use the list (ls) command, I can see all my media. But whenever I add the following to fStab: Code: //server/share_name /media/your-share user=share_username,pass=share_password 0 0 the list is empty. And when I add "cifs", and reboot the system, the system keeps spinning at the boot screen "loading XMBC" Code: //server/share_name /media/your-share cifs username=share_username,password=share_password,rw,file_mode=0777,dir_mode=0777 0 0 So how can I correctly automount my smb mount commands? |
|||
5th Feb, 2014, 01:35 AM
Post: #2
|
|||
|
|||
RE: fStab automount smb/cifs fails (keeps loading XMBC)
can you post /etc/auto.master.d/auto.xbian ?
(remove password before) Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
5th Feb, 2014, 01:47 AM
Post: #3
|
|||
|
|||
RE: fStab automount smb/cifs fails (keeps loading XMBC)
Hi mk01,
I will do tonight, but just for your information, i have tried this multiple times with a clean installation, only finished the welcome wizzard, so no further configuration has been applied.. [edit] Someone just told me I have to use tabs instead of whitespaces in fstab, can you confirm that, or does that make no difference? |
|||
5th Feb, 2014, 02:12 AM
Post: #4
|
|||
|
|||
RE: fStab automount smb/cifs fails (keeps loading XMBC)
nope )))
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
5th Feb, 2014, 09:43 PM
Post: #5
|
|||
|
|||
RE: fStab automount smb/cifs fails (keeps loading XMBC)
ok, I forgot to check the /etc/auto.master.d/auto.xbian file, but what I did do was install raspbmc and try the exact same fstab lines. And that works perfectly. So I do think there is some bug in the fstab cifs mount in the xbian 1.0 beta 2.
|
|||
5th Feb, 2014, 10:56 PM
Post: #6
|
|||
|
|||
RE: fStab automount smb/cifs fails (keeps loading XMBC)
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Feb, 2014, 07:40 AM
Post: #7
|
|||
|
|||
RE: fStab automount smb/cifs fails (keeps loading XMBC)
@mk01, I have scanned the complete device, but there is no auto.xbian file, there even isn't a auto.master.d folder in the /etc folder.
|
|||
8th Feb, 2014, 07:11 AM
Post: #8
|
|||
|
|||
RE: fStab automount smb/cifs fails (keeps loading XMBC)
Or do I need to install / update certain packages?
[EDIT] Ok, now I am completely lost... Since I couldn't find the /etc/auto.master.d/auto.xbian file, I thought to update the system, both from XMBC Xbian config and from the SSH (started xbian-config as root). But every try, I get the following error: "Errors were encountered while processing: autofs" Please, is there any advice? I really would like to run Xbian, since I still like it a lot! This is all produced from a freshly installed Xbian 1.0 Beta 2 install, without any changes or extra installed packages. |
|||
18th Feb, 2014, 01:04 PM
Post: #9
|
|||
|
|||
RE: fStab automount smb/cifs fails (keeps loading XMBC)
this is very stupid bug in autofs postinst script which without any check loads "autofs" module. but as you are still on kernel not containing this support (it would be installed a few moments later autofs thi way simply blocks the updates / system / everything.
but as you and me are better than autofs package, we will edit your file [b]/var/lib/dpkg/info/autofs.postinst[/0] (for instance with nano Code: sudo nano /var/lib/dpkg/info/autofs.postinst and on third line after "set -e" will write "exit 0". then we save (with CTRL+x) and from console start Code: sudo dpkg --configure -a after that you can continue with updates. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
4th Mar, 2014, 06:58 PM
Post: #10
|
|||
|
|||
RE: fStab automount smb/cifs fails (keeps loading XMBC)
Thnx mk01, but I fixed it in another way, based on comments of other users on the forum, namely as follows:
Goto SSL and update system, till you get the autofs error Reboot Continue update in SSL (xbian-config) This way, the system will get fully updated and still boots ;-) |
|||
18th Mar, 2014, 05:16 AM
Post: #11
|
|||
|
|||
RE: (Solved) fStab automount smb/cifs fails (keeps loading XBMC)
I have the same problem with autofs when upgrading. I tried to edit the autofs.postinst file. But I cannot find it in a newly installed Xbian 1.0 Beta 2.
Should I create that file on my own? I also tried to fix it by upgrading via SSL. But after it runs into the autofs failure Xbian wount start again. |
|||
18th Mar, 2014, 10:37 PM
Post: #12
|
|||
|
|||
RE: (Solved) fStab automount smb/cifs fails (keeps loading XBMC)
Hi Aeious,
Please do the following:
Once the system is fully updated, the system boots correctly and is on RC1. Please check again for your files at that moment. Can you tell me if the upgrading is above way works? |
|||
19th Mar, 2014, 03:55 AM
Post: #13
|
|||
|
|||
RE: (Solved) fStab automount smb/cifs fails (keeps loading XBMC)
It worked perfectly. Now its able to boot again and its on RC1. Thank you.
Only the three python2.7 packages returned an error. |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[PROBLEM] Cifs automount with FStab problem.... | Skywatch | 2 | 7,282 |
7th Apr, 2016 07:17 AM Last Post: Skywatch |
|
XBMC stopped loading, can ssh and start manually | brycestejskal | 2 | 11,305 |
19th Jul, 2013 07:46 AM Last Post: mk01 |