Going nuts, svn r31657
#1
Hi,

Installed xbmc live 9.11 to usb stick

I have mounted 2 ntfs hdd (eg. sda1=movie1 & sdb1=movie2)
and I can see both hdd´s content....

updated to latest svn r31657 & latest nvidia driver 256.35

everything vent fine. But now when I look a my 2 hdd, they show the same
content (eg. sda1=movie1 & sdb1=movie1) ??

Reverting to 9.11 and all is good, again showing both hdd´s content.

Does somebody have a clue what I did wrong, because this cant be a bug, right?

Thanks
Reply
#2
jubaz Wrote:Hi,

Installed xbmc live 9.11 to usb stick

I have mounted 2 ntfs hdd (eg. sda1=movie1 & sdb1=movie2)
and I can see both hdd´s content....

updated to latest svn r31657 & latest nvidia driver 256.35

everything vent fine. But now when I look a my 2 hdd, they show the same
content (eg. sda1=movie1 & sdb1=movie1) ??

Reverting to 9.11 and all is good, again showing both hdd´s content.

Does somebody have a clue what I did wrong, because this cant be a bug, right?

Thanks

I seem to remember there was a change not so long ago in that XBMC now mounts hdds by UUID instead of device name. Seems like a long shot, but maybe your disks have the same UUID?

ls /dev/disk/by-uuid/ -l
Reply
#3
UUID - Universally Unique Identifier

root@XBMCLive:~# ls /dev/disk/by-uuid/ -l
total 0
lrwxrwxrwx 1 root root 10 2010-07-09 11:10 14F6188DB6E84C49 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2010-07-09 11:10 6178C1DB15235EC8 -> ../../sda1
lrwxrwxrwx 1 root root 10 2010-07-09 11:10 74955ce7-ef02-4e29-8e08-e254d0258521 -> ../../sdc5
lrwxrwxrwx 1 root root 10 2010-07-09 11:10 c82cbdfa-b5d2-4d2c-a928-5816d31854aa -> ../../sdc1

each hardware piece is unique, no need to change.
So thats not the problem.... Thanks though..

Tried to check my disks with df:
and you can see that both sda1/sdb1 looks the same, but they are not..... hmm

root@XBMCLive:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdc1 1826268 1272460 461036 74% /
udev 1548204 292 1547912 1% /dev
none 1548204 0 1548204 0% /dev/shm
none 1548204 284 1547920 1% /var/run
none 1548204 0 1548204 0% /var/lock
none 1548204 0 1548204 0% /lib/init/rw
/dev/sda1 976760000 951607508 25152492 98% /media
/dev/sdb1 976760000 951607508 25152492 98% /media

root@XBMCLive:~#
Reply
#4
If you copied your df output right, they both got mounted on the same directory, that's why you're seeing only one content. I don't know what live uses to manage mountpoints, but that's likely the culprit.
Reply
#5
I've seen a few of these posts lately. Try editing your fstab and manually setting your mount points for sda1 and sdb1, then reboot.
Reply
#6
cowfodder Wrote:I've seen a few of these posts lately. Try editing your fstab and manually setting your mount points for sda1 and sdb1, then reboot.

I am a total linux noob here...
would you mind to make an example of how to do that.
I looked at my fstab, and I have no clue....

fstab:

proc /proc proc defaults 0 0
# / was on /dev/sdc1 during installation
UUID=c82cbdfa-b5d2-4d2c-a928-5816d31854aa / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
UUID=74955ce7-ef02-4e29-8e08-e254d0258521 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
Reply
#7
Quote:fstab:

proc /proc proc defaults 0 0
# / was on /dev/sdc1 during installation
UUID=c82cbdfa-b5d2-4d2c-a928-5816d31854aa / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
UUID=74955ce7-ef02-4e29-8e08-e254d0258521 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

Don't look like your drives are listed, you would have to add them.
https://help.ubuntu.com/community/Fstab

Something like this.

Code:
UUID=14F6188DB6E84C49 /media/movie1 ntfs defalt 0 0
You also need to create the directory /media/movie1
Reply
#8
Yeah, what he said.
Reply
#9
Sorry for the late followup, was on weekend.

success though.. Thanks for you help everyone.

I put together what I did, in case someone else is looking for the same.

------------------------------------
# ls /dev/disk/by-uuid/ -l

Shows your UUID of your devices
like example:

14F6188DB6E84C49 -> ../../sdb1
6178C1DB15235EC8 -> ../../sda1

Then:

# sudo mkdir /media/disk1

# sudo mkdir /media/disk2

# sudo nano -b /etc/fstab

Insert below in /etc/fstab:

UUID=14F6188DB6E84C49 /media/disk1 ntfs defalt 0 0

UUID=6178C1DB15235EC8 /media/disk2 ntfs defalt 0 0

save with ctrl X, press Y, Press ENTER

# sudo reboot
-------------------------------------
Reply

Logout Mark Read Team Forum Stats Members Help
Going nuts, svn r316570