I have dual-boot XP/Karmic.I have an external HDD for backup. One partition is NTFS for the XP stuff. The second partition is ext4.I was practicing with the SystemRestoreCD, which provides a Linux root console.I can create and delete directories on the ext4 partition, but not on the NTFS partition. The error message says "read-only file system".I tried to use chmod and chown to change permissions and owner.I assumed that as root, I could do anything.How can I access the NTFS partition, and do anything that I need to do?All my current XP stuff on the HDD was backed up from within XP, using standard software (Cobian Backup), and normal user privileges. But I want to practice for when my XP OS is damaged.
I recently formated my harddrive and instead of theld fat32 partition for windows partition I used ntfs. I am mounting this partition in /media/windows in debian linux. But it shows a cross (x) symbol above the folder and says I don't have the permission to access it. the permission on the folder is (drwx_ _ _ _ _ _ ) and it is owned by root. So I changed it to my user name -- sid by doing the followingsudo chown -R sid:sid /media/windowsHere are my questions1) Now it allows me to access the folders but all the files like pdf or photos have a cross on right top corner and it says access denied. Is this because of ntfs since with fat32 I didn't have this problem.
2) Also I have a /data (ext4) partiton which is a common partition for datafiles between Ubuntu and Debian. It has the permission -- drwxr_xr_x . I am trying to write to this partition and save files but it doesnot allow me to do it. do I have to make chmod 777 to do that?3) How do I make sure that both windows and /data partition are writable right from the beginning at the boot time.
I have a partition on my hard drive that i use for documents. In 9.10 i would just click on places, and then on the partition name. It would ask for my password and i would be able to access the files. I just upgraded to 10.04 and first off i do not see the partition at all. I navigated to filesystem>media and found my partition but i has a gray X on it. I did gksu nautilus and when i access the folder, there is nothing inside.
I tried to search around for a way to access my windows partition from within Linux. I was unable to mount the same using "mount" command. I read of a tool "ntfs-config" as well, this too didn't work for me.
Please share if anyone out there has an idea on how we can access the windows partition (NTFS) from within Ubuntu 10.10 Maverick.
I was trying to resize a NTFS partition using GParted and trying to enlarge it using some unallocated space (about 400 or 500 MB unallocated space) but something went wrong and now I am unable to access the NTFS partition. The unallocated space is still there.The error details are reported at the bottom of this mail, plus the content of fstab and mtab.Do you have any idea on what caused the error and how to recover the partition?
Sometimes Linux just make you want to throw the PC out of the window, and get a new one with WINDOWS on it...Having only just "got" the idea that there are a nunber of ways of issuing chmod, I now find that there is yet another when in the fstab file. It is an easygoogle to find out a workaround to make this drive RW, but doing that way one does not learn what is actually happening.how do I find out UID and GID? fmask and dmask, how do I find out what the current settings mean, and what they should be to allow RW access for various groups/users or for everyone?
I was attempting to format a flash drive, and well, used the wrong sdX device. I've run DiskInternals Partition Recovery tool, and all my files are still there (you have to pay $139 to have it restore the files). Is there any way using tools in linux to restore the ntfs partition/files? It was a single disk with the partition taking the entire drive. I've tried mounting it with the -t option, but it says invalid ntfs signature. Man, two lessons the hard way, make sure you backup (duh) and be careful what you type as root.
I have installed Ubuntu 11.04 64 bit desktop version on ext4 partition without swap. I have maximus iv extreme motherboard with 8 Gbytes RAM. Using 3 internal ntfs formatted hard drives and 3 external ntfs usb 2.0 hard drives.When I am trying to copy or move files FROM or TO any ntfs partiton it is 90 percent chance it is going to freeze.For copy/moving files I am using krusader run as ROOT or as user without root privilege or Nautilus as user without root privilege. It wasn't possible to switch to another terminal - it simply does not react on keyboard or mouse input and only hard reset is possible (scares me because of ntfs disks)From this point of view I have suspicious on ntfs driver but:I am completely beginner in linux and I am looking for help to navigate me how to investigate to find what is causing the problem eventually to solve it?
According to my experience it seems to does not matter if hard disk is internal or external connected through SATA II or SATA III or USB 2.0. I have tried to manipulate with ntfspartitions through the vmware or virualbox or truecrypt software or just do a simplecopy/move files - it have has always the same results - freeze. There is not possible to say how long it is going to work properly and when it is going to freeze - sometimes it's working hour, sometimes it's working couple of seconds - no matter if it is read or write operation/s within ntfs partition.
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.
I am trying to restore an NTFS partition from a backup and I need the new drive to have the old (dead) drive's UUID (which I recorded).I really really really cannot use the option of changing fstab to mount using a new UUID, for this case I need the old UUID that existed on the other drive.Is there some ntfs equivalent of tune2fs that'll let me change the UUID on an ntfs partition?
On my computer on the first disk /dev/sda was installed win2k system bootable with native win2k bootloader. I created imges of that partition using Ghost4linux na Clonezilla. Images were placed on the second computer using sshfs. For all this tasks i used PartedImage LiveCD.
I removed old partition and created a new ntfs partition on the same disk. When I used GParted or native Win2k partitioner the partition I get was smaller: the difference is a few bytes. Finally I used the Linux fdisk. Now the size was OK, but after restoration win2k was unbootable: I tried to recover the win2k but it was even impossible to locate a system on the partition. So I tried to move all the partition at the very beginning of the disk. Now at least I was able to mount (under Linux) the partition. But again win2k was unbootable and unrecoverable.
It seems for me that the partition is missplaced. According to Ghost4Linux the partition begins with an offset 0x56. I suspect that it should be rather 0x80.
ntfs-3g /dev/sdb1 /media/sdd7 ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument Record 6 has no FILE magic (0x0) Failed to open inode FILE_Bitmap: Input/output error Failed to mount '/dev/sdb1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.
I recently tried to make a backup of an ntfs partition using dd.For example.. "sudo dd if=/dev/sda2 of=/dev/sda1" which made a copy of one partition to another, not realizing that it would wipe the ntfs filesystem and image across the linux partition. Is there anyway i can undo this to get back all the data which was on the ntfs drive? Cfdisk still sees the partition as NTFS. Have also tried photorec to try to retrieve the data but to no avail.
I need to resize a NTFS partition in a disk for which I have an image (dumped with dd).
I mounted it through the loop device on linux:
# losetup -o 32256 /dev/loop0 disk.img # I got the offset from looking at fdisk's output # mount /tmp/t /dev/loop0 # ls /tmp/t [content of NTFS partition shows correctly] # umount /tmp/t # gparted /dev/loop0
gparted shows me the disk correctly; it just contains one large NTFS partition I want to shrink.
I have it had it running for one hour now.
Question: will this work? There is lots of disk access but the timestamp and size of the underlying file disk.img remain unchanged.
There was a Toshiba Satellite notebook with XP I decided to install Fedora 13 in dual boot mode.So, I booted with Gparted and shrunk the ndows XP partition to just 24 GB.Then I set up partitions for Linux this way/boot, ext4 256 MB/, ext4 16 GB/home, ntfs 176 GBswap, 8 GBI intentionally left about 8 GB left just in caseThen I proceeded to install Fedora 13.I used the customized mode to use the already set up partitions and keep Windows XP.At the moment of setting the mounting points, fine with /boot, / and swap. But Anaconda wouldn't accept mounting point for /home.I went on anyway.Fedora got set up and run moothly.However, /home resided in / with only 10 GB left.And the /home partition could be seen as a separate disk with its 176 GB.This is /etc/fstab:
# # /etc/fstab # Created by anaconda on Sun Sep 5 05:46:26 2010
My largest partition is currently NTFS, which I thought I could use as my Linux home directory. But when mounted to /home, "useradd -m" refuses to add new user directories. So I want to keep 10GB of that partition for Win/Linux documents and such, and use the other 42 GB for Linux users.
My question is rather easy for most of you: using cfdisk, can I just delete that partition, add two new partitions, then write the table to disk? Right now there's no data on that partition but writing the partition table seems risky--I don't want to mess with any of the other partitions (even though I can just reinstall Linux).
I dual boot, in the process of installing Windows 7 & Fedora 13 on a new drive. Back in the day when it was risky for the newbie to read/write NTFS, I created a "shared" FAT32 partition. Even though the later Fedoras could read/write NTFS fresh out of the box, I have kept the "shared" partition for my important files (email, documents, digital camera pics).
Now that I'm installing Win7 and Fedora 13 on a new hard drive and I'm partitioning my disk, I'm scratching my head trying to decide how I should format this partition. I was considering the FAT32 again, but I'd like 50GB, not just 32. At the same time, I'm thinking of making the size sacrifice because, and maybe this is just carryover from the olden days and groundless, I have an irrational worry about using NTFS for my most important files.Maybe someone could assuage my fears. Is it just as safe, at this point, for files to be on a NTFS partition and run under Fedora as they are under FAT32?