Linux 13 to 13.1 XBMCUBUNTU
#16
(2014-06-15, 15:47)uNiversal Wrote: try sudo nano /etc/fstab and look at the link I gave you https://help.ubuntu.com/community/Automa...Partitions

Editing the fstab is only 1 part.

There are many text editors in Linux, gedit nano,vi, kedit etc etc etc. nano and vi are the most popular.

So you know, this isnt a How do I learn Linux forums, but the intructions/manuals and all how-to Linux is all in the intrewebs.


try sudo nano /etc/fstab is works.

Save the my drive ,with command below

/dev/sda1 ntfs-3g defaults 0 0
ctrl + x then save

then sudo mount -a

Still not working after reboot
Reply
#17
login as: mike

Welcome to Ubuntu 14.04 LTS - XBMCbuntu (GNU/Linux 3.13.0-29-generic x86_64)

* Documentation: https://help.ubuntu.com/

Last login: Sun Jun 15 10:17:29 2014 from 192.168.1.8


Disk /dev/sda: 32.0 GB, 32017047552 bytes
255 heads, 63 sectors/track, 3892 cylinders, total 62533296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000726d6

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 46321663 23159808 83 Linux
/dev/sda2 46323710 62531583 8103937 5 Extended
/dev/sda5 46323712 62531583 8103936 82 Linux swap / Solaris

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xb22a62f6

Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
mike@mike-desktop:~$ findfs LABEL="BLURAY"
/dev/sdb2
mike@mike-desktop:~$ sudo blkid
/dev/sda1: UUID="b7b50eaf-1d4c-4d47-b2e7-0869c9ff6929" TYPE="ext4"
/dev/sda5: UUID="1962a8cf-79cb-423d-a4d8-5a6465a44308" TYPE="swap"
/dev/sdb2: LABEL="BLURAY" UUID="8046BF9446BF8984" TYPE="ntfs"
mike@mike-desktop:~$

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=b7b50eaf-1d4c-4d47-b2e7-0869c9ff6929 / ext4 errors=remoun$
# swap was on /dev/sda5 during installation
UUID=1962a8cf-79cb-423d-a4d8-5a6465a44308 none swap sw $
#MY WINDOWS
#/dev/sdb2 /media/BLU ntfs-3g defaults 0 0
#dev/sdb2 ntfs-3g defaults 0 0





[ Read 14 lines ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
Reply
#18
Well you adding /dev/sda1 that is both wrong and innacurate and already exists.

Your drive is /dev/sdb2.
Reply
#19
(2014-06-15, 16:36)uNiversal Wrote: Well you adding /dev/sda1 that is both wrong and innacurate and already exists.

Your drive is /dev/sdb2.

As you can see I added /dev/sdb2 in sudo nan0 /etc/fstab
Reply
#20
(2014-06-15, 16:22)movie94 Wrote:
(2014-06-15, 15:47)uNiversal Wrote: try sudo nano /etc/fstab and look at the link I gave you https://help.ubuntu.com/community/Automa...Partitions

Editing the fstab is only 1 part.

There are many text editors in Linux, gedit nano,vi, kedit etc etc etc. nano and vi are the most popular.

So you know, this isnt a How do I learn Linux forums, but the intructions/manuals and all how-to Linux is all in the intrewebs.


try sudo nano /etc/fstab is works.

Save the my drive ,with command below

/dev/sda1 ntfs-3g defaults 0 0
ctrl + x then save

then sudo mount -a

Still not working after reboot

(2014-06-15, 16:40)movie94 Wrote:
(2014-06-15, 16:36)uNiversal Wrote: Well you adding /dev/sda1 that is both wrong and innacurate and already exists.

Your drive is /dev/sdb2.

As you can see I added /dev/sdb2 in sudo nan0 /etc/fstab

Unless Im reading this worng you added
Code:
/dev/sda1        ntfs-3g    defaults           0       0

and it should have been
Code:
/dev/sdb2        ntfs    defaults           0       0

but in any case you are missing a mount point so something like

Code:
sudo mkdir /media/BLURAY

then

Code:
/dev/sdb2     /media/BLURAY   ntfs   defaults           0       0
or something. Pay a little more attention to what you are doing. Big Grin

The filesystem is ntfs not ntfs-3g the library is ntfs-3g so mind that also.
Reply
#21
Welcome to Ubuntu 14.04 LTS - XBMCbuntu (GNU/Linux 3.13.0-29-generic x86_64)

* Documentation: https://help.ubuntu.com/

Last login: Sun Jun 15 10:55:00 2014 from 192.168.1.8
mike@mike-desktop:~$ sudo nano /etc/fstab
[sudo] password for mike:
GNU nano 2.2.6 File: /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=b7b50eaf-1d4c-4d47-b2e7-0869c9ff6929 / ext4 errors=remoun$
# swap was on /dev/sda5 during installation
UUID=1962a8cf-79cb-423d-a4d8-5a6465a44308 none swap sw $
#MY WINDOWS
#/dev/sdb2 /media/BLU ntfs-3g defaults 0 0
#dev/sdb2 ntfs-3g defaults 0 0
#/dev/sdb2 /media/BLURAY ntfs-3g defaults 0 0




[ Read 16 lines ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell

Still not auto mounting after rebooting.
Reply
#22
You know what "#" infront of a line means?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#23
Again, ntfs-3g is library not filesystem

Read my last post again at bottom.

Yes # is comment, which mean anything behind a # isnt interpreted by OS so dont remove any or add any # if you dont know what you are doing. OK, this is my last post here, you have exceeded my quota for the next 10 years.
Reply
#24
(2014-06-15, 17:01)fritsch Wrote: You know what "#" infront of a line means?

No

Tell me?
Reply
#25
"#" means:
Please ignore everything after that sign ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#26
Ok I took # off
/dev/sdb2 /media/BLURAY ntfs defaults 0 0

Then sudo mount -a

mike@mike-desktop:~$ sudo mount -a

The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sdb2': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
mike@mike-desktop:~$
Reply
#27
It tells it all. The partition was not umounted cleanly when you used it last time.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#28
On the xbmcubuntu boot-up screen I get

An error occurred while mounting media/BLURAY

Press to Skip or M for manual recovery.
Reply
#29
We are not the Ubuntu help channel, please.

If you want your setup to just work, give www.openelec.tv a chance.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#30
(2014-06-15, 17:33)fritsch Wrote: It tells it all. The partition was not umounted cleanly when you used it last time.

Do I have un mount in putty the remount?
Reply

Logout Mark Read Team Forum Stats Members Help
13 to 13.1 XBMCUBUNTU0