Ubuntu :: Unable To Access NTFS Partition After Resizing With GParted
May 8, 2010
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?
First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.
I already post this question in XenServer forum (with screenshot) but nobody answer there.The hardware itself is HP Proliant ML350 G6 with internal SD slot.
I removed an ntfs partition I had in my HD and then resized my home partition with gparted to occupy all the available space. The resulting partition is supposed to be 129GB, and gparted/partition magic see that size. But the system does not, and all tools report the old partition size and the same free space I had before resizing.
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 am not been able to re size the partition. Can anyone please help. I tried to re size and install ubuntu 10.04 on two machines but it did not work. Details are HP mini ( windows xp pre installed with new ntfs partition). Lenovo thinkpad ( windows vista pre installed).Is new windows partition is non - re sizable?
I'm trying to resize an NTFS partition on an IBM MT7977 Server. It has a Adaptec AIC-9580W RAID controller. I was thinking about doing it with a gparted LiveCD/LiveUSB, but then I realised that they won't have drivers for the RAID controller. A quick google for "9580W Linux" doesn't return anything promising.
Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have
Windows XP Mint Ubuntu-Studio Edubuntu One of the E17 OSs Puppy Linux (to create a remix)
I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.
So, my GParted (Ubuntu) won't create an NTFS partition (the option is greyed out). I'm trying to create an NTFS partition to allow for a Windows 7/Ubuntu dual-boot. Everywhere I check, they suggest either creating the NTFS partition in GParted BEFORE installing Windows OR leaving it "unallocated" with the Linux partition after it.
I have tried both now, with two results:
1) GParted can't create an NTFS partition within Ubuntu 9.10.
2) On the other hand, the Windows 7 Installer says that Windows can not create a partition or find a partition when I attempt to select the "unallocated" portion.
When I run out of space on my Ubuntu partition, which will probably happen with me being the untidy person I am, is there a way to resize the partition in Windows or Ubuntu that will allow the other to boot? As I've heard stories of using Gparted to resize a Windows partition doesn't allow Windows Vista to boot up as it removes a crucial part of the operating system? I have adequate space to give to Ubuntu on my NTFS partition. May I also add that to install Ubuntu I had to use the partitioner that came with the installer, because the Windows Disk Manager wouldn't let me partition the NTFS drive, because it Denied my Access.
So I currently have an issue with the 10.10 (64-bit) installer in that it does not recognized the Crucial SSD drive I have installed on my box correctly (long story and ultimately a separate topic but if anyone is interested). Initially I thought it was an issue with the hardware and RMA'd the drive however now realize that the likely culprit is the Ubuntu installer itself.
In order to test the rest of the hardware while waiting for the RMA'd drive I installed Ubuntu on a separate partition on the box and thus have a working secondary partition that I can boot from. From within Ubuntu it seems I am able to access/format the SSD correctly (using gparted); it seems that it is only the installer that cannot handle the drive...
Is there a way that I can install Ubuntu on a second partition from within Ubuntu itself?
I recently got new hard drives for more space and copied all my old drives onto this one (everything mirrored, no problems)The thing is, when I first setup my Ubuntu, I only allotted like 20GB because of space.Now that I have new hard drives, I wanted to give it more space, roughly double it to 50gb.The problem is, I am unable to resize it.I have booted into the Ubuntu Live CD, and started Gparted. I see all my stuff there, including the unallocated space next to my ubuntu partition (I left it so i could fill it when I expanded the partition)
The problem is, I am unable to make it larger. I right click, click on resize/move, but when I do, it just shows that I'm at my maximum size for that partition, I can only shrink it.so my question is, how in the world can I extend that partition into the unallocated space?I've tried formatting the unallocated space to ext3 to try and merge it, no success.I tried moving my ubuntu partition all the way to the right (end of the disk) so maybe I could extend it to the left, nothing
Unable to resize fedora 12 lvm parition with gparted. Need to resize to make room for ubuntu linux on same drive. When the fedora lvm parition is selected gparted says "No lvm support at this time". I am using gparted through the pmagic (partedmagic) linux boot disk. I have almost the lastest pmagic (5.7) there is a pmagic 5.8 on source forge.
I want to resize and eventually remove some partitions on my drive but I need to know how this will affect grub and what to do if I need to fix it.I currently have 3 standard partitions and 1 extended partition on a 160Gb drive.
1st Partition -Windows XP about 60Gb with about 35Gb used. NTFS
2nd Partition -Ubuntu Lucid 10.04 amd64 about 40Gb, 22Gb used ext4
3rd Partition -Linux swap about 2.5Gb
Extented Partition -Ubuntu 9.10 about 49Gb with 23Gb used ext4
I'd like to shrink the Extended partition down and add the space to the 2nd partion where Lucid is. Eventually, I'll want to delete the whole extended partition and add all the space to the Lucid partition.
After using GParted to resize these partitions, what will happen when I boot? Will I need to tell grub where the swap and 9.10 are? I am not changing the start of the first two partitions so I would assume there will not be any problem with them (I'm not sure how moving the start of the swap might affect the Lucid installation though).
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 resized all of my partitions using GParted, I got Windows 7 and Vista to boot up again ok but I can't get F11 to boot. I am not using GRUB nor do I want to, I tried using the install disks and doing a repair and "chroot"-ed my filesystem and everything is still there, there is just something small missing that I am not remembering to do. I have the NST files on my Windows drives and it tries to boot but F11 complains that there is no boot disk. I'll try to boot once again and write down the exact error message.
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.
When I start gparted, to see if I can add extra harddisk where all my data is, I get the next error:
Code: [root# gparted libparted : 1.9.0
The kernel was unable to re-read the partition table on /dev/sda (Device or resource busy). This means Linux won't know anything about the modifications you made until you reboot. You should reboot your computer before doing anything with /dev/sda. I can start fedora 12 x64 amd whitout any problem. My partition layout on a single disk (80 gb sata maxtor) for the system is: Code: / /home swap
When I try to mount one of the extra disks (samsung spinpoint 1 tb, I have 4) I get to next error: Code: root# mount /dev/sdb1 /media/sdb1 mount: you must specify the filesystem type
If I add the option with the filesystem I get: Code: root# mount -t ext3 /dev/sdb1 /media/sdb1 mount: special device /dev/sdb1 does not exist
In gparted, when I select just a flag option, and deselect, press ok, the disk is forced to be reread by the program. After that I can also mount it. When I use any of the programs linked in this post, I am able to mount the disks whitout any problem. Except after a reboot, I get the same problem. SO whit each reboot, or poweroff, I need to do a re-read of the disks. The system is fedora 12 x64 for amd, installed from a live cd, the rest whit yums groupinstall, the latest kernel.
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 have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.
The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.
When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.
When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.
When I tried it from Ubuntu installation or live cd, I received the following types of responses:
Code: ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5
Disk /dev/sda5: 28.5 GB, 28566397440 bytes 255 heads, 63 sectors/track, 3473 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5
The number of cylinders for this disk is set to 3473.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) Plus the Windows partition seems to go over its limits.
Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.
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.
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.
In one of our client system there is a partition which shows NTFS and other partitions are ext3...the partition which shows NTFS is a seperate HDD...The NTFS partition has been mounted...but we are not able to write anything to it...but we checked in /etc/fstab....it shows 'ro' so we changed to defaults....after making chnages when we tried to remount using the command mount -o remount /partition.it shows the device is already been in use try using the command fuser or lsof.we tried fuser /partition and then killed that process..still same error.....I would also like to know is there a way that we convert the NTFS partition to ext3 without losing the datas.