Skip to main content

Questions tagged [move-partition]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
125 views

Fedora - Migrate root filesystem to new drive / partition

I need a quick bit of help. I've migrated my /root and /home directory off a BTRFS partition to and EXT4 partition, because, for some strange reason .. BTRFS always fail! .. However, now that the EXT4 ...
E Net Arch's user avatar
0 votes
1 answer
29 views

How to correct mistake of having allocated not enough space to the root partition (not a trivial case)

When partitioning my hard drive (the only one I have) prior to installing Linux I made a mistake of not allocating enough space for the root partition. And now I have the following set of partitions (...
S. N.'s user avatar
  • 297
0 votes
1 answer
64 views

Ubuntu resize partition in in backward direction

I am using Ubuntu 22.04 LTS in a windows dual boot setup. This is the state of the partitions at the moment. (Windows Screenshot) On my Ubuntu, I have the following df -H ...
inquilabee's user avatar
0 votes
1 answer
187 views

How do I permanently recover from grub rescue?

This question relates to a Windows/Linux dual boot system on a DOS-partitioned SSD (i.e. none with GPT/UEFI). Originally, the computer only had Windows 10 on an HDD. Then I managed to transfer this ...
Adalbert Hanßen's user avatar
0 votes
1 answer
1k views

How can I extend the root/filesystem to take unallocated space?

This is what my partitions look like. The first one is the /root partition that I need to extend, second one is the /home partition and the third is the unallocated space that I want to add to the /...
best_of_man's user avatar
0 votes
1 answer
2k views

How to combine two partitions?

I installed Linux Mint in a dual boot alongside Windows 11, however now I am trying to get completely rid off Windows 11, however I haven't been able to combine the two partitions that I used for ...
Vopbe's user avatar
  • 3
4 votes
1 answer
4k views

Move a partition to the right using command line tools

I have a partition, say 190 GB, followed by 100 GB of unpartitioned disk free space. I want to move this partition 100GB "to the right" (towards a higher sector number), so that the free ...
Totor's user avatar
  • 20.3k
1 vote
1 answer
1k views

Moving root partition to a new drive, how do I mount both drives?

I currently have my root partition on a 480GB Sata SSD. I recently bought a new NVME 2TB drive which I would like to boot off of. Using Arch Linux btw. What I plan to do is the following: Create a ...
JLCarveth's user avatar
1 vote
1 answer
24 views

Move around data between boxes taking advantage of an external HDD

My aging computer will need a replacement. That will happen in a couple of months but, in the mean time, I would like to learn techniques related to improving performance and resilience of data. I ...
eftshift0's user avatar
  • 605
2 votes
1 answer
483 views

Does moving a partition change its UUID?

I'm running Fedora 36 with a BTFS root partition, a Swap partition and an ext4 Boot partition. I ended up needing more space on my root partition for a couple of reasons and so I wish to delete my ...
To Do's user avatar
  • 1,346
1 vote
0 answers
668 views

How can I resize the partions, reduse /home partition, and increase the root partition without adding additional hard-drive space

For Virtual Machine I'm using with VMware, and for OS the Ubuntu 20.04. I create the 500Mb for /boot, 30GB for root /, 8192MB for /swap and others for /home partition. When I installed the Ubuntu, I ...
morris's user avatar
  • 13
1 vote
2 answers
308 views

Extension partition /var with some giga of partition /home

I have a RHEL 7.9 virtual machine without GUI, and I would like to make updates via the yum update command but it tells me that the disk is full, especially on the /var folder. I thought I'd take 10GB/...
Kanuc's user avatar
  • 41
0 votes
0 answers
810 views

Merge /home partition to partition mounted at /

My current situation is the one shown below: What I want to do is to remove /home partition and have it as a directory in the file system mounted at / I consulted this in order to do so but in my ...
D.Mark's user avatar
  • 1
0 votes
0 answers
51 views

Resizing and moving win 10 partitions to a debian box

Context: After replacing a win 10 hdd with an ssd that runs debian 11, how can the partitions from the hdd be copied over to the ssd so that win 10 is bootable? # lsblk NAME MAJ:MIN RM SIZE ...
Sebi's user avatar
  • 1,029
1 vote
3 answers
4k views

Is it possible to move /home mount point from one disk to the disk where / mount point is?

I have this setup of Ubuntu 18: two identical disks. In one (sda) there is / and /boot/efi. In the other disk (sdb) there is /home. The free space in sda is enough to hold what is used in sdb. I would ...
Gustavo's user avatar
  • 113
1 vote
1 answer
216 views

Move and shrink a partition at the same time

It is possible to shrink a partition with, for example, parted. It is also possible to move (copy) a partition from one hard drive to another, by creating a partition of the same size on the target ...
leo's user avatar
  • 26
1 vote
0 answers
1k views

Ubuntu frozen boot after moving root partition

[Go to the end to see the solution] I have a dual boot system with Ubuntu and Windows 10. I have enlarged and moved (to the left) Ubuntu's "/" partition with GParted. When I boot my system, ...
matbun's user avatar
  • 11
1 vote
1 answer
2k views

Move filesystem to the left after expanding partition to the left

TL;DR I have a dd image disk.dd which has multiple partitions. The end goal is to reduce the size of this dd image file. After deleting and recreating a higher numbered partition with a start sector ...
GypsyCosmonaut's user avatar
2 votes
1 answer
632 views

Extended partition not aligned to physical sectors. All other partitions aligned. Is this an issue? How can I fix this?

I somehow messed up my partitions when I was trying to clean reinstall Linux Mint. Now whenever I type sudo fdisk -l, it would always give me warnings: $ sudo fdisk -l [sudo] password for sneknotsnake:...
SnekNOTSnake's user avatar
0 votes
1 answer
183 views

How to proceed to enlarge /boot

I know how to use gparted on a livecd to resize partitions, but here it's a bit more complex and I don't want to screw it up. I have a /boot which is ridiculously small (can hold only one kernel at a ...
dargaud's user avatar
  • 565
0 votes
0 answers
279 views

How to extend Linux partititon dual booted with Windows? And how to rebuild Grub after extending the partition?

I have dual booted Linux(Kali Linux) and Windows, Due to of shortage storage in Linux ,I want to shrink the Windows partition and extend Linux partition I know there are many posts regarding this, I ...
Adil's user avatar
  • 3
1 vote
1 answer
2k views

Low disk space “apt/archives”

I am having the famous warning "low disk space" on my Linux Mint in var/cache/apt/archive directory, and I want a permanent solution ( aka not apt-get autoclean because the mentioned ...
Peter Farhat's user avatar
0 votes
0 answers
142 views

Dual boot Debian & Windows 10 - extending partition after cloning on larger disk

I'm messing around for a week and I'm stuck right now. I had a 128gb SSD with Windows10 (partition 1,2) and Debian (partition 3,4) running on dual boot I needed more space however. So I cloned the ...
Nikolaij's user avatar
  • 101
1 vote
0 answers
876 views

Corrupted Linux partition after move+resize job, no backup. Any advice?

TLDR: I stupidly corrupted part of my partition table after a move+resize job. I don't have a backup for the table or the data. What would you recommend to restore the partition table? I'm ready to ...
jwav's user avatar
  • 121
1 vote
1 answer
2k views

Moving the root partition to another partition

Background: I am running Manjaro Linux in a 750 GB HDD Laptop with 30 GB root. I had a Win installation but I've removed it now. Now I want to move my root in a larger space, say 60GB, in another ...
Abdullah Ibn Fulan's user avatar
0 votes
1 answer
324 views

Safely move debian partition from windows

I have a laptop with Windows 10 and Debian 10 installed as dual boot. The problem is that I want to expand my Debian partition, which is 40GB, but from Windows Partition Manager I see that space in ...
Nonko's user avatar
  • 9
2 votes
1 answer
2k views

How to change extents of logical volume on LVM physical volume

I am trying to resize an encrypted physical volume so that I have free space to make a dual boot system. So far, I've successfully decrypted the PV, resized the filesystem and the LVs but when I try ...
Nukolas's user avatar
  • 123
2 votes
0 answers
62 views

I am reallocating some partitions in the same disk. Before to do, how can I keep an ephemeral backup of it?

Because I have an ssd and an magnetic hard disk drive I have installed my GNU/Linux distribution like that: The /var and /home in the magnetic one disk whilst The rest of my system in ssd (the /) ...
Dimitrios Desyllas's user avatar
2 votes
1 answer
776 views

Add (already created) partition for /home after OS installation

I made a separate partition for /home, but during installation process I forgot to mount it and hence no entry was made in fstab. I had everything in partition under the root ( well not the swap and ...
Just Khaithang's user avatar
1 vote
0 answers
145 views

How do I shrink a partition from the beginning? i.e. create empty space at the beginning of the block device?

I have devices with SD cards, with several partitions. The first partitions on the card is typically not mounted, and have vfat filesystem. What I want to achieve is, to create a 1MB free space just ...
Atilla Filiz's user avatar
3 votes
1 answer
2k views

How to copy partitions from one device to another, including boot partitions?

Basic Explanation How could I copy partitions sdh1 though shd4 from my 600gb HDD (sdh) to my 1 TB SSD (sdg)? Which are my Windows partitions and still keep it bootable? I used GPT. Below is a ...
MathCubes's user avatar
  • 301
3 votes
2 answers
4k views

How can I move a single partition to another empty drive?

I've got a partition P1 (which contains my Linux OS) on a drive A. I've just gotten a completely new drive B (that is larger than partition P1 AND the entire drive A). I'd like to copy across the ...
Chris Stryczynski's user avatar
0 votes
1 answer
1k views

Resize extended partition containing /boot/EFI and root

I am trying to expand the size of my root directory as I am running low on space. I have tried resizing it from a Live USB and it won't let me. The text in red is the mounting point (according the ...
Husky2490's user avatar
0 votes
0 answers
106 views

After moving root partition in Linux Lite (Lubuntu), do I need to run fsck?

I finally migrated from Windows to Linux, and I chose Linux Lite (based on Lubuntu) as my first attempt, through dual-booting my PC. I loved using Linux, so I decided to steal most of the space of my ...
flen's user avatar
  • 161
-2 votes
1 answer
1k views

How to move right the extended partition, to free room to enlarge the primary one?

What are the linux commands to move right the extended partition (below) over the 7G of free space while enlarging it as the primary partition with that amount. Here is parted outputting print free ...
Lucian Vidrascu's user avatar
1 vote
3 answers
940 views

Changed Partition Number and now Grub fails to start

I deleted a partition on my hard disk, causing the partition numbers of the 2 Linux installations to decrement. When attempting to boot the computer I get the message error: no such partition and I am ...
user261205's user avatar
6 votes
2 answers
5k views

How to resize at the beginning/move a btrfs partition on the command line?

I have a Linux/Windows dual boot setup on my notebook, in which I used to keep most of the data on the Windows partition to be able to access it from both systems. Since I almost never use Windows I ...
jorsn's user avatar
  • 153
2 votes
1 answer
2k views

How to resize the disk of an Ubuntu-VM correctly with GParted

I use VirtualBox on Windows 10 to run a VM using Ubuntu 16.04.1 LTS. I got the VM from my University with a disk size of 20GB which was way to optimistic ... so I want to resize it to 50GB so I ...
derHugo's user avatar
  • 137
12 votes
3 answers
33k views

Can I move boot Linux partition to another drive or partition and just boot from there?

Can I move a working boot partition / root filesystem to another drive/partition and just boot from there? Or will device names be changed and this cause the system to stop working?
Dims's user avatar
  • 3,285
0 votes
1 answer
1k views

Moving encrypted partition to another disk in Fedora

I've got a laptop with a SSD and HDD. Right now, everything is on the SSD but as I'm starting to need some more place I wanted to move one of my directory to the HDD. All my heavy files are under /...
Ise's user avatar
  • 101
1 vote
2 answers
62 views

Imperfection of partition management in Linux

Disclaimer: I'm not an expert in Linux systems, my main experience is Windows. A some time ago I've found out that on my work PC partitions are separated not in the way I would like to. I have super-...
The Godfather's user avatar
1 vote
2 answers
211 views

Expand a partition

I want to increase the size of partition /dev/sda2 (root partition) by including the unallocated space of size 2 GB as shown in the screen shot below. How to achieve this? My laptop has 2 Operating ...
Ravi's user avatar
  • 3,853
1 vote
1 answer
802 views

Dual Boot System, Moving Linux Mint to SSD

Good day, I have a 120GB SSD, and 1TB HDD on my system. And on my SSD I have Windows installed. Afterwards, I added Linux Mint as dual boot. Before I install, I shrinked space from the HDD and created ...
Alp's user avatar
  • 113
2 votes
1 answer
611 views

Change size of /home partition and move /var/www on new partition

I have one issue. Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.8G 5.8G 3.5G 63% / udev 11M 0 11M 0% /dev tmpfs 1.3G 9.5M 1.3G 1% /run tmpfs ...
Ivijan Stefan Stipić's user avatar
1 vote
2 answers
839 views

Moving partitions on ubuntu dual installations without affecting boot partition

Please have a look at my dual ubuntu installations. The top one in the photo below is Ubuntu 16.04 and the other is Ubuntu 16.10. I want to increase the size of root partition /dev/sda2 (of size 7.03 ...
Ravi's user avatar
  • 3,853