Questions tagged [move-partition]

41 questions
12
votes
3 answers

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
  • 3,181
  • 9
  • 49
  • 107
5
votes
1 answer

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 shrunk the NTFS partition and plan to move the…
jorsn
  • 143
  • 2
  • 6
3
votes
1 answer

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 diagram the layouts of my partitions on the 600GB Hard…
MathCubes
  • 301
  • 1
  • 2
  • 11
3
votes
2 answers

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 partition from drive A to drive B, and possible…
Chris Stryczynski
  • 5,178
  • 5
  • 40
  • 80
2
votes
1 answer

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 swap partition, move my boot partition to the end of…
To Do
  • 1,296
  • 2
  • 12
  • 29
2
votes
1 answer

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: Disk /dev/sda: 465,78 GiB,…
SnekNOTSnake
  • 123
  • 4
2
votes
1 answer

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 to resize the PV I run into issues relating to the…
Nukolas
  • 123
  • 4
2
votes
0 answers

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 /) But due to a mistake I allocated a small space for…
Dimitrios Desyllas
  • 979
  • 3
  • 11
  • 27
2
votes
1 answer

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 efi system partition). I realised what I did, very…
Just Khaithang
  • 412
  • 1
  • 5
  • 16
2
votes
1 answer

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 3.2G 74M 3.1G 3% /dev/shm tmpfs …
1
vote
0 answers

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 unpartitioned free space would then be on the left of it. This…
Totor
  • 19,302
  • 17
  • 75
  • 102
1
vote
1 answer

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 partition table on the new drive, with the same…
JLCarveth
  • 65
  • 6
1
vote
1 answer

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 also have an empty 2 TB usb external HDD, which is…
eftshift0
  • 555
  • 4
  • 13
1
vote
0 answers

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 create the partitions disks. It was like: /boot =…
morris
  • 13
  • 4
1
vote
2 answers

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/20GB from the /home partition and transfer it to…
Kanuc
  • 31
  • 6
1
2 3