Questions tagged [gparted]
73 questions
60
votes
9 answers
Deleting All Partitions From the Command Line
How do you delete all partitions on a device from the command line on Linux (specifically Ubuntu)? I tried looking at fdisk, but it presents an interactive prompt. I'm looking for a single command, which I can give a device path (e.g. /dev/sda) and…
![](../../users/profiles/41252.webp)
Cerin
- 3,497
- 17
- 57
- 72
19
votes
6 answers
Prepare a disk to be imaged by Clonezilla for use on smaller disks?
A recurring problem we have is that the computers we use to build our master images on may have larger hard drives than some of the target systems' drives. Its well-known that Clonezilla won't put a disk image on a smaller drive.
Outside of finding…
![](../../users/profiles/52664.webp)
poke
- 1,079
- 4
- 11
- 21
13
votes
6 answers
How to decrease virtual size/capacity of a Virtualbox vdi file
I want turn a physical machine running MS Windows 7 into a VirtualBox virtual machine. This is easy, I have done this before, but this time I needed the virtual size/capacity of the disk to be a fixed and smaller size.
It needs to be fixed because I…
![](../../users/profiles/142830.webp)
onknows
- 292
- 1
- 3
- 14
9
votes
4 answers
If I resize a Linux partition using GParted will my data be safe?
I would like to shrink the size of a partition containing an Ubuntu distribution and files. Is it safe to assume that I will not lose or corrupt any of the files as long as I don't make the partition smaller than the amount of data that is currently…
![](../../users/profiles/7658.webp)
Tim Wardle
- 383
- 1
- 5
- 9
6
votes
1 answer
CentOS/RHEL 7 LVM Partitioning in Kickstart?
I am trying to learn more about partitioning in Linux, specifically LVM partitioning. So I have been looking through many sources on this, various examples, but none of them seem to go into more detail on this, so I was hoping to get some insight to…
![](../../users/profiles/394896.webp)
Alex Mikhaelson
- 107
- 1
- 2
- 7
5
votes
1 answer
Extending partition on linux gparted but not more space in the vm
I have a vm test installation of a linux running a build server. Unfortunately I just pressed ok when adding the disk and ended up with an 8gb drive to play with. Well into the test the builds are consuming more and more space, of course.
The vm…
![](../../users/profiles/53247.webp)
Asken
- 215
- 1
- 2
- 8
4
votes
2 answers
Logical Volume Recovery
I have a machine with 180 or so logical volumes as well as an OS partition that were wiped out with a format when reinstalling centOS6. I made a terrible mistake, not being familiar with the interface to not notice that it was formatting the entire…
![](../../users/profiles/165520.webp)
user165520
- 71
- 2
4
votes
1 answer
Booting Linux 2TB+ partitions
I am using VMware ESXi vSphere 5.0.0 and mounting a 6TB LUN from my Dell EqualLogic SAN. I am presenting the LUN using RDM (Raw Device Mappings) so as to be able to see all 6 TBs. So far, so good.
Then I use Gparted to create multiple partitions,…
![](../../users/profiles/121326.webp)
Kerry Cox
- 41
- 2
3
votes
0 answers
Accidentally deleted LVM on raid partition
I accidentally deleted my LVM partition inside /dev/md1. The good thing that my linux root partition and swap inside this LVM are still mounted. I was able to copy all data to my backup HDD, and was able to do a dd copy of my LVM root partition.
Now…
![](../../users/profiles/169122.webp)
POMATu
- 210
- 2
- 9
3
votes
1 answer
How can I resize my logical volume in CentOS6?
I increased the provisioned size in the Vsphere client to 32GB and I used gparted to resize the VG to 32GB
--- Physical volume ---
PV Name /dev/sda2
VG Name vg_proxy
PV Size 31.51 GiB / not usable…
![](../../users/profiles/208632.webp)
the dave
- 73
- 1
- 2
- 9
3
votes
3 answers
Cannot resize an ntfs (Windows Server 2k3r2) boot partition booting from gparted
I am trying to use gparted to make my ntfs system/boot partition larger. I expanded the disk in ESX, providing an extra 60 GB or so of free space. I confirmed that this free space is available in gparted:
However, when I try to go to "Move/Resize"…
![](../../users/profiles/88876.webp)
tacos_tacos_tacos
- 3,220
- 16
- 58
- 97
3
votes
3 answers
Resize ntfs system partitions with GParted?
Trying to resize 2 ntfs system and boot partitions (windows 2003 server) using GParted. Goal:
Resize D: (/dev/sda1) to ~850G - this is the boot drive with D:\ntldr, boot.ini, etc.
Resize C: (/dev/sda5) to 100G - this is the system drive with…
![](../../users/profiles/35192.webp)
ane
- 171
- 4
- 16
2
votes
0 answers
Boot failing to complete after resizing RAID 1 with GParted
So I have the following setup in Ubuntu 18.04:
/dev/md0: / (ext4)
/dev/md1: swap
/dev/md2: /var/lib (ext4)
I needed to free a couple of GB space after /dev/md2, so I decided to live boot using SystemRescueCD, and shrunk /dev/md2 with GParted which…
![](../../users/profiles/419170.webp)
Antonio López
- 133
- 4
2
votes
3 answers
How can I launch gparted in centos 7 minimal
I have already installed gparted because I want resize some partitions on a box running centos 7 minimal. So I can ssh into the box and only have access to the terminal.
I run the command gaprted to try and start it but it says:
(gpartedbin:23033):…
![](../../users/profiles/443584.webp)
Joey Corkey
- 133
- 1
- 5
2
votes
1 answer
Run gparted from ubuntu 14.04 live
I can not find a way to start gparted from ubuntu 14.04 Live CD.
There is an icon on desktop for "Ubuntu Software Center", if I open it - it states that gparted is installed, but there is no icon to launch gparted on desktop. Also there is no menu…
![](../../users/profiles/191530.webp)
Eugene Mala
- 123
- 5