is GParted destructive to data when resizing?
is GParted destructive to data when resizing?
I have Sony Vaio with a 120 GB hard drive. The hard disk drive is partitioned, such that the partition C for the operating system is quite small at 15 GB. Somewhere in the rest of the drive, partition D, there is a restore program for WinXP. I want to enlarge the OS partition C: to 20 or 25 GB. If I resize (enlarge) this partition using GParted, do I risk losing the restore data in partition D? If GParted encounters data in a partition being reduced, will GParted manage the resident data so that resizing is non-destructive?
Last edited by nubc on Wed 23 Jan 2013, 17:09, edited 1 time in total.
Resizing partitions in Gparted is not meant to be a destructive process, but it is HIGHLY recommended to backup any important data when doing any partition work.
For best results,make sure that the drive you are resizing is defragmented, then all the data is in one location on the disk, leaving a big chunk of free space at then end for resizing. If its fragmented, it will be all over the place, not leaving much free space.
Usually a restore partition is only pretty small at about 5gig, and is often barely used, so will not be fragmented much if at all.
For best results,make sure that the drive you are resizing is defragmented, then all the data is in one location on the disk, leaving a big chunk of free space at then end for resizing. If its fragmented, it will be all over the place, not leaving much free space.
Usually a restore partition is only pretty small at about 5gig, and is often barely used, so will not be fragmented much if at all.
Judging by the output, there's a lot of free space on the disk and resizing shouldn't be a problem. Gparted is considered to be safe and non-destructive, and I've been successfully using it for quite some time. However, it has one unresolved issue - an 'NTFS resizing bug': http://gparted-forum.surf4.info/viewtopic.php?id=13777
In case you're bitten by this bug and need to survive, just make sure you have an account on their forum. So that you can file a report, and the developer will get back to you with a command-line solution.
In case you're bitten by this bug and need to survive, just make sure you have an account on their forum. So that you can file a report, and the developer will get back to you with a command-line solution.
Questions:
1. What happened to sda4?
2. Where is the Sony restore software likely to be located?
3. Why are sda3 and sda5 the same partition?
4. What is the boot flag named "lba"?
I am guessing that sda1 is a hidden partition, containing the restore software. Also, that partition sda3/sda5 corresponds to drive D: in Windows. There's a lotta free space because this is a clean restore/install of Windows XP.
1. What happened to sda4?
2. Where is the Sony restore software likely to be located?
3. Why are sda3 and sda5 the same partition?
4. What is the boot flag named "lba"?
I am guessing that sda1 is a hidden partition, containing the restore software. Also, that partition sda3/sda5 corresponds to drive D: in Windows. There's a lotta free space because this is a clean restore/install of Windows XP.
Current disk architecture dates back to the mid 1980s. In that architecture, which is followed even today, a single HDD (hard dsk drive) could be divided into 4 "PRIMARY" partitions.nubc wrote:Questions:
1. What happened to sda4?
2. Where is the Sony restore software likely to be located?
3. Why are sda3 and sda5 the same partition?
4. What is the boot flag named "lba"?
I am guessing that sda1 is a hidden partition, containing the restore software. Also, that the partition sda3/sda5 corresponds to drive D: in Windows.
Your PC manufacture has chosen to assist users by dividing the drive for expected PC use. Thus you see the layout displayed by GParted.
Your PC manufacturer is aware of the architecture. One feature of the architecture is that ONE and ONLY 1 primary partition on any HDD could be an extended partition. In an extended partition, any user or manufacturer is "freed" (so to speak) from the architecture and can add as many more partitions that they desire.
In your case, Your manufacturer decided to use 3 primary partitions where 1 of them is an "freed" primary called Extended. In the extended area, they chose to create an additional partition and to use all remaining space in that additional partition. This is a common practice among PC manufacturers and system administrators.
So the tool used by the manufacture to create the partitions you see created 2 primary partitions, and an extended (primary) area where more partitions could be added.
Now, you have been given good advice here in this thread about the need to defrag your C: drive (its the biggest one you see). This is done by booting and using your Windows for such.
Once complete, you should expect that resizing that very BIG partition will yield a Windows which is still bootable and allow you to create new partition(s) in that extended area to cover your needs.
You shouldn't concern yourself with the partition numbers. They are reference numbers used by the tools. But, if you must know, you will need to check both Linux architecture, disk architecture, and tool for disc manipulation for how the number Primary partitions and extended area partitions..
In guessing, I am going to guess, base upon structures seen in the past, that your Windows system delivered with recovery built into Partition 1 and Partition 2. But. remember, that is a guess.
I would guess that you do not touch or modify partition 1/2. But, to focus attention to partition 3.
Hope this bring some ease and some better understanding. And, there are 25 years of information around on this. If your current system contain important information that you would miss if it were lost, I would, if I were you, go somewhere, college, store-front where there are people who have done this before who can show you safe approaches to maintaining your data.
Here to help
I am quite willing to defrag drives C and D from Windows. I believe the partition sda2 corresponds to drive C, containing Windows OS, 15 GB in size. Drive D is presumably a data drive, and shouldn't have much data on it because this is a clean install using the Sony restore software. The Sony restore software decided on this arrangement of partitions on the hard drive. The whole point of this exercise is to make the Windows drive (C) larger, although the drive with Windows (C) is only 63% used, 37% unused, with Windows XP, Office, Nero, PowerDVD, a few junk programs from Sony, and several select utilities installed.
OK, based on this, you could boot Linux, start GParted, andnubc wrote:I am quite willing to defrag drives C and D from Windows. I believe the partition sda2 corresponds to drive C, containing Windows OS, 15 GB in size. Drive D is presumably a data drive, and shouldn't have much data on it because this is a clean install using the Sony restore software. The Sony restore software decided on this arrangement of partitions on the hard drive. The whole point of this exercise is to make the Windows drive (C) larger, although the drive with Windows (C) is only 63% used, 37% unused, with Windows XP, Office, Nero, PowerDVD, a few junk programs from Sony, and several select utilities installed.
- reduce the size of the partition in the extended area
- reduce the size of the extended area itself
- move the extended area to the far right
- expand the size of the 2nd partition.
here to help