Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm freaking out! I was trying to make my drives accessible through Plex Media Server... I was following the commands on this page LINK, but I didn't notice/understand that the tutorial was for a partitioned drive... So while my target HDD was sdb, I was giving commands associated with sbd1...

The Plex Media Server can now see and access all my hard drives, but they're not mounted correctly for use within the Ubuntu OS...

For the past day, I've been trying to fix my mistakes, but have only made things worse... I figured i had entered something incorrectly with the fstab text editor, so I started entering the commands for a different tutorial LINK 2that I thought might help... Except after I had already completed it, I realized that this was to get plex to recognize a WINDOWS partition on an HDD... I'M SUCH A NOOB!

I don't know where to start, so I'll go ahead and give the output of sudo fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x0007f670

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   471801855   235899904   83  Linux
/dev/sda2       471803902   488396799     8296449    5  Extended
/dev/sda5       471803904   488396799     8296448   82  Linux swap / Solaris

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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: 0x47d9be29

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  2930274303  1465136128    7  HPFS/NTFS/exFAT

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


Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 242251 cylinders, total 3907029168 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: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1  4294967295  2147483647+  ee  GPT

And here is what my text editor for /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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=2f16dad8-494b-4cce-b3d6-aead00238b17 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=e881ffcf-37ab-43d1-b1a4-eb00581b7110 none            swap    sw              0       0
 UUID=543E2FD13E2FAB46 /media/data ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0
share|improve this question
    
Do you have a backup? Can still access your files? If so, make an additional backup. Then search this site and run software to restore older partitioning tables. See whether you can track the guy who wrote the tutorial. –  don.joey Dec 15 '13 at 8:01
    
@don.joey: there was no partitioning involved from what we know. Hence restoring partition tables will not help. In fact it will break it all. –  Takkat Dec 15 '13 at 8:37
1  
Please also add the errors you get from what you say "not mounted correctly". The fstab looks good at first glance. –  Takkat Dec 15 '13 at 8:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.