Ubuntu :: Trying To Mount Ntfs Partitions At Start
Mar 19, 2010
i want to mount at kubuntu startup some ntfs drives now, i have, on dolphin, to click the ntfs partitions to mount them and after doing that, this lines are included on /etc/mtab
but when i add that lines to /etc/fstab and reboot, i can't access the ntfs drives. dolphin says than only "root" can mount /dev/sda1 on /media/WD10EADS (for example) i tried this too:
I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.
1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?
2) If not, is there a tool i.e. GUI to set the mount permissions?
On my laptop I have Windows and Ubuntu, and I use Ubuntu very often. How can I auto-mount the NTFS partitions once I run my Ubuntu without the need to manually ask to mount it and confirm with the root password each time and for each partition?
I have U1004 dual boot with MSW7 and sometimes want to mount those NTFS partitions for mostly reading operations. Ubuntu makes it easy by a single click in Nautilus. How to change this behavior and allow mount NTFS partitions with user's password only, like sudo behavior, for example? In addition, how to mount them read-only?
Note: I mount those NTFS partitions occasionally and there is nothing in fstab about it.
Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.
a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.
b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?
c) Which options should I use?
d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).
I first noted a few weeks ago I couldn't mount my NTFS partitions using dolphin. At the time I was having problems with windows, so I thought - naturally, they are marked as dirty, no biggie-
However, I still can't mount them and I know they are clean. I get the error: "filesystem is neither well know nor in /proc/filesystem nor in /etc/filesystems" which is strange since I can mount just fine in the console using mount -t ntfs-3g.
Nautilus mounts NTFS partitions when I acces them, and before mounting, it asks for root password. Is there a method to auto-mount ntfs partitions on Debian startup, without requiring root password each time they are automatically mounted ? And without installing additional packages.
I used to be able to mount my external hard drive's ntfs partition by simply clicking on it, but now I can't anymore... I know that the last time I've used it with windoze, I had to force shut the **** thing down 'cause it was frozen real good (pretty unusual right !?!).The thing is, with ubuntu it sees it and mounts it no problem.
I Just Recently Installed OpenSUSE with GNOME Desktop and was surprised to know that none of my NTFS Partiitions were mounted to the Linux File System. Earlier I had Installed Open SUSE with KDE Desktop and there were no problems, everything was readily mounted and i could access the NTFS Partitions. I am a Total Newbie To Linux. Give Me The Syntax To Mount The NTFS Partitions in Following Partition Table Acquired with fdisk :
Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Is there a way I can mount NTFS and VFAT partitions and make them case-insensitive? Somehow I installed Linux this time around and it's all case sensitive. Argh.
Can mount.ntfs and mount.ntfs-3g reside simultaneously?
Whilst accessing an external NTFS drive mount.ntfs takes up a lot of CPU. I am not sure if its mounting the drive using mount.ntfs or mount.ntfs-3g? How do I find out and if they coexist how do I make the default mount drive ntfs-3g?
I am doing major deployment of opensuse 313 pcs from windows to opensuse. I am having a problem that I have to keep 2 ntfs partitions intact will deleting the partition that has windows. Now everything goes well, opensuse installs but the problem is that I cannot give user full rights to ntfs folders. I have used graphical file permission methods n terminal chown n chmod methos but still permissions revert back to root.
First of all: it's been more than 12 years ago since I worked with Linux, and a lot has changed in the meantime. But I considered it a challenge to install Ubuntu 9.10 and lateron upgraded to 10.04 LTS without any troubles, until now:
Except my main partition ("/") all other partitions fail to mount. All NTFS partitions from my other OS and also 2 other linux ext4 partitions I've made are not accessible anymore. and, what bothers me the most: I deleted those 2 new linux partitions in the meantime because I couldn't access them initially because Root was the owner (Duh! root is standard disabled in Ubuntu, right?). After an attempt to try to automount all partitions following the help guides I got now big grey errors on my splashscreen while booting, telling that an error occured with e.g. /media/Backup because it is missing or it cannot be mounted, with 3 options below: waiting, skipping or using a command prompt to solve this. I always choose Skip for safety.
Now if I want to see the content of all my other partitions I got a popup telling me unable to mount e.g. /media/Downloads and the message included:
actually some my windows ntfs partiitions are unable to mount at start up. the error msg is -'some of your partitions are unable to mount press 's' to skip or 'm' to manually mount.
Storage information: 1st primary:SG 160G ATA 100 1st secondary:WD 160 ATA 133 SATA:WD 1000 2nd primary:DVD 2nd secondary:DVD±RW
Winxp in 1st primary.I did a fresh install of lenny on 1st secondary.
info about lenny setup: 1.Partition list:/boot,/,/home,swap 2.Every partition is XFS except swap.
At the end of installion,lenny installed grub on (hd0) that is 1st primary.
Everything seems OK.Lenny runs OK.
But when I switch back to windows xp,the diskmgmt can not detect hdd's info and the system meets a problem of shutting down.
After many times of trying. I solved the problem by the following way. 1.Boot with windows xp's install CD and use fixmbr on (hd0). 2.Boot with lenny's install DVD , do a grub>root (1,0)>setup (hd1) After that,edit /boot/grub/menu.lst and change (hd0,0) to (hd1,0) and also (hd1,0) to (hd0,0). 3.Reboot and Press F8 for a boot menu then I can select which disk to boot. windows boot from 1st primary's mbr,lenny boot from lenny's grub.
The problem is caused by a bug between GRUB and windows' mbr and maybe more about GRUB and XFS.
I am using jaunty. I have it installed in a 80 GB ext3 HDD. (This is sdb) I have another 500 GB. Its NTFS. (This is sda) It has 3 partitions. Download, Movies, Dump. They are probably sda1, sda2 and sda3 respectively. Few days ago when I was using intrepid, all three partitions were showing in the Places menu. But I was being able to mount Movies and Dump. Not the Download one. It was continuously saying 'unable to mount'. Now, after fresh installation of jaunty (not upgraded from intrepid) only Download partition is showing in the Places menu. There is no option for the other two partitions.
I am having a dual boot setup with Lucid Lynx and Windows 7. I want to automatically mount the NTFS partitions whenever I login to Lucid. I am looking for a graphical tool to set this up. Kindly suggest one.
How can I hide NTFS partitions so that can't be mounted?I noticed when I'm working on Ubuntu that I can delete files on my Windows NTFS partition, I think that's a risk
I was running Windows XP SP3 when one of my drives (or partitions) suddenly wasn't accessible. I booted into an old ubuntu Live CD I had (version 8.X) and tried mounting it. I could see the other partitions at this time. I rebooted the machine a couple of times (for normal reasons) and after a particular reboot none of my partitions were present! All seemed to have gone! I didn't do anything except mount the partition from Ubuntu Live CD. Made no write operations .
fdisk -l gives me this:
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
to list the files and I get:
Code:
Can't open filesystem. Filesystem seems damaged.
I originally had 6 partitions (including my primary). What do I make of the above screen and how do I proceed? Mot of testdisk documentation says "Choose the paritions to recover..." but I do not have a partition. What do I do to recover my data? I don't mind reformatting my entire HDD, but I need to get some jpegs and movie files off it first.
I still have to dual boot with Windows (for now!) but having the various NTFS partitions show up in Nautilaus, etc. is a problem.Also I would like to share some data between Win7 and Ubuntu 9.10 but I cannot create any more partitions due to well know limitations. In my case I already have 3 primary Windows partitions that I want to keep and 1 primary Linux with ext4 and swap as logicals for Ubuntu. BTW my laptop had all 4 primaries used up an I got rid 1 for Ubuntu. I could get rid of more but really do not want to now.
I found many great ideas and suggestions here in the forums but could not find exactly what I was looking for so I cobbled together a couple of I ideas and I think I have a working solution.First to hide a Windows partition and protect it this works great when you add this line to fstab:
Of course change your partition to the correct one and make sure the /Windows directories are created.I have used this many times and it works great except I want to have access to 1 or 2 directories without exposing the whole drive.I turned to symbolic links to help solve but when sda2 is "hidden" with the above there is a rights problem for my normal user. I could probably solve it with umask somehow but I just did this instead:
I found this allows me to access the directory but it is still hidden from Nautilaus. I am guessing it is because it is mounted in a location it does not normally look in.After this I created a symbolic link to the directories I want access like this:
Quote:
ln -s /Windows/sda2/Temp /home/myuser/windir
Note I did not use sudo here because that was causing me rights problems at one time. This is permanent until you rm the windir file since symbolic links are just special files.
So now I can access windir in my home directory on the NTFS partition without me accidentally messing up my other Windows system files. If I try hard I can mess it up but this provides just enough protection for me. I can also drag the link to my desktop or the Naultilaus left nav pane and it acts like a regular directory.I sure there are a 100 ways to achieve what I wanted to do but thought I would share this method since it took me a while to figure it out.
I'm using two NTFS formatted partitions. One is internal and holds all my data. The other is on an external hard disk and is where I back up all my data to. What I'd like to do is copy all my files from the data partition to the backup partition and preserve all the windows' timestamps (including the file creation dates).How hard can this be? Well it appears that in the case of Ubuntu the answer is very hard indeed.I'm aware that Linux does not support the concept of a file creation date natively. However, according to the ntfs-3g website, all of the windows' timestamps (including the creation date) are mapped on to the system.ntfs_times extended attribute (link). So if you preserve the extended attributes when making a copy then, in theory at least, the timestamps should also be preserved.
I read on another forum that a file's timestamps will be listed (albeit in an unreadable hex format) if you run the following command:getfattr -h -e hex -n system.ntfs_times <filename>Unfortunately however, I just cannot get it to work. With every file I've tried I simply get a message saying "no such attribute".
On my system I have two internal SATA Disk drives, the first one is 120GB and the second one 360GB.
120GB Disk: 1st partition: NTFS (22GB), Windows XP is installed, for playing my games. 2nd partition: NTFS (62GB), The "GAMES" partition, where all the games are installed 3rd partition: EXT4 (25GB), Ubuntu Karmic 4th partition: SWAP space
The 320GB disk is a single NTFS partition, where all my data/files are stored. A couple of days ago I used GPARTED to shrink the 320GB partition and create a new 2GB FAT32 one at the end of it. (Never had any problem before using GPARTED for any filesystem). I put in there some old dos games and rebooted to windows. Then I formatted a diskette as MS-DOS startup disk. I rebooted the computer again and and booted from the FreeDOS LiveCD. After playing for a while I tried the MS-DOS disk, to see if it performed better.
Now Windows XP does not recognize the DATA and GAMES partitions, buts recognizes the fat32 one. In ubuntu they work, but when I try to fix them, it says "run chkdsk". Windows does not recognize them so I cannot do this. I tried to restore Windows XP from a Norton Ghost Backup image file, but its LiveCD does not recognize these partitions either (norton ghost 12 uses vista to boot the live cd).
I formatted with mkfs.nts a USB 500 GB external drive. Under Linux when I connect it to the USB port it's recognized and works. Under windowz 7 home is's seen in the device list but not in the computer window. I can't do anything with it apart eject it. This is what I get from fdisk:sudo fdisk /dev/sdcThe number of cylinders for this disk is set to 60801.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):
and this from fdisk -ls /dev/sdc: gt[~]$ sudo fdisk -ls /dev/sdc Disk /dev/sdc: 500.1 GB, 500107862016 bytes
i installed win7 ultimate on a 2TB HD and was hoping to dual-boot it with meerkat, i did a standard install and shrunk the partition using win7 disk management to leave 500GB for ubuntu.problem is ubuntu can't detect the existing win7 install, when selecting advanced setup it just shows one big unallocated partition.
i went back into win7 and extended the partition again, then booted into ubuntu live cd to see if maybe gparted would do the trick. gparted also cannot detect the existing win7 install and just displays unallocated 1.82TB.in terminal if i do 'sudo parted /dev/sda print' i get this message:
Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table.However, it does not have a valid fake msdos partition table, as it should.Perhaps it was corrupted -- possibly by a program that doesn't understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table? Yes/No? ^C
I am wanting to install the 10.04 lamp server on a winxp pro machine with several hard drives all with ntfs. Will the lamp server be able to use the ntfs partitions ? Or do i need to change them over.There is several hundred gigs of data on the hard drives and i do not relish the job of converting them.Also can you just mount the ntfs shares that are on the windows machine with the ubuntu machine using a intranet type setup
I recently got a new laptop and I'm trying to figure out how to divide up its partitions. I was thinking that I would install Ubuntu on a relatively small partition and store all of my files on the NTFS parition, linking them back to Ubuntu.
What's a comfortable size for an Ubuntu parition?
Also, I've tested 64-bit Ubuntu and it doesn't seem to have any major problems. Though I might upgrade, I only have 4 GB of ram right now. Should I install 64- or 32- bit?