-1

I bought a brand new 3TB external drive for my birthday coming up, It's a WD My Book, it came as NTFS, and I'm trying to make it mount using a simple script on boot. (Not /etc/fstab, I ruined my comp. using that by accident and had to re-install).

I'm instead having a script run in /etc/init.d. The thing is, it's under /dev/sdf and I want it to mount in /exhd, the script seems to run, but it doesn't mount it.

Any help here, please?

8
  • Could you post the contents of the script? Just to make sure you're aware, /dev/sdf refers to the device - partitions on the device will have numbers after them (e.g. /dev/sdf1, /dev/sdf2). It's those numbered devices you need to mount. Jun 9, 2014 at 14:56
  • Can you see the disk in the program 'disks'? Jun 9, 2014 at 14:57
  • try following this
    – 842Mono
    Jun 9, 2014 at 15:47
  • I suspect a permissions error somewhere (mount point or script), does it mount through the commandline? You should really just try using fstab properly help.ubuntu.com/community/InstallingANewHardDrive
    – crasic
    Jun 9, 2014 at 18:31
  • @crasic It appears I was looking in the wrong place, the disk did appear in disks, but I was looking at /dev/sdf, not /dev/sdf1, so the system was trying to mount whatever /dev/sdf is instead of my drive.
    – user245115
    Jun 10, 2014 at 16:06

1 Answer 1

1

Oops, I made a mistake, when I went to the disks partition, I was looking at /dev/sdf, not /dev/sdf1, and since that happened it was trying to mount /dev/sdf instead of my external drive at /dev/sdf1, in other words, I was looking in the wrong place. It works now. My research was found here: http://www.pendrivelinux.com/mounting-a-windows-xp-ntfs-partition-in-linux/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .