date int64 1,220B 1,719B | question_description stringlengths 28 29.9k | accepted_answer stringlengths 12 26.4k | question_title stringlengths 14 159 |
|---|---|---|---|
1,404,431,914,000 |
I have one drive with dual boot. I split it evenly between Windows and Linux Mint, but right now almost never use Windows. I want to keep Windows for gaming/Office, but move some of its disk space from Windows C: drive to Linux /home. Can I do that safely? Is it possible it's as easy as explained here? Does gparted ta... |
I've done this several times on several laptops already, never had any issues. And it is as easy as explained there.
But remember to:
Defragment Windows drive,
Leave some space free for both systems
Do not "move around" partitions. If your Linux partition precedes windows → space will be freed after windows partition... | Shrink existing Windows partition to extend Linux home one? |
1,404,431,914,000 |
I installed Debian about 5-6 days ago alongside Windows 7 and I've got it running almost perfectly besides a few bugs here and there. Yesterday I booted into Windows and shrunk the C: drive so I could add extra space to my Linux partition. Yes I have an MBR based system and my partitions are all used up. However, my C... |
There is actually some good documentation for moving partitions around using gparted. You'll want to make sure your filesystems are unmounted before moving things around. The easiest way to do this (and it looks like you have done this step already) is to use the Ubuntu livecd or liveusb, and boot into gparted.
Once ... | How Do I Extend the Root Partition Backwards |
1,404,431,914,000 |
Problem
When attempting to delete the remnants of my RAID1 setup I'm getting the following error:
WARNING: Not using lvmetad because duplicate PVs were found.
WARNING: Use multipath or vgimportclone to resolve duplicate PVs
Background:
I'm very new to Linux, and am currently on a journey to setup an Ubuntu server wit... |
Someone posted on another forum - turns out the wipefs command was what I needed. I ran the following from GParted and now I'm back in business:
sudo wipefs -a /dev/sda
sudo wipefs -a /dev/sdb
This wiped the two drives back to a completely unallocated state, and now I've reset up the RAID1 array, created a new partit... | Duplicate PVs error in GParted when attempting to delete RAID1 setup |
1,404,431,914,000 |
I'm playing around with Solaris 11.1, and have run into a bit of a problem...
I've installed three OS on my computer - LinuxMint, FreeBSD and Solaris - and have partitioned my harddrive (/dev/sda on LinuxMint) thus:
Disk 500GB
sda1 (Primary Partition): FreeBSD (UFS) 50GB
sda2 (PP): "Storage" (VFAT) 50GB
sda3 (PP): So... |
What actually happens with Solaris is that when you create a partition, Solaris will create a "disk" inside it. So when you see c7d0s0, means controller 7 disk 0 slice 0. Now in x86 the disk is in fact your partition.
Your full disk contains something along these lines:
Physical disk:
sda1 - Linux
sda2 - VFAT partit... | Can't mount partition/partitions not recognized in Solaris 11.1 |
1,470,336,089,000 |
I have dual-booted Windows 8.1 and Fedora 24. But, I want to triple book now, with another not very known Linux OS. My partitions looks like this:
I know that I can only create 4 primary partitions, and in my case I already have the 4 primary partitions, therefore, I cannot create a new partition with my unallocated ... |
Use GParted from a live CD/USB to move your partitions around (you can't do this from the mounted Linux itself). You can use any live distribution that includes GParted, such as GParted Live.
First move the /boot partition to the beginning of the unallocated space (“Resize/Move” button, set “Free space preceding” to 0... | How to put an unallocated partition under extended partition? |
1,470,336,089,000 |
I've got an external disk with 6 partitions: 4 for linux, one storage in HFS+, and one storage in ext4. I'd like to delete the ext4 storage one and move it's resulting unallocated space into my HFS+ one, but in GParted, I delete the ext4, and it becomes unallocated. But when I try to resize my HFS+, I can't enter a ne... |
You can't enlarge it with GParted because it currently does not support HFS+ partition "grow". It only supports HFS+ "shrink". See
Gparted features
or, on your machine:
GParted >> View >> File System Support
| Can't increase partition size with GParted? |
1,470,336,089,000 |
I've been a Linux user for about 15 years. Since the feature existed, I used LUKS to encrypt the partitions on which I was installing Ubuntu.
I have the following issue: when someone else uses my computer, I have to be there to boot it, because only I should know the decryption secret phrase.
To solve this problem, I ... |
Prepare a partition for /boot/efi and a partition for /boot in gparted
|------+-------------+-----------+------+-------+-----------|
| Name | Mount point | Flag | Size | FS | Comment |
|------+-------------+-----------+------+-------+-----------|
| sda1 | /boot/efi | esp, boot | 300M | FAT32 ... | How to install two GNU/Linux in dual boot with one under LUKS and the other not? |
1,470,336,089,000 |
Well I created a directory in the home directory in order to copy some books from my hard drive, and I found that there wasn't enough space on the home directory.
As you can see below, I have got 377G (available) mounted on the root directory[dev/sda5], but only 38G mounted on the home directory of which only 16G is a... |
Normally you should resize your partitions, reducing the space assigned to /dev/sda5 and increasing that for /dev/sda7. This is the best long-term strategy.
Obviously this is awkward and does not consider what might happen to /dev/sda6.
update: /dev/sda6 is swap.
Since /dev/sda6 is a swap partition, then you can safe... | Low size on home directory |
1,470,336,089,000 |
I am having an issue following instructions on how to increase from here.
I cannot get the unallocated space to merge with the sda1, no matter what I try. I allocate the 30GB, then try it that way, but it still doesn't work. I copied sda1 into unallocated -- still didn't work!
I can decrease size of sda1, but cannot i... |
You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1. Until you move the swap space out of the way, then you cannot make sda1 bigger.
From the screen that you have up:
Select the extended ... | Increase virtual HDD space on VMWare for Ubuntu |
1,470,336,089,000 |
Hey I'm trying to resize my boot partition and eventually my LVM partition.
I currently have:
/dev/sda1 ext2 243M
/dev/sda2 extended 7.76G
unallocated 17G
Ideally I'd like:
/dev/sda1 ext2 7.2G
/dev/sda2 extended 17.76G
My main problem is my / that is too small and I can't... |
Keep only /boot in the first partition
First, 243MB is enough for /boot. If it's the root partition that you have on /dev/sda1, then there isn't enough room even for a basic installation. If you've separated /usr, don't: this was useful in the days of read-only or shared /usr but isn't nowadays.
To move the root parti... | Resize partitions with gparted |
1,470,336,089,000 |
This is how my hard drive (where I have Xubuntu 12.10) is formatted currently, based on a recent GParted screenshot:
I want to expand sda6 (4) to take up the free 11.72 GiB unallocated space. But I can't do it. This is what I did and gathered so far:
I can't add another primary partition as I have 4 already. I didn'... |
Your question doesn't explicitly say what you want to do, but I guess you want to use that spare 11GB of space to expand /dev/sda6. You won't be able to do this while you are running Linux from the sda6 partition - the usual solution is to use a LiveCD, perhaps SystemRescueCD, to run GParted.
The best way to do this i... | How to repartition disk to use non-allocated space? |
1,470,336,089,000 |
fdisk -l:
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes`
parted -l:
Model: ATA WDC WD10EZEX-21W (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physica... |
As identified by richard, the filesystem starts on the very first sector of the disk: you have no partitions. To create an encrypted partition, you will need to create a partition table first. And you do need to have two partitions if you want to have an encrypted partition, because you need some non-encrypted space f... | Create encrypted partition on existing drive with one primary partition while keeping data |
1,470,336,089,000 |
I recently made a small mistake as I was installing Arch and ended up with my partitions looking like this:
Basically, my Arch partition sda9 is stuck between my Windows partition and some sort of Windows recovery/diagnostic partitions. This has left me with only 80 MiB of space, and you can imagine the problems that... |
Create a new empty partition after /dev/sda8, make it the size that you want your Arch partition to be. Then do cat /dev/sda9 > /dev(the partition you just created) when in a root shell. (You can't just use sudo as it will make you root to run cat, but not to access the new partition.) You just duplicated your Arch pa... | Rearranging order of partitions in GParted |
1,470,336,089,000 |
I'm not sure how to merge that unallocated 5GB space with the ext4 partition (sda5). Is there is a way (without formatting the ext4 filesystem)?
|
With GParted, you can move the beginning of the extended partition. Just use the “Resize/Move” button on the extended partition and set “Free space preceding” to 0.
Then use the “Resize/Move” button to move the ext4 partition to the beginning of the extended partition and enlarge it.
You can't (or at least shouldn't, ... | Merge partitions between logical and extended partition |
1,470,336,089,000 |
When shrinking a partition with GNU Parted, some contents must be moved from the area of the physical disk that will be left out of the new shrunken partition. The contents of those files are of course unchanged.
But could it be that some files in the shrunken partition must be altered by the program?. I mean those fi... |
The partition table is changed, this stores the start and end block number of the partitions. This table is not in the partition, and therefore not in the file-system.
Various block addresses are changed within the file-system (this is part of the file-system meta-data). This is part of the mapping from directory entr... | Which files are changed when GNU Parted shrinks a partition? |
1,470,336,089,000 |
I have several VMs set up within Hyper-V using Ubuntu 17.10 and have found that they are not configured correctly - that is, they have been set up using the default block size for the VHDX files and are using much more space than they require and have a higher maximum VHDHX size than I would like. In one example, I ha... |
If anyone comes across this and has the same problem, the solution which worked for me is mostly as was described above. In the example given below, my original drive has 2 partitions, a boot partition and a data partition with 2 logical volumes, and the destination drive starts out with a boot partition and a data pa... | How do I clone a VM drive using LVM to a smaller drive? |
1,470,336,089,000 |
I intend to resize and add a new partition to my main drive, and for that purpose I have created a GParted-USB to resize my partition. However, this has proven to be more difficult than I thought, seeing as GParted claims that my internal drive is full.
Any idea as to what's causing this, and eventually how to fix it... |
Your drive is a LVM physical volume. Your free space is being managed by lvm. Look at vgdisplay to find free space in your volume group and lvcreate to create a new partition from that space. To grow a partition you will first lvextend the logical volume then (if ext2/3/4) resize2fs to size the filesystem to the new ... | Gparted claims my internal drive is full |
1,470,336,089,000 |
I have a system with Pop!_OS and Windows 10 dual booted When I was on Pop!_OS I wanted to shrink the C: drive (currently it is 400 GB) to make it about 250 GB and give the remaining to Linux. When I was doing it with gparted it showed me a error and this was the report
GParted 1.0.0
configuration --enable-libparted-d... |
The end of the disk check reports that,
NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
and will be made to NTFS by this software until it gets repaired.
Until you do this you won't be able to resize the partition.
| Error while resizing C: drive with Gparted |
1,470,336,089,000 |
Recently I've found out that soon I will run out of space on my / (root) partition. I've done some research on extending root partition, however, it wasn't too informative (mostly everyone say it's impossible or at least too hard). However I don't want to give up.
Here is my partition configuration in the photo. Afte... |
The simplest way to do this is:
manually copy the ~7GB of files from the /home filesystem to an external media device
delete the /dev/sda7 partition
increase the size of the /dev/sda6 partition
grow the ext4 filesystem on /dev/sda6
create a new /dev/sda7 partition in the remaining space
format the new /dev/sda7 parti... | How to extend root partition by shrinking home |
1,470,336,089,000 |
it is possible to move some partition(entire) before another?
I need to resize my root partition, but the free space is too far away.(I want to move the free space near the root part.)
Can this be done somehow, or have I to backup the data and start from begining?
|
I don't think most of the partition management programs for Linux will move a partition unless there is no overlap, and you can't do that because the ~90.8G extended partition (sda2) will not fit inside the ~11.7G free space. (You can't just move swap, sda5, because of how extended partitions work).
Please read and un... | moving free space before other partition (to resize the root part.) [duplicate] |
1,470,336,089,000 |
so I have triple booted windows, kali, and ubuntu. I am trying to resize ubuntu /home directory which sits on the HDD. So I created a new unallocated space in windows of 200gb size, and I want to add it to ubuntu
however the problem is I do not see it in gparted as free space or as anything. I simply do not see it. A... |
It appears that Disk 1 is Dynamic which is Proprietary to Microsoft. In order to properly share the disk with other non-MS operating systems the disk must be converted to Basic as can be seen with Disk 0.
| why can I not see the unallocated space in gparted |
1,470,336,089,000 |
I have some old hardware where Linux can't boot if the bootlader is over 128 GB. The problem is that I don't know exactly how those 128 GB are considered.
So the first question is, are they considered like 131,072 MB or 128,000 MB ?
Then, do I use aligned by MiB or by cylinders in Gparted ?
|
This is an address limit i.e. a number of bits. Thus this refers to real gigabytes (GiB) i.e. 2^37 bytes == 128 GiB == 131,072 MiB == 137438 MB.
| Boot loader below 128 GB |
1,470,336,089,000 |
I have a physical Redhat RHEL 6.10 machine on physical hardware, which I tried to virtualize for vmware. We did backup with dd to virtualize. Problem is right now, that this VM is still taking full 146GB-SAS-Disk of dataspace (original), but real data takes only 27GB of diskspace.
I resized the logical volume of parti... |
You'll need pvmove to move the extents around. Since the source and destination are on the same disk, you'll need the --alloc anywhere option:
pvmove --alloc anywhere /dev/sda2:18818-23937 /dev/sda2:2006-7125 # lv_root
pvmove --alloc anywhere /dev/sda2:23938-25217 /dev/sda2:7126-8405 # lv_home
You can do this while... | shrink partition after LVM resize on RedHat Linux |
1,512,587,122,000 |
I'm working on a 64-bit CentOS 7 VM on my Windows 10 host, and I have a dynamically-allocated VHD that is giving me problems.
At first, the VHD's maximum size was set to 16GB, functionally about 14.4 usable. While working on a project I realized that I would need much more space, so I used VBoxManage to increase the ... |
Ok, I found what the problem was. My filesystem uses Logical Volume Management (LVM), which I have never worked with before, and so I didn't know how to properly handle it. Using LVM terminology, centos is a volume group:
sda2 is a physical volume in that volume group:
and root is a logical volume in that volume... | VirtualBox - Dynamic virtual disk won't expand |
1,512,587,122,000 |
I have a Windows 10 and Ubuntu dual boot on my laptop, I'd like to turn it into a triple boot with kali linux, the fact is I already have grub as the ubuntu installer added it.
After a bit of research I found out that kali adds it too (not sure but probably something debian does that both keeped, I never used debian i... |
When your third operating system finishes it's installation, choose Ubuntu and then run following commands (in Ubuntu).
Reinstall GRUB: grub-install --root-directory=/mnt/ /dev/sda
Reboot: shutdown -r now
Restore the GRUB menu: update-grub
You will have Ubuntu grub bootloader :)
Nice tip: Your BIOS may have option to ... | Will installing kali linux automatically add a grub bootloader even if I already have it? |
1,512,587,122,000 |
I deleted a big extended partition containing an ntfs logical partition with high percentage of occupied space and from that extended partition I made a new, smaller extended part. In it I created an ext4 logical partition .
The newly created ext4 logical partition however comes with 1.75 GB already occupied. ... |
The used space reported by df is reserved space. This reserved space is used by ext filesystems to prevent data fragmentation as well as to allow critical applications such as syslog to continue functioning when the disk is "full". You can view information about the reserved space using the tune2fs command:
# tune2fs ... | What is this data that keeps reappearing after partition delete + new partition creation? |
1,512,587,122,000 |
I made a partitions on a new SSD drive (empty), now I want to install Debian, use netinst ISO CD. I chosed "Graphical expert install" type, which show a series of questions. When installation process come to a Partition disks step, there is a lot of options, and what's unclear:
"Bootable flag : off/on" - should I se... |
This is a critical moment of the installation, the guide doesn't want to interfere too much because:
you have chosen expert
you could erase data involuntarily
Exposing all possible options to a GUI installer is difficult (GUI is always limiting choices).
Finally some recommendations:
Bootable flag for boot partion... | Debian "Graphical expert install" mode |
1,512,587,122,000 |
I want to install Ubuntu 14.04 in my laptop on which windows 8.1 is installed. I have read in some sites that I have to use Gparted or similar tools, but there are also sites that don´t this kind of tools, just shrink the volume of C:.
What is the difference between using Gparted or similar and not using it, to instal... |
I suggest you read this guide on Ask Ubuntu. As for the difference, gparted and similar tools help you partition your hard drive. The Ubuntu installer can also do this automatically which is, presumably, the way suggested by the sites you read.
I would not do that though and especially not with a system that has wind... | Install Ubuntu partitions |
1,512,587,122,000 |
I am running Ubuntu 12.04 in a VM. I have recently resized the hard drive of this VM doubling its size with Gparted. However, when I run df -h, Ubuntu still sees the old hard drive space, while Gparted sees the new one.
How can I force a refresh of this so that the OS can see the correct amount of space available?
|
The command that resized the filesystem was sudo lvextend -r -l +100%FREE /dev/sda<number>. Have a look at this other question for more details.
| Wrong amount of free disk space seen after using Gparted |
1,512,587,122,000 |
I just decided to delete my Windows partition and only use Linux.
My old partition table was:
sda1: W7 boot partition
sda2: W7 partition
sda3: Linux
sda4: start of logic partitions
sda5: swap.
I deleted sda1 and sda2, and then expanded sda3. Now my partition table is:
sda3: Linux
sda4: start of logic partitions
sda... |
First of all, if you have moved the beginning of the partition, chances are rather high, that you can only wave the filesystem there goodbye. The reason is, that the beginning of a filesystem usually contains a very important data structures (usually called supeblock) without which the data in the filesystem is inacce... | Reset partitions numbers |
1,512,587,122,000 |
(first time StackExchange Linux user here),
I have been using Linux Mint for quite a while now, and originally partitioned with only a little space for it (originally intended just to play around with it). Because of this, I have just used all my storage.
I have another 80 or so GB to add to it using gparted, but am i... |
You can use the Partition -> Resize/Move option in GParted to resize your partition. The Resize/Move dialog is very simple, you can simply resize the partition to the left by dragging the slider.
The only "problem" is you can't do this with a mounted filesystem so you'll need to use a LiveCD (Ubuntu installation CD h... | Instructions for combining some partitions using gparted, and some other questions |
1,512,587,122,000 |
I want to reorganize my file system. I have swap allocated that I don't use. My / partition is overflowing all the time, and because of that I've kept moving big directories to a separate partition /mnt/nvme0n1p4. It occurred to me that it might be smarter to move all those directories back to /home and mount /home fr... |
Basically looks good, however:
in step 3, instead of rm -rf /home, better do rm -rf /home/*. You should not remove the /home directory itself, only it's contents, because you need an empty /home directory to exist as a mount point. If you happen to delete the /home directory, you need to re-create it with the same ow... | reorganizing my filesystem |
1,512,587,122,000 |
I am currently on Centos 7 and I am trying to free up some space on one of my disks so I can install Ubuntu along side of it (dual boot). I have a 2TB disk that is just under half full. This is not a primary disk, it is all backup. When I am booted into Centos the disk is /dev/sdc, and is just a single partition (no n... |
When I am booted into Centos the disk is /dev/sdc, and is just a single partition (no numbers after /dev/sdc).
/dev/sdc is not a partition, it's the disk itself which not partitioned, you have an ext4 filesystem directly on the disk without a partition table so you can't add partitions to your disk.
By shrinking the... | Attempt to shrink partition with gparted leaves all of the unallocated space still inside the partition |
1,512,587,122,000 |
I want to increase the size of my Linux partition (/dev/sda5) using the 52.41GB of unallocated space on my SSD but from what I understand the /dev/sda3 partition is in the way of using the unallocated 52GB.
What is the sda3 partition likely to be? Can it be safely deleted or is there a way around this?
Here is an imag... |
The EFI System Partition (ESP) is a partition on a data storage device (usually an HDD or SSD) that is used by computers adhering to the Unified Extensible Firmware Interface (UEFI). The EFI System Partition is an interface that's used by the computer to boot Windows. It's like a step that is taken before it runs the ... | What is this FAT32 partition on GParted? |
1,512,587,122,000 |
I recently added CentOS 7 to my home PC alongside Windows 10 while WFH.
The amount of storage space I allocated for this ended up not being enough, so I used Gparted to reduce my windows space and granted it to my CentOS partition. My drive now looks like this:
sdb6 is my linux partition. All the space I made availa... |
You are doing it for the disk not for lv.
Just do a sudo lvs command and based on the list of output LVs , you can use :
sudo lvextend -l +100%FREE <LV-Name>
| How do I extend the storage space on a lvm filesystem in Linux? |
1,512,587,122,000 |
When I set up arch linux, I created a partition with fdisk, and ran mkfs.ext4 on /dev/sda.
Now, I want to partition /dev/sda to have 2 partitions, instead of just one. The problem is, that when I try to resize /dev/sda, it shows that the unallocated space is in the partition, and I cannot create a new partition.
|
To convert a volume without a partition table to one with a partition table one can copy the data elsewhere than back again after the format, or perform the operation in place;
shrink the file system to start at 1GB and end 1GB before the end.
note down the exact start/end locations.
write a new partition table (will... | Whole disk is a partition: can't shrink, can't create new one |
1,512,587,122,000 |
This is my root volume, it is 32GB and contains /boot, and on LVM LV's are / and swap.
sdb 8:16 0 29.8G 0 disk
├─sdb1 8:17 0 200M 0 part /boot/efi
├─sdb2 8:18 0 256M 0 part /boot
└─sdb3 8:19 0 29.4G 0 part
... |
You're missing a step. After resizing the sdb3 partition and booting into the new system, you'll need to use the pvresize command to tell LVM that it is allowed to use the new space within the extended sdb3.
So:
2.5. Boot into the new system, then pvresize /dev/sdb3
In step 3, I would generally prefer using lvextend i... | How do I clone a SSD containing LVM LV's and /root to a larger one? |
1,512,587,122,000 |
I'm a new user of Linux and I installed Linux Mint 18.2.
I created 2 partitions:
Boot / Root (Namely /).
Home (/home).
I underestimated the size needed for the Boot / Root and only set it 25GB.
I now need to resize it.
I used LiveCD to run GParted and this is what I have:
Can anyone guide me how can I resize the pa... |
In GParted:
First "Move/Resize" /dev/sda5to the right. To do that, right click on the line reading "/dev/sdb5", select "Resize/Move"; then in the next window drag the handle on the left of the partition to the right (as far as you want to reclaim free space to the left), or modify the value for "Free space preceeding"... | Resize Boot Partition Next to An Extended Partition |
1,512,587,122,000 |
The attached screenshot shows my situation. I extended the virtual drive of my VirtualBox machine with one extra GiB, and now I would like to extend the sda1 partition with that extra space.
But I can't because of the extended partition in the way.
Is it possible to somehow overcome this problem?
|
The extended partition can't be changed unless its inner partitions are changed first. In your case the swap partition is in the way, which you would have to resize (or simply just delete it in your case, you can easily recreate it or use a swap file instead).
A common problem is that the swap partition can't be moved... | Increase partition size with free space divided by another partition |
1,512,587,122,000 |
Forgive me, as I am not the best at describing tech problems.
I have a /dev/sda5 ext4 partition running Linux Mint, and a /dev/sda7 running Kali Linux, both of which are in an extended partition.. I want to add space to my Mint, as Kali Linux does not demand much space. I took off 50 Gigs from my Kali Linux. However, ... |
So... you have something else in /dev/sda6? "Recent" versions of gparted are able to move partitions. Your problem would be:
move /dev/sda6 down (to use up the space freed in /dev/sda5)
move /dev/sda7 down (to put the free space on its end)
extend /dev/sda7
The partitions have to be unmounted, according to the doc... | Gparted Not letting me Resize Partition and Add more Disk Space |
1,512,587,122,000 |
I have read through all the man pages of my hfs-related packages (hfsplus-tools, hfsutils), and I cannot find a way to relabel a hfs+ volume. gparted also seems to be able on my system to do all the other operations on hfs+, but not change UUID and label (it can view them though, I suppose through libblkid). Is it rea... |
The actions available on file systems are listed on the GParted Features page. Currently (latest version 0.23.0) the Label and UUID features are not available for HFS and HFS+ file systems. This is due to limitations in the underlying file system tools.
| relabel hfs+ volumes |
1,512,587,122,000 |
I have a dynamically allocated virtual disk, which was initially 40GB.
I increased the disk size from 40 GB to 100GB first and then also updated the partition using GParted as described here,
https://www.rootusers.com/use-gparted-to-increase-disk-size-of-a-linux-native-partition/
But still the disk size does not updat... |
The root partition is on an LVM logical volume (LV) named root in a volume group (VG) named I0-vg, so you must first expand the underlying physical volume (PV), then expand the LV, then expand the filesystem:
pvresize /dev/<pv_dev>
lvresize --extents +100%FREE I0-vg/root
resize2fs /dev/mapper/I0--vg-root
where <pv_de... | VDI size increase not reflecting |
1,512,587,122,000 |
How can I assign unnalocated space to 1st partition /dev/sda1 ?
|
You could move your extended (swap space) to the end of unallocated space and then resize sda1. By moving I mean you could simply delete it, resize sda1 and then create the swap space at the end of the disk.
| gparted moving unallocated to 1st partition |
1,512,587,122,000 |
I used dd to write a 2GB image to an 8GB SD card; gparted now sees it as a 2GB SD card and I can't figure out how to format it for 8GB again. ddalso sees it as a 2GB SD card when trying to format it with of=/dev/sdb if=/dev/zero bs=1M. How can I get it to know its real size?
|
you can use the following commands:
cat /proc/partitions
cfdisk YOUR_DEVICE ===> such as cfdisk /dev/sdb
| SD Card interpreted as wrong size |
1,512,587,122,000 |
I downloaded GParted live archive and extracted it to /dev/sda4.
The GParted guide explains installation with grub, but since I'm not using grub I wanted to give it a shot adding a manual entry to rEFInd. This is the pratition tree.
NAME MOUNTPOINT LABEL SIZE TYPE FSTYPE
sda ... |
According to https://gparted.org/livehd.php the options string should be quite a bit longer. Something like:
options "boot=live config union=overlay username=user components noswap noeject vga=788 ip= net.ifnames=0 live-media-path=/live bootfrom=/dev/sda4 toram=filesystem.squashfs"
The error would seem to indicate t... | rEFInd manual stanza for GParted live |
1,534,811,933,000 |
I created a new backup system and initially tested everything with a 2.5TB disk. Once the idea worked out, I went to increase the disk to 7.5TB. I increase my volume on the SAN, then increased the disk in VMWare to 7.5TB. Then, went in to gParted and increased to 7.5TB but now im still seeing only 2.5TB total size on ... |
I just wiped out the partitions and then created a new partition, and then reformatted it as XFS. Everything is showing up properly in all forms of disk checking.
| Disk shows wrong size on DF, correct size in gparted and vmware |
1,534,811,933,000 |
After I've installed my Linux Mint 18.1 [dual booting with windows 8.1] i wanted to extend /home partition. So i installed gparted and tried to extend but couldn't, after doing some reading on the forums it says for most of people that they should delete the swap partition and then recreate it again so that the unallo... |
The best way here (in my opinion) is to move that unallocated space toward the root and home partition.
Here is how to do it :
Boot with an ubuntu live cd, and install gparted in it (sudo apt-get update && sudo apt-get install gparted)
launch gparted and resize the swap partition to integrate all the extra space in ... | Gparted Linux Mint 18.1 issue |
1,534,811,933,000 |
After using Kubuntu for a few months, I wanted to install a lower level OS, e.g. Debian. I used the Debian manual, by writing the ISO directly to the USB.
Now GParted doesn't see the USB, fdisk says inappropriate ioctl, and parted says unrecognized disk label. Is there a command to completely overwrite the file syste... |
Try to wipe the drive with (as root) wipefs --all /dev/sdX. Where X in sdX is the drive you want to erase. Be careful that you are choosing the right drive!
After that; I always use the dd command when writing to USB sticks. Like so:
sudo dd if=/home/<user>/Downloads/<debian>.iso of=/dev/sdX bs=4M;
Where X in sdX is... | parted - Completely overwrite USB device |
1,534,811,933,000 |
I have Ubuntu as virtual machine guest hosted in esxi server. The Ubuntu disk storage was 5 GB and I wanted to extend the disk up to 30 GB. I extended it via esxi client, and now I see this in Ubuntu terminal
root@linux:/temp# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 5.6G 5.3... |
This is similar to a situation where you have a larger disk, without having a extended the partition to use the available space. You will need to use a disk utility of some sort while /dev/sda1 is unmounted.
I would suggest using an .iso version of Gparted on the host which you can mount as a DVD drive on the Ubuntu g... | extend ubuntu partition in VM |
1,534,811,933,000 |
I recently got a message while updating some programs that my /boot is full. I've been on other posts and everyone says delete files in /boot but I thought making it bigger seems more logical and better long-term if it gets full again. I right clicked on the /dev/sda2 and click resize but it doesn't move. Any ideas?
... |
I figured it out. It's definitely due to the encryption. GParted sees such as un-partitioned - so can't do much to it.
Unfortunately it's going to be a command-line fix only. Here's a writeup on how to do it under Ubuntu: ResizeEncryptedPartitions - Community Help Wiki
| Can't resize /dev/sda2 extended partition with gparted live cd |
1,534,811,933,000 |
Okay... so I did something which I was probably not supposed to do. I have a 256 GB SSD. GParted from a live Kubuntu CD showed that I have 16gb of unallocated space. I wanted to add it to the root partition. However, there were swap and boot partitions between the unallocated space and the root partition, so I first a... |
Found the solution!!
My swap space was in /dev/nvme0n1p6, so I ran:
sudo swapoff -a
sudo mkswap -L swap /dev/nvme0n1p6 and
sudo swapon -a.
Then I disabled some startup services, and finally commented out the swap line from /etc/fstab. Don't know whether sudo sysctl vm.swappiness=10 helped or not, but after rebooting, ... | Kubuntu takes more than 2 minutes to boot! |
1,534,811,933,000 |
Suppose there's a hard drive /dev/sda, and both that:
/dev/sda1 is a single ext4 partition taking up the whole disk, and it's mostly empty of data.
dumpe2fs -b /dev/sda1 outputs the badblocks list, which in this case outputs single high number b representing a bad block near the end of /dev/sda; b is fortunately ... |
GParted doesn’t take any ext2/3/4 badblocks list into account; I checked this by creating an ext4 file system with a force bad block, then moving it using GParted. Running dumpe2fs -b on the moved partition shows the bad block at the same offset.
The result is 2, so the bad block ignored by the file system no longer c... | Does gparted make good use of badblocks lists? |
1,534,811,933,000 |
I'm stuck in linux installation process.
I've resized windows partition in order to be able to install linux (dualboot).
Here is a screenshot of computer manager tool :
Once, I've boot it on live usb, gparted tell me wrong information : there is only one partition witch takes the whole disk.
Here is the screenshot ... |
This looks like your USB disk you use to boot Linux. I assume there is a third drive in drop-down.
In the livecd, do the following in the terminal (you can leave gparted open):
sudo fdisk -l
It should spit out three drives, two that are around 120Gb and one 1Tb drive ...
| Gparted see NTFS windows partition as fat32 |
1,534,811,933,000 |
I am running a fedora Virtual machine and after much pain I managed to extend my virtual machines .vdi, from 20gb to 40gb. However it appears my pain is not over.
The machine still complains of low disk space, still has many errors and the gui disk usage analyzer shows I am full and so does df. However gparted tells ... |
The filesystem is 20G on a partition that has 40G. You need to resize the filesystem! growfs is the correct tool.
| Fedora "disk full", df, du (gui) confirm but gparted shows the partition is big enough |
1,534,811,933,000 |
I have an old Dell Inspiron 630m with Windows XP and I want to put some Linux distro on it. I have tried Ubuntu 12 but it did not work (nothing happend). Downloading older versions is slow. I am not a nerd (only wanabe) so I'm afraid of installations that are more complicated than Ubuntu. But the old laptop is a great... |
From what I found, this laptop is powerful enough to run a lightweight GUI (like XFCE, Openbox etc...).
You could start using Debian (which isn't much more complicated than Ubuntu) or Arch Linux (which is more difficult, but will be a good experience).
| Linux on a Dell Inspiron 630m |
1,534,811,933,000 |
gparted is said to be the GUI frontend of parted.
Why can't parted show used and available sizes for each partition, as gparted does?
If parted can, how can I make it show that information?
If not, how does gparted make it?
$ sudo parted -l
[sudo] password for t:
Model: ATA ST1000LM014-1EJ1 (scsi)
Disk /dev/sda:... |
On the command line, the used and unused space on each filesystem can be listed using the command df, assuming that the filesystems are mounted.
If you wanted to be pedantic, you could say more accurately that "gparted is a graphical frontend for parted and any combination of btrfs-progs/btrfs-tools, e2fsprogs, f2fs-t... | Can parted show used and available sizes as gparted? |
1,534,811,933,000 |
I've a 16 GB USB Flash drive with GPT partition table having 6 partition. fdisk and gdisk correctly detecting the partitions. Fedora 27, with mate desktop installed, can correctly mount all partitions but gparted showing only one partition with iso9660 partition table. Further that iso9660 partition is not deletable f... |
It appears that you have ISO signature remnants left on the drive. Perhaps you copied a .iso file directory to the drive at some point?
To remove the ISO signatures see GPT disk full of partitions looks like iso9660 with no partitions
To resolve this run the following:
sudo wipefs -o 0x8001 /dev/sdb
(It will surg... | gparted not detecting USB drive partitions in Fedora 27 only |
1,534,811,933,000 |
I'm downloading a huge file using a torrent client and I was wondering if I can use GParted to partition around 100gb of my 1tb to save time because I plan to dual boot this computer right after the download finishes.
Below is my current partition.
|
As the volume/partition that you wish to modify is mounted, you should not modify it. In fact, GParted will not let you modify mounted partitions:
Why are some menu items disabled?
The partition is mounted and modifying a mounted partition is DANGEROUS. Just unmount the partition…
To use GParted on the boot volume... | Is it okay to partition my drive while I'm downloading a huge file (4gb) |
1,534,811,933,000 |
This is my current partition table:
In which /dev/sda8 is the partition on Which I am currently running my primary OS - Trisquel GNU/Linux (you can see it's mount point as /). The /dev/sda1 is the primary partition containing Windows XP.
I want to resize /dev/sda1 (Size:50GB ; Used 27.97GB) i.e. want to reduce it to ... |
Before you can resize any ntfs based partition, you need to ensure all the files are pushed up to the start of the partition. This is acomplisehd by running the defragmentation process on the partition within windowsXP.
It may also be useful to delete any temporal files or any other stuff you don't want from the windo... | Gparted : Resize (split) Primary Partition? |
1,534,811,933,000 |
I'm formatting an external hard drive with gparted.
The original NTFS read 232.28 MB used.
Now, with Ext4, it reads 1.92 GB used.
Questions:
Why?
Is there a better file system I should use for external drives?
(This drive will only be used with linux computers. )
Thank you!
|
I assume those "used" values are both for a freshly-created, empty filesystem of the same size, and that's where your confusion comes from. Those "used" values suggest that the actual size of the filesystem on the external drive is probably quite large (say, more than 1 TB?).
On a freshly-created empty filesystem, the... | Formatting the same drive with gparted: original NTFS=232.28MB used | Ext4= 1.92 GB used Why? |
1,534,811,933,000 |
Good morning from Australia.
Could someone please help me. I have researched this topic for days but nothing seems to exactly cover my particular question with the space that I have.
I am running Linux mint 20 and have recently unmounted and deleted my windows partition in Gparted, which left me with approx 152G of un... |
You need to boot from a Linux Live USB/CD with GParted to be able to resize your root partition since it is currently in use (see the key symbol).
You can boot from your Linux Mint USB stick or download a GParted Live CD/USB ISO and write that to a thumbdrive.
Then start GParted, select "/dev/sda7 Linux Mint", right c... | expanding my linux mint partition to include unallocation partition |
1,534,811,933,000 |
I have Windows and Arch Linux installed in my system. I plan to increase the size of my root partition by shrinking the home partition using GParted live USB. But there is a swap partition between my root and home partition. I thought of shrinking the home partition and adding space to the swap and then shrink the swa... |
You can keep the size of the swap partition, you just need to move it:
Shrink the home partition, the freed space is now between swap and home.
Move the swap partition, so that the freed space is between swap and root partition.
Increase root partition.
| How to increase root partition size by shrinking home partition using gparted live usb? |
1,534,811,933,000 |
So my dilemma is that my Ubuntu installation is on the last partition. Here is a screenshot of GParted.
Also on a hdd. Not sure if it makes a difference.
|
You won’t be able to resize the partition that you are current running in - it appears here that you’re booted into the Linux install that’s running on /dev/sda5? If that’s the case, you can boot a liveCD or a USB installer, so that all of the partitions on /dev/sda are unmounted. Once unmounted and booted from a li... | I am on Ubuntu. How do I expand last partition in GParted? |
1,534,811,933,000 |
I have transferred the whole 64 gb sd-card to a 128 gb sd card. the 64gb sd card is from a Raspberry Pi 4 and contained 5 partitions. I used this command: dd if=/dev/mmcblk0p of=/dev/sdb after the process finished I inserted the 128gb sd card and the Raspberry is working fine. However, there are now 64gb of "unallocat... |
Here are the commands needed :
echo ", +" | sfdisk --force -N 2 /dev/mmcblk0 # Extend the extended partition to maximum
echo ", +" | sfdisk --force -N 7 /dev/mmcblk0 # Extend the partition p7 to maximum
Then run resize2fs
http://man7.org/linux/man-pages/man8/sfdisk.8.html
Do a full backup, and verify it, before you r... | How can I expand my ext4 filesystem after transfering via dd |
1,534,811,933,000 |
I have the following /etc/fstab entry which fails to execute at system boot/startup:
/dev/sdb1 /media/ssd256 ext4 rw,user,exec,umask=000 0 0
Doing
sudo mount -a
yields:
mount: /media/ssd256: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
However, i... |
This is why...
dmesg | tail will show:
EXT4-fs (dm-4): Unrecognized mount option "umask=000" or missing value
Indeed, the umask option is not part of the accepted options for the ext4 file system : see man mount.
| Can only mount with gparted |
1,534,811,933,000 |
I run a dual-boot system, and the Linux distro is Ubuntu 14.04.
I have used GParted to enlarge a logical partition, named /dev/sda6, on which the /home directory is normally mounted. According to the GParted report the operation has been completed successfully. The partition is 85 GiB large, of which 83GiB used and 2... |
You are probably using one of the ext filesystems (the default linux filesystem, usually ext4). Most of the time, when created, it will be created with a specific buffer called reserved blocks.
This reserved space is meant to be only writable by system processes and root and therefor protect the OS from the disk filli... | Reserved-blocks issue: partition size successfully changed but not recognized by the OS |
1,534,811,933,000 |
I finished the Arch Linux install successfully and installed GNOME. But I think I made my partitions too small:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
D... |
Resizing partitions into the free space after them works pretty well with gparted. Of course you should have a backup for safety, especially when you're not experienced with the procedure. As far as I remember, gparted offers to resize the filesystem after you've resized the partition, that would be the easiest way. I... | Can I Grow A Linux Partition After Making It & Not Lose Data? |
1,456,367,661,000 |
I have a hard drive that came out of an old Windows PC, which I'm using as a second hard drive. Because it was already formatted as ntfs, I didn't want to reformat it and lose all the data on it, so I just used it as one would a USB drive. I have to get nautilus to mount it every time I log in.
However, the partition ... |
You can definitely expand an ntfs partition with gparted. Ensure you have ntfsprogs installed (yum/dnf/apt-get install) first.
You can right click /dev/sda2 in that list and click rezize/move and go from there. Move the slider as needed to fill in the space.
You might be able to grab up the first 200MB of the drive t... | Expanding a hard drive partition to fill the drive without wiping the partition? |
1,456,367,661,000 |
Sometimes but not often, but many times, after formatting an SD card with Gparted, the SD card becomes unaccessible to normal user, so I go as root and change the permissions, happens especially when changing the file system from say Fat32 to Ext4. Reformatting doesn't help. Does Gparted changes the permissions on dis... |
If you are using mkfs.ext4, you have to pass -E root_owner=your_uid:your_gid, this is usually passed in an 'extra options' textbox in gui partition tools. If you dont do this (< mkfs 1.42) then the person running the gui tool will get the permissions. Nowdays, for security, it assigns them to root:root (0:0). If you ... | Does Gparted change permissions? |
1,456,367,661,000 |
Xubuntu 12.10
XFCE with Greybird theme
Hello,
this is my GParted screenshot:
Could anyone please give my any advice on how to make changes to have more space available for use in Linux? Let's say I manage to take 10 GB out of the /dev/sda3 partition which is currently formatted in ntfs, how would I proceed then?
|
To have more space for your Linux installation you need to expand sda6. Having freed up 10GB by shrinking sda3 you would then expand sda4 by 10GB and expand sda6 to fill up all of sda4.
However, resizing existing partions, especially NTFS ones, always bares the risk of loosing all data on that partition! I don't know ... | How should I partition my hard drive? |
1,456,367,661,000 |
I was trying to Linux Mint from live-usb and made a stupid mistake.
I created master boot record and my HDD partition become unallocated.
After rebooting from live OS, I'm unable to get to boot menu.
Is there any way to recover all my data? Right now I can only boot to live-usb.
|
First, to avoid messing up, you should backup an entire image of the disk (provided you have a bigger disk to store it). For this, several solutions are proposed on this question, last time i did it, I used dd. Once you are sure you can restore the image in case of problem, you can use testdisk to redetect the partiti... | gparted partition master boot record corrupt |
1,456,367,661,000 |
I need to move a Pop-OS installation from a 250GB HDD to a 128GB SSD. So far I have been trying to use GParted (which worked for moving my Ubuntu installation between drives of the same size).
The recovery and boot partitions copied properly, but to copy the main (root) partition I need to shrink it first (there is en... |
Solution is simple:
Don't shrink the partition and copy it.
Instead, make a new partition on the target SSD, and copy over the files from the old partion. There's no reason why you couldn't do that – and it's both easier and safer.
| Moving Pop-OS installation to a smaller drive (using GParted?) |
1,456,367,661,000 |
I have a SD card that is giving me some trouble.
I followed some instructions from here https://forums.linuxmint.com/viewtopic.php?t=368230 and used the command
sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1
(I know this is dangerous. i've done it because the card was really cheap, and I suspect it is bogus). it ran ... |
When a card suddenly changes to 0 capacity, that's not under the control of your PC: that's the controller within the SD card stopping to work.
Since you have no way of debugging the software running on that controller, nor any way to look inside its hardware:
Your card is e-waste. That was essentially clear when you ... | unable to find or mount sd card |
1,456,367,661,000 |
I am using the Live version of Kali Linux and now I'm realizing that having persistence might be a good idea. There are some tutorials out there showing how it can be done on Windows and it looks easy with tools like Rufus. However the thing is that I have a Multiboot USB containing some other ISOs like one for a live... |
Ventoy is a fantastic option, and it sounds like you might be halfway there already with setting up a drive. Have you tried Ventoy's configuration tool, Plugson? It's browser-based and runs on your local machine, providing a point-and-click configuration for some of the trickier stuff, like persistence files.
Ventoy's... | Is it possible to create a MULTIBOOT USB with Kali + persistence? |
1,456,367,661,000 |
How do I extend the size of /dev/sda5 using the unallocated space on the top? I've tried using the resize/move option directly but can't do that because the partition is mounted and it can't be unmounted since it is the only partition. I tried swap-off and then increasing the size of swap. And it didn't work either.
|
Boot in a live usb and extend the partition. While it should work fine, better have a backup. You cannot extend ext4 foward (to leading empty space) on-line.
| How to extend partition size without losing data? |
1,456,367,661,000 |
I have a wokring image file for an ARM embedded Linux system.
The rootfs partition is way too big and I want to shrink it.
Initial scenario:
Disk /dev/loop0: 7,22 GiB, 7744782336 bytes, 15126528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optima... |
This is probably because the partition type is a2.
A2 Hard Processor System (HPS) ARM preloader
This partition type is used for bootable images of ARM-type computers.
For a normal Linux system that uses an x86, you should be able to delete this partition.
----edit----
Because this is ARM, it is the preloader image. ... | Moving the third partition might prevent the boot of os |
1,456,367,661,000 |
df -i report 96% left, df report 0% left (but 609M available), gparted report 18.55G left
All for the same partition
Is there any space left?
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdx0 23419200 705376 22713824 4% /home
df
Filesystem 1K-blocks Used Available Use% Mounte... |
For an ext4 filesystem it looks good to me.
Disk space available: 353 GiB
Disk space used: 334.3 GiB
Actual remaining disk space: 18.7 GiB
The extN filesystems reserve 5% for root access, so that when users fill up the filesystem there's still a little left for the system, and for housekeeping and filesystem mainten... | df gparted space left [closed] |
1,456,367,661,000 |
After a failed resizing operation, mount operation is failing with:
Failed to read last sector (718198764): Invalid argument
The partition is not accessible with Gparted and other GUI tools. How can we fix such issue?
|
Analyse
ntfsfix -n /dev/sda5 the n parameter will make the tool output the repair solution without applying it (be very prudent using such tool as automated repair tools can choose the wrong decision to repair the partition)
ntfsresize -if /dev/sda5 this will tell us what's going on exactly...
Backup
First thing first... | Partition mounting/resizing failed to read last sector? |
1,456,367,661,000 |
I have a dual booted machine (Linux Mint 19.3 Cinnamon and Windows 10) and am looking to allocate space from Windows to Linux. I have already removed space from my C:\ and D:\ Drive without any issues, but I am having trouble extending my Linux Partitions. My Allocated space is BELOW the unallocated space. Here is a s... |
First, backup your data.
Boot Linux from a Live USB (GParted or your Linux Mint 19.3 Cinnamon Live USB) and start GParted.
Instead of assigning the unallocated space at the bottom to "Linux Root", it's easier to use a part (~14GB?) of the unallocated space at the top.
Resize/move /dev/sda5 "Linux Root", grow the part... | Merge Allocated Space with Unallocated space in Gparted |
1,456,367,661,000 |
There seem to be many scenarios, I read quite a few, but I caould not find a match for my problem.
I have this gparted view on my system:
I had sda6 swap sit right behind sda5; I moved that sawp space to another disk. Then swapoff and deleted sda6; then extended sda5 to consume the free 8GB... all good so far.
These ... |
gparted and other partitioning software will be funny about extending logical partitions (those within the extended partition sda3) because the underlying extended partition would need to be extended first with the others still inside.
I suggest, you clone your disk to be safe, boot a live image and try gparted from t... | Extending an extended partition with following unallocated disk space |
1,456,367,661,000 |
I'm on PopOS 19.10, and I try to create a partition on my new SSD (Crucial MX500, 1TB).
Note that it worked on Windows, I could create a NTFS partition, so from this base I admit my SSD is healthy (can I ?).
First I tried from GParted, but it gives me a warning: unrecognised disk label. I have to create a partition ta... |
I solved my issue. The fault was due to the SATA cable ! I just changed it and everything works fine now.
Thank you @Jonas Berlin @schweik for your helps !
| Cannot create partition on hard drive |
1,456,367,661,000 |
I'm trying to expand my main linux partition from a Debian install, /dev/sda1 into the 7gb unallocated free space. Normally I would just use the resize feature in GParted but because the free-space isn't alongside /dev/sda1 I can't. How can I expand my main partition without corrupting the partitions/losing data?
|
Back up your data.
Use a live USB system or similar and then from it:
Move the swap to the end of sda2.
Shrink sda2.
Enlarge sda1.
In fact there's no point in keeping the logical sda2 just for swap, so you might prefer to remove the swap and then sda2, and finally just build a new swap partition at the end and follo... | GParted - expand main Debian partition into freespace |
1,456,367,661,000 |
I have the following:
Western Digital 2 TB HDD (65GB used space)
Seagate 250 GB HDD (with nothing on it)
The 2 TB HDD has Mac OS X 10.6.8 that I need to clone onto the smaller drive in order to use it with a Mac Pro (A1186). I want to shrink the partition on the 2 TB drive via gparted and then use clonezilla to clon... |
You can restore the drive with DiskUtility in Snow Leopard, no shrinking needed.
Erase the 250GB as "Mac OS Extended (Case-sensitive Journaled)" (or without "Case-sensitive")
Right-click "Restore" on the 2TB, choose source and destination (drag the partitions into the fields), click "Restore".
Finished
| How do I clone a 2 TB HDD onto a 120 GB HDD (shrink partition using gparted) |
1,456,367,661,000 |
I have the following setup:
sda7 is my /home (Linux Mint) that I want to merge with sda8 (which I cut out of Windows). I read here that I can't combine two partitions that are not adjacent and that they can't be both extended. Is this true? If so, should I convert one of them into something else? I have no option to ... |
Here's a high-level overview for how to get some unallocated space you can use for sda7.
Get the contents of sda8 and add them into sda7.
Delete sda8.
In the unallocated space where sda8 was, create a new Linux swap partition; The same size as the one you already have.
Delete the "old" Linux swap partition, sda6.
Th... | How do I merge two ext4 partitions? |
1,456,367,661,000 |
I want to duel boot windows and Ubuntu, however i don't want anything on windows to be able to access my Linux partition. Is there anyway to do this without encryption? As i don't want to slowdown read/write times on my Linux system.
|
You have 2 options, to stop deletion.
Separate hard-disks, and hardware switches.
If you want to do it with the same hard-disk, then you will need some virtualisation software to run under MS-Windows.
There is no other way, as MS-Windows is an operating system, it can do what ever it wants with the hardware.
To stop... | Protect linux partition from windows |
1,456,367,661,000 |
I installed Fedora 28. But I resized the partition that contained Fedora (/dev/sda7) wrongly using GParted and now I can't boot my system. (Note the partition format is ext4)
|
Resizing a partition does not implicitly resize any filesystem it might contain. You should have shrunk the filesystem and then shrunk the partition. (I'm surprised gparted didn't warn you.)
However, to try and fix the damage, resize the partition back to whatever it was before. If you're not sure of the value then ma... | ext4 partition is broken during resizing with gparted |
1,456,367,661,000 |
I'm sorry for asking something as elementary, but the information is very confusing and, even when there are ISO recommendations, not everybody follows them.
The manufacturer says my laptop has "8GB DDR4 system memory" and I want to set a swap partition with EXACTLY that size + a small margin, but the version of gpart... |
The command free -m will give you the size in MiB (2^20 bytes per MiB) and the command free -mega will give you the size of your RAM in MB (10^6 bytes per MB) There are other options: man free
You will probably want MiB for gparted, as it doesn't use MB. An alternative to using gparted is to create a swapfile. That ma... | How to conver each GB "manufacturer" RAM to the EXACT MB equivalent gparted uses? |
1,456,367,661,000 |
I resized a FAT filesystem. Then the filesystem stopped working as a Windows 10 Recovery Drive. ("This may be due to a recent change in your hardware or software..."). And a running Windows is unable to open the filesystem, when it could before.
Resize tool: gparted-0.27.0-1.fc25.x86_64 (Fedora 25)
The resize was ... |
There is some defect in this gparted. Although Linux is able to mount the resulting filesystem (and the files compare identical to the original), file -s shows the following weirdness:
Before
/dev/loop0p1: DOS/MBR boot sector, code offset 0x58+2, OEM-ID "MSDOS5.0", sectors/cluster 8, reserved sectors 3310, Media des... | Windows doesn't like resized FAT filesystem |
1,456,367,661,000 |
I need partitioning my USB stick into two parts.
Specifically my aim is to install Windows-to-go on the second partition and use the first one as a multiboot device for my Linux distros; these distros are already installed on it and so I prefer not to delete the current partition, if possible, so I would like to resiz... |
From the above output (repeated below) the USB device does not contain a partition table. Instead the device is formatted entirely with the fat32 file system starting at 0. This means that no space was left at the start of the device for a partition table.
Model: KINGSTON DataTraveler 3.0 (scsi)
Disk /dev/sdc: 15,6G... | partitioning a usb stick with gparted |
1,456,367,661,000 |
Why am I getting inconsistent/conflicting pictures of the DATA partitions that were created in the CentOS 7 installation process when I use df -T -h, parted ... print, and fdisk -l? In case it matters, used xfs file system because that was the default.
The Background of the process is:
During a recent installatio... |
It appears you chose to use logical volumes (LVM) rather than partitions. These are not partitions, and are managed using a different mechanism.
Try using an LVM command like sudo lvm lvs. This should list the logical volumes.
| why are DATA partitions not consistently reported in CentOS 7? |
1,456,367,661,000 |
I have a CentOS system that has 508 G free space.
I want to create a new partition from it.
It locates in extended partition.
I create new partition and format it as anything (ext4, fat32), after apply it can't finish the process and gives me this error:
An error occurred while applying the operations
See the details... |
You Should inform kernel about the changes made to the disk. for that you need to run partprobe.
# partprobe /dev/sda6
Then you should run mkfs.ext4 to assign the filesystem to the newly created partition.
# mkfs.ext4 /dev/sda6
In this way your partition is ready to mount
# mount /dev/sda6 /mountpoint
| Can not create new partition |
1,679,997,093,000 |
What am I doing wrong?
I have an image, I added it as a loop device:
losetup -P /dev/loop13 ./my_image.img
gparted screenshot:
Then I try to change the FS size for the partition first:
e2fsck -f /dev/loop13p1
resize2fs /dev/loop13p1 7G
It outputs:
Resizing the filesystem on /dev/loop13p1 to 1835008 (4k) blocks.
The... |
In order to use parted correctly, you unfortunately have to do a little math sometimes.
parted /dev/loop13p1 resizepart 1 7G
This command probably does not do what you expect.
parted works with block devices that have partition tables on them. So in the case of /dev/loop13p1 it would be a partition table on a parti... | Change the size of the partition using parted |
1,679,997,093,000 |
I was using Windows 11 on my laptop but I wanted to install a Linux distro on the side.
Therefore, I've shrunk 30GB of the OS disk and I installed Pop_Os. During the installation process, I've created a EFI and root partitions.
I now wanted to extend the ext4 partition. I was able to shrink even more the original OS d... |
You need to do the resize from a LiveCD -- the nvme0n1p5 partition is currently mounted. Ext4 can be resized when mounted, but only to the right -- resizing it to the left actually means copying/moving the data to the start of the free space and then resizing the partition and that cannot be done with an active (mount... | Extend partition created on laptop with Windows 11 and Pop OS |
1,679,997,093,000 |
I use a primarily windows system dual booted with my ubuntu 18.04
Since about 1 year, I was not able to boot up into ubuntu (initramfs prompt opens, and no solution I could find worked).
This original issue occurred after a BIOS update from windows.
So unable to solve the issue from grub directly, I decided to use boo... |
So i solved it myself, I had to change my ssd mode to AHCI in the BIOS Menu.
Boot repair worked fine, no boot issues anymore.
| Partitions not detected by ubuntu 18.04 live usb |
1,679,997,093,000 |
I want to take 20G from my /home and put it in my /. I logged into live installation drive and launched gparted.
The partitions look like this:
sda4 is root, sda5 is boot and sda6 my home partition.
If I click on sda6 and resize it from left to right I will get a warning that moving partition might cause your operati... |
There's no need for gparted to generate a new /etc/fstab (it never does this anyway). You are not creating any new partitions or changing UUIDs, so you should be good to go.
That being said, that warning is posted for a reason: PLEASE have a system backup in case gparted crashes.
| increasing the size of root partition and reducing the size of home |
1,679,997,093,000 |
My configuration:
/dev/sdb2/ -> Windows 10 Partition
/dev/sdb4/ -> Ubuntu 18.04 Partition
I would like to decrease the Windows 10 partition and give that unallocated space to the Ubuntu 18 partition, but there is an EFI (boot, esp) partition between them. What is the best way to achieve this ?
|
Boot a Linux Live CD from USB and run gparted again. You can't resize your root partition while it is being mounted (the lock symbol).
Steps to do:
Resize the Windows partition "to the left", the freed space should be on the right side.
Move the ESP partition "to the left", so that the free space "is moved" from the ... | Is it safe to move this EFI partition? |
1,679,997,093,000 |
After hours of searching on the internet for answers, I still cannot unlock my root partition in GParted. I want to add 100gb unallocated space to my current /dev/nvme0n1p7 "fedora_localhost-live" 33gb partition. I am running dual boot fedora 31 on my Windows 10 device. Does anyone know what I am missing here?
I have ... |
You do not need to move this 100GB space. Just create there partition. Then create this partition PV
pvcreate /dev/partition_name
then add the PV to the VG
vgextend fedora_localhost-live /dev/partition_name
And you have 100GB more in your VG
| How to unlock root partition using LiveUSB Gparted |
1,679,997,093,000 |
I'm trying to create an external hard drive with NTFS part for info and hidden bootable fat32 part.
Here is an error
.
|
I could be wrong, but it does rather look like you've got a filesystem directly on the disk, without any partition table.
If that is the case you cannot have additional partitions without wiping the disk and starting over, this time with a partition table.
| Gparted: too many primary partitions |
1,679,997,093,000 |
I have a 250 GB Samsung Pro SSD in my Lenovo desktop. Initially Debian 9 was using the whole disk. Recently I decided to shrink my Debian partition and create two more partitions, one a shared data partition for my Nextcloud, and on the last partition I installed Xubuntu 19.04 with the Xfce 4.14 pre-release PPA instal... |
In Xfce in Appearance I changed the Style and Icons. Then in Window Manager I changed the Style. Now applications load just as fast as before. I am not sure why.
| Applications loading slightly more slowly after shrinking Debian 9 root partition |
1,679,997,093,000 |
In my sdb drive I have 76 Gb of unallocated space. I would like to extend the partition sdb3. However gparted hangs if a try to extend this partition. Anyone knows why?
|
I copied the content of this partition to anther hard drive. Then I deleted the sd3 partition and finally I create a new partition with the full size of the disk.
| Unable to extend a partition in gparted |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.