General :: Delete And Resize Windows Basic Ntfs Partitions With Gparted
Mar 22, 2011
I have a windows box running w2003 server on 1 volume with 2x ntfs basic partitions. c: = the windows bit, d: = the data bit for user data.I have cloned (clonezilla) the volume to another and deleted the data (d bit and want to extend the c: into the freed space.I'm booted from a partedmagicv5 cd and using gparted to attempt this.I can't see a way to do this with gparted but then, I could be thick. Maybe I clone off reformat and copy back?Is there a better way or even is this the correct forum (please don't refer me to Microsoft website:-) for this type of question?This is a test box so not worried about breaking it, but the test is to try to solve a live problem at a school I support which is running out of hd space.
I installed linux to my whole hard drive. I want to make it a little smaller to dual boot windows just for games. Gparted wont let me resize my partitions at all.
I'm on a work desktop and im just wondering what the chances are of data loss if i resize my paritions i have 2 NTFS 1 10GB and 1 64GB (Not sure why but thats how it is) I want to take 30GB from the 2nd partition and add onto the main 10GB. Is it only Gparted that has a chance of Data Loss or is that with all parition editors, its just that alot of NTFS windows progams indicate that there software is safe like this one for example url.
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 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 on my notebook, and there are 4 partitons in the hdd, all are NTFS, only one is ext4.
the problem is i deleted some hidden folders(in ubuntu which are not hidden, such as recyclebin and file information table folders) in ntfs partitions, now i need to reinstall the windows 7 back, i have a doubt that even windows will ever recognize those partitions again?
I know nothing about linux. But my friend says linux is good. So, I kept a copy of fedora core 10 i386. My fiend has a lot of movies about 100 in his ipod. So, I took it. It contains lot of viruses and I opened the ipod in windows but my windows has malfunctioned due to the virus. So, I have installed the fedora core 10 i386. I have some important information in the windows ntfs partitions. How do i mount those ntfs partitions.
I am running a dual boot with XP and Ubuntu - what I want to do is increase the partition size of Ubuntu and reduce XP. When I run " G Parted" it shows both partitions with Xp being NTFS. I guess the boot loader is Grub because Ubuntu takes priority at Boot. I cannot persuade G Parted to allow me to resize the two different partitions. I am using the G Parted Live CD.
I was trying to resize an external ntfs hard drive, so that I could make room at the front of the disk for a swap partition. At the end of the process gparted encountered an error. It couldn't see my disk again until I rebooted the system. Now, when it looks at the hard drive, it sees it as one big unpartitioned hard drive.
I'm pretty sure all the data is still there, uncorrupted. I just can't access it. How can I fix this?
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.
After I formated my windows partition using GParted it became Unallocated and moved under Extended partitions. I can't create the unallocated partition as primary one, or drag it out of the extended ones. I tried GParted live CD also, but nothing worked.
I installed GParted Editor on Ubuntu. I'm looking at it. There's 4 partition selections, all apparently deletable. The problem is... I don't know which partitions are Windows. Therefore, I don't know which to delete.
None says Windows. There's the word label at the top. I do see DellUtilty and DellRestore under label on two partitions... and pretty sure my computer is a dell. Are the latter two windows and therefore can be deleted? The two remaining partitions, are Linux?
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 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 currently have Xubuntu and Mac OS X on my PowerBook G4, however, I recently got a netbook and use Ubuntu via USB on it and now would prefer to have only OS X on my powerbook. I would like to use Gparted to restore/fix my partitions and don't exactly know what I need/don't need and also how to resize my os x HSF+ partition back to full size? An image below shows my current setup (kinda messed up I think.) What steps should I take in Gparted to delete the unnecessary partitions and give OS X it's full size?
How can I get access to my NTFS Partitions in VirtualBox running Windows XP Pro? I saw it somewhere once saying something about setting up shared files but it was confuseing and did not work.
I am currently running Ubuntu 11.04 (narwhal), dualbooting with Windows 7. When I installed ubuntu, i gave it a small(er) partition size for it to use (10gb total for swap and main partition). I now find I have run out of room on my Ubuntu partition, and want to (if possible) shrink down my Windows partioion and move some of that freed space to Ubuntu to expand it.I tried to use gParted from a live Ubuntu CD, but I can't seem to move any unused space into the Ubuntu partitions. Am i doing something wrong?
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.
i want to boot windows from grub loader and delete linux .Is this possible?or can i keep only /boot partition so that windows boot from grub prompt i want to boot windows from grub loader and dont want any linux partitions on my machine.Is this possible?or can i keep only /boot partition so that windows boot from grub prompt and delete rest of the linux so that i can get all free space.it is not possible for my system to get windows boot loader hence i want only grub boot loader to load only windows.
I have a desktop with Ubuntu and I've set up Samba to share files with my Windows 7 laptop. I can access my home folder just fine except for my NTFS storage partitions on the desktop's HDD and my home folder's Downloads folder (which times out whenever I try and open it).
Is there an alternative way to share files between Linux and Windows 7?
I do not know what I have done but I used to be able to see the partitions on Hard Disk wich has WinXP and Ubuntu 10.04 as well as other partitions I have created.
I can access the partitions but cannot any longer see them with Gparted. Enlosed 2 screenshot ( Gparted and Disk Utility which shows the partition)
Gparted LiveCD version 0.6.3-3. boots and loads GUI, then searches endlessly for partitions. No luck running it from command line either. Dell laptop set up to dual boot, Windows XP/PCLinuxOS. I want to shrink the Linux Root partition to give more space to the Home,
I have a laptop with a 320GB disk. Windows 7 and Ubuntu 10.04 It has 8 partitions: [From Testdisk]
[code]....
Long story short, after reinstalling windows 7 and messing around a little with its partition and the other ntfs one (resizing etc); Gparted won't open the disk. It shows all the disk as unallocated space, And throws a message to the terminal which says something like "Can't have a partition out of the disk." Funny thing is that *almost* everything is working fine. Everything works except that ubuntu can't use the swap. (Dmesg says: "Swap area shorter than signature indicates") Also, testdisk, if i run a deep search for partitions, finds the last partition twice, but the second time the partition goes from 37129 0 1 to 40240 254 63 , while the disk ends at 38913 255 63. The problem is that I can't use Gparted now and I want to resize a partition.Also I believe that going without swap is not good for ubuntu.