Debian Configuration :: External NTFS Drive Not Mounted Writable By Default?
Feb 20, 2010
When I plug in my external USB Hard drive which is formatted as a single NTFS partition, it is recognized and mounted automatically, a nautilus window pops open. Unfortunately it is not writable. The reason is: the partition is mounted "ntfs" (which lacks write support) instead of "ntfs-3g". This is the output of mount after plugging in the drive:
$ mount | grep sdc1
/dev/sdc1 on /media/4EBC5FB82435B0EE type ntfs (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,dmask=0077)
I want this partition to be writable by just plugging it in.
The partition should not have any errors because a) I fsck'ed it windows and b) mounting it manually works:
$ sudo mount -t ntfs-3g /dev/sdc1 /media/disk_/
$ mount | grep sdc1
/dev/sdc1 on /media/disk_ type fuseblk (rw,allow_other,blksize=4096)
$ devkit-disks --mount-fstype ntfs-3g --mount /dev/sdc1
Mounted /org/freedesktop/DeviceKit/Disks/devices/sdc1 at /media/4EBC5FB82435B0EE
$ mount | grep sdc1
/dev/sdc1 on /media/4EBC5FB82435B0EE type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
$ gnome-mount -nbtd /dev/sdc1
$ mount | grep sdc1
/dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
How can I get ntfs drives to be mounted as writable by default, preferrably without having to modify fstab?
View 1 Replies
ADVERTISEMENT
Jul 22, 2010
So I have the strange task of trying to make something like I said above work in Lubuntu 10.04. But every time I do, the share is not accessible because none of the important permissions (other) can be set because its, well, NTFS in linux. And I know of no way to fix it.Is there an easy way, preferably with Nautilus since the person I am setting this up for isn't a computer expert, to setup this share so thats its accessible and writable by other computers on the network?
View 3 Replies
View Related
Feb 1, 2010
I've installed libfuse2 and ntfs-3g. Now when I reboot, the drive shows up in fdisk. In Gnome File system, the folder shows up in /media as /media/Storage. I didn't issue the mount command, it went there automatically. In terminal, I can access Storage and read/write to files on it. BUT, if I double-click the folder in Gnome, I get a brief glimpse of all the folders in Storage, then they disappear and the drive unmounts. The desktop icon goes away, and I can't see it when I issue sudo fdisk -l. I can get it back with a reboot. I've tried an entry in /etc/fstab, but that makes no difference. I didn't find anything specific to address this on this forum or after Googling.
View 4 Replies
View Related
Apr 6, 2010
I have successfully mounted my Win7 volume and my external hard drives NTFS volume as well. However, after modifying the fstab I seem to only be getting the win7 volume to auto-mount. Below is the contents of my fstab. /dev/sdf3 is not mounting. Again, it works no problem if I manually mount it.
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[code]....
View 6 Replies
View Related
Apr 22, 2016
How to run a fsck on a mounted drive? I attempted unmount and it said no. I suddenly got an error 4 and trying to run a check, and it aborts with can't cause mounted.
View 10 Replies
View Related
Dec 16, 2010
I am trying to mount an external USB hard drive. I'm using Debian Lenny 5. I tried to right-click on the hard drive and then select the mount command inside the gnome desktop environment but it gives me an error. Is there an easy way to mount and unmount this hard drive? The hard drive itself is formatted from the factory in NTFS. I'm going to leave it in this file format is a need to use it with Windows machines as well.
View 4 Replies
View Related
Jul 18, 2010
Just installed 11.3 on my computer, however when I connect an external NTFS harddisk I receive an error message. When I open dolphin to connect to an internal NTFS partition I receive the message:
org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org. freedesktop.hal.storage.mount-fixed auth_admin_keep_always <--
Anyone having an idea how I can fix this?
View 9 Replies
View Related
Aug 24, 2015
when I type 'fdisk -l' I get the following:
Device Boot Start End Sectors Size Id Type
/dev/sdb1 16065 584830259 584814195 278.9G f W95 Ext'd (LBA)
/dev/sdb5 16128 584830259 584814132 278.9G 7 HPFS/NTFS/exFAT
I have 2 hard drives both are 278.9GB in a mirror raid 1. Why does 2 partitions show up? Are they referring to each physical hard drive? I want to believe that this is the same partition and not two different physical hard drives since both are in the same 'start' and 'end' range. Is that correct?
View 3 Replies
View Related
Sep 22, 2015
I had a Linux server with Wheezy, I have 2 internal drive, one for linux OS, the other our Video On Demand drive that must be accessible to Windows and online. (That's why I chose NTFS, with our large video files, FAT will not work, and EXT isn't compatible with windows sharing, and I haven't gotten FTP to work right .
So I upgraded to Jessie today, and everything went smoothly until I tried to access my NTFS drive. (Named WowzaStorage)
I used FSTAB to auto-mount the drive (/dev/sdb1) to /media/ntfs/ on boot. All of this worked swimmingly on Wheezy, but since the update, something got mucked up and I cannot figure it out.
When accessing the mounted NTFS folder in /media/ (if it even shows up) gives me a 'Cannot be found' 'Input/Output error'
When in gParted to examine the drive, I can select it and view all the correct info, but I keep getting "error informing the kernel about modifications to partition /dev/sdb1/ --invalid argument"
Now first I thought maybe the NTFS driver was faulty and I removed 'ntfs-3g' and reinstalled it.
Now when I am in Terminal, after i umount and mount sdb1, I can CD to the drive but not the folders on it... Also using the File Browser, I get errors, and missing folders.
I get "Unhandled error message: Error when getting information for file '/media/ntfs': Input/output error"
View 2 Replies
View Related
May 13, 2010
I`m unable to mount my second hard drive I use to store my music and pics and wonder if it is to do with the error "failed to initialise HAL!" which I get every time I start Debian Lenny (AMD64 architecture). I have had this since doing an install (fresh) a few hours ago.
The drive is an ntfs one but when I click its icon in the computer section it says it cannot mount it and gparted says it cannot read the file system.If so how would I get the error box to stop appearing and how do I mount the ntfs drive?
View 2 Replies
View Related
Sep 22, 2015
I'm trying to set up an SSD as a cache to my external HDD (which is where my installation of Debian testing/stretch is installed). My installation is using LVM 2. I'm trying to have the SSD cache the entire external HDD, and not just one of the partitions (such as the root or home partitions).
Here are the relevant outputs.
uname -a: (Yes, I'm using the Debian stable kernel with Debian testing.)
Code: Select all3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux
lsblk:
Code: Select allNAMEÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â MAJ:MIN RMÂ Â SIZE RO TYPEÂ MOUNTPOINT
sda                 8:0  0 149.1G 0 diskÂ
sdb                 8:16  0 111.8G 0 diskÂ
sdc                 8:32  0 298.1G 0 diskÂ
├─sdc1               8:33  0  243M 0 part /boot
└─sdc5               8:37  0 297.8G 0 partÂ
 └─sdb5_crypt          254:0  0 297.8G 0 crypt
  ├─mydebianhostname--vg-root  254:1  0 14.3G 0 lvm  /
  ├─mydebianhostname--vg-swap_1 254:2  0 11.5G 0 lvm  [SWAP]
  └─mydebianhostname--vg-home  254:3  0  267G 0 lvm  /home
sr0Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 11:0Â Â 1Â Â 25MÂ 0 rom
make-bcache -B /dev/sdc:
Code: Select allCan't open dev /dev/sdc: Device or resource busy
Must I "operate" on this drive via a live session or something.
View 0 Replies
View Related
Jan 28, 2009
I am using centOS-5, I have mount NTFS drive by using fuse. But there is no rights and even there is no option on right click to make new directory or to del any file or folder. This is line of fstab for NTFS drive
/dev/sda5/mnt/dntfsdefaults2 2
How can I get full access and control on this NTFS mounted drive.
View 1 Replies
View Related
Aug 15, 2011
When my external USB-HDD with NTFS auto-mounts, the default permissions are set to drwx------ 1 userid users. So only I have read-write but all others have no permissions at all. This is annoying because I have pictures on this drive that I share via an apache web server running as wwwrun. So I wonder how I can change the default permissions to something like rwxr--r-- so that apache can access the pictures?
View 3 Replies
View Related
Jan 23, 2010
The /mnt/ext is mounted to an ext2 filesystem, an external hard drive. For some reason I can't run scripts from there. Please see the session below.
luntain@plato /mnt/ext $ echo "echo success" > k.sh
luntain@plato /mnt/ext $ chmod 777 k.sh
luntain@plato /mnt/ext $ ./k.sh
[code]....
View 2 Replies
View Related
Mar 16, 2011
I administer a remote server via SSH that runs CentOS 5.5. I have been unsuccessful in all my attempts to write to two different external USB hard drives with a single ext3 partition when logged in as root.
When attempting to create a "test" directory I get one of two messages:
Quote:
Both drives *appear* to have filesystem issues. When I run an fsck on either drive, I get:
Quote:
Keep in mind this is a newly-formatted, empty drive.
Not putting stock in the odds that I've had two hard drives (different sizes and brands) with the exact same hardware problem, I'm going to assume this is a software issue, although maybe it isn't. Hence, my post in "Linux - General". I've heard talk elsewhere of controller (chipset) issues coming into play. Is this valid?
Okay, here's the information you'll need to make a diagnosis....
Here's the output of a "df -h" command:
Quote:
Here's the contents of my /etc/fstab:
Quote:
Here's the output of "cat /etc/mtab":
Quote:
Here's the output of a mount command:
Quote:
Here's the output of fdisk on the device in question:
Quote:
The number of cylinders for this disk is set to 48641.
There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
I've got someone with access to the box if necessary. But it might take days to implement solutions since this isn't his full-time job. Remote solutions are, therefore, preferable.
View 13 Replies
View Related
Oct 8, 2010
I've carelessly installed grub on hda5 instead of hda, using:
# grub-install /dev/hda5
And now my hda5 cannot be mounted with ntfs-3g. Here the error message 'mount' gives:
Failed to mount '/dev/hda5': Invalid argument
The device '/dev/hda5' doesn't seem to have a valid NTFS.
As far as I know, grub-install rewrites the 1st sector of the device, and I've been reading this guide on recover the 1st sector of an NTFS partition. The problem is that the Disk Probe tool is available in Windows only. Is there any similar software in Debian to do the same thing (i.e allows us to edit sectors of the hard drives available in the computer)? Any easier tool / method to restore the NTFS partition without read and write sectors manually.
View 4 Replies
View Related
Jun 5, 2010
[openSUSE 11.1, kernel 2.6.27.45-0.1-Default, Gnome 2.26.3] I have a problem where I have an external USB drive which mounts at boot, with /home aboard it along with several data-only partitions, and if I try to add another USB drive *after* boot, the system changes the device IDs previously given to the original drive. The already running sdb now becomes sdc. If a user or processes are attached to /home when this occurs they are left in the twilight zone and stuff starts crashing. An added weirdness is the newly added drive isn't stealing the sdb ID, the added drive becomes sdd instead, and nothing at all is left at the sdb ID.
Note:
- System boots from sda, a non-USB drive with the system as well as /swap onboard, that should be uninvolved with the problem.
- Among the 4 partitions of the boot-mounted USB drive there are 2 lux-encrypted partitions (ext3). One is /home (originally encrypted under 10.3 and added back after machine upgraded to 11.1) and another being a data directory (later encrypted under 11.1).
- The problem _may_ occur only when the additional added drive is also lux-encrypted, but this may or may not be always true as I have limited other USB stuff to test with, most of it is also lux-encrypted.
View 1 Replies
View Related
Aug 12, 2010
Hard drive is connected to my Inspiron 1525 via USB, plugged in and I'm not seeing the new drive mounted. Restart doesn't fix things and manually trying to mount /dev/sdb1 doesn't work either. The drive I got is preformatted as NTFS and I've been using a logical partition formatted as NTFS as a sort of share drive between my Windows partition and Ubuntu partition, so I know I have NTFS set up properly. This is the hard drive I'm working with for reference.
View 3 Replies
View Related
Oct 25, 2010
I have a Seagate FreeAgent XTreme 500gb external hard drive that I'd like to partition and install another OS on. It is currently NTFS formatted, and has around 80 gb of data that I don't want to wipe. In GParted, there's a next to the partition name, and when I select "Resize/Move partition", the dialog box pops up but doesn't let me make any changes. When I view "Information" on the volume, I see the errors shown in the attached screen cap. When I select "Check", it starts to check the disk and shows an error, but before I can see what it is, the computer becomes unuseably slow and I have to reboot. In Disk Utility, it says the drive is healthy, and passes all tests.
View 7 Replies
View Related
Jan 3, 2009
How to get a NTFS external drive to mount in Ubuntu.
View 9 Replies
View Related
May 6, 2011
I have WD external 1TB USB 3.0 drive that I want to attach to a RHEL 5 computer. I don't want to format it to a FAT32 as I'm copyong over about 530GB of data. What is the easy to get the RHEL OS to recognize this drive? NTFS is not loaded on this system as I already checked.
View 3 Replies
View Related
Feb 27, 2010
I have an external drive which is parted into two partitions:
1) ext4, with filesystem ext4 which I use for backup
2) NTFS with filesystem NTFS
Since I re-installed jaunty the NTFS partition is owned by root. Whatever I do to make it change, it doesn't work. I used:
sudo chown jan:jan NTFS
sudo chown -R jan:jan NTFS
Still it says the owner is root and also the group is root. What else do I need to do to make me owner of this partition? The fileproperties say: drwxrwxrwx Still the partition is read only for me. In ntfs-config it says: "Enable write support for external drive"
View 1 Replies
View Related
Jul 12, 2010
I'm using an external hard drive formatted to NTFS to keep my projects on. I edit projects from both Ubuntu and Windows XP.
After editing some files in a couple of folders on the drive I have now noticed that any Ubuntu machine I plug the drive into can see the entire contents of the drive, but now, I have 4 folders that do not appear in Windows XP. I have plugged the drive backwards and forwards between three machines now (one of them dual boot) and Ubuntu definitely finds the folders and Windows definitely doesn't. This has only happened one Ubuntu has edited files, though some of the files and folders that have been edited are still visible in XP.
I presume something went wrong whilst writing file tables or whatever they are called these days. Does anybody know how I can get the folders visible in XP again? Do I need to run something in Ubuntu or in XP to 'rescan' the drive?
View 3 Replies
View Related
Mar 25, 2011
I have been trying to use fstab, writing a script in /etc/init.d to mount my external ntfs usb drive. I have had absolutely no luck and I have tried just about every solution I could find on the web except for writing a udev rule which I have never done so I am not exactly sure how.
My solution for the interim is to put the mount command in the rc.local file. That works, but I don't understand why I can use fstab to mount it. Putting it in the fstab gives me errors like "unknown file system" or just "An error occurred during mounting of drive" and then the booting stops. I tried using both ntfs and ntfs-3g.
View 5 Replies
View Related
Apr 18, 2011
I've been searching for a way to do this with no luck. I've got a 1TB external hard drive I used to share over the network from my Windows desktop -- which is now a Ubuntu desktop.I've tried setting it up as a samba share, and the closest I've gotten is mount error(12): Cannot allocate memory. I've tried the suggestions (editing /etc/security/limits.conf), and that removed the warning I got from testparms but didn't fix the mounting on my mythtv box.
View 1 Replies
View Related
Feb 15, 2011
I have an Ubuntu 10.04 box that accesses NTFS drives along with ext4. Recently, I switched from ntfs-3g to Paragon NTFS driver, which is proprietary, but free of charge. It feels quite faster on my internal drives. Now I have a problem with external eSATA NTFS drive. When it is detected, I mount it via Nautilus GUI, but it gets mounted with the ntfs-3g driver. (It can be mounted via command line with the Paragon driver, but this is less convenient. How can I configure my system (is it Gnome or some system-wide configuration ?) to mount all NTFS drives with the Paragon driver?
View 2 Replies
View Related
Aug 11, 2010
I've been using it for a couple of years, it has been mounted various ways and into various places, for the past year under Suse 11.2
Suddenly I discover that it's not accessible in Windows anymore. Drive gets an assigned letter but can't be opened. Tried on Windows 7 and Windows Xp.
This is the current fstab line:
/dev/disk/by-id/usb-Seagate_FreeAgentDesktop_3QK0A0N7-0:0-part1/home/stan/Seagatentfs-3gdefaults,locale=en_US.UTF-800
Drive is owned by the root but permissions are set for everybody.
This is ls -l line for it's mount point
drwxrwxrwx 1 root root 8192 2010-07-16 21:48 Seagate
Another weird thing about it is that if I try to copy a folder into it Dolphin gives me "can't create directory" error and then hangs. If I restart Dolpin I see that the folder has been created just fine and I can copy anything into this new folder without any problems, including creating any sub-folders.
That weirdness doesn't exist if I run Dolphin as a superuser.
I would create a separate thread for this issue if there's no connection.
For now I believe something screwed up the part where Windows reads what file system it is.
Is there a way to "unscrew" it and make sure that NTFS looks ok to Windows, too?
Backing up 750 GB drive and reformatting it is not an option in the near future and I occasionally need to take the drive and plug it into friends' Windows.
View 5 Replies
View Related
May 26, 2010
I have an external USB hard drive at /dev/sdb1 (NTFS)
2 users: johnny, audio
for some reason this drive is mounted at /media/TREKSTOR_ with johnny as the owner. I can't seem to chown the drive to audio. If I unmount the device, and remount it, the owner is set to johnny again. I need to access this drive from the audio account.It's a 1TB drive, so I wouldn't be able to reformat it to EXT3 easily as it's almost 60% full.
View 1 Replies
View Related
Jun 21, 2011
I'm having problems mounting my NTFS external hard drive .
dmseg :
Code:
1.padlock: VIA PadLock Hash Engine not detected.
2.PPP MPPE Compression module registered
3.PPP BSD Compression module registered
4.PPP Deflate Compression module registered
5.npviewer.bin[5405]: segfault at ff99cd48 ip ff99cd48 sp bfc8afac error 4
6.usb 4-2: new high speed USB device using ehci_hcd and address 5
[code].....
View 2 Replies
View Related
Apr 10, 2011
my external HDD of 750GB bring me an error during mounting!it asks me to get to windows and reboot twice or cmd chkdsk/f of which when i do it only option comes is to format it, i do not wanna format it coz it's with a lot of ma useful data!am using debian just asking if its possible to retrieve ma data from it using commands persay and what are those
View 2 Replies
View Related