Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1281  / 1 Year ago, thu, march 30, 2023, 5:36:59

I have the following



enter image description here



where /dev/sda2 - Windows7 and "unallocated" is the partition I want to add to my current Linux installation at /dev/sda6. But I can't do this for some reason. Even when I format unallocated partition and then I click Resize, I can only make it smaller. The same thing is true for /dev/sda6.



In other words, /dev/sda1 and /dev/sda6 don't see each other.



So how can I merge /dev/sda1 into /dev/sda6?



There is no much menu item "resize" on /dev/sda3, although it's not mounted:



a@a ~ $ sudo umount /dev/sda3
umount: /dev/sda3: not mounted
a@a ~ $ sudo umount /dev/sda6
umount: /dev/sda6: not mounted
a@a ~ $ sudo umount /dev/sda5
umount: /dev/sda5: not mounted


UPDATE2:



$ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda2 8:2 0 829.8G 0 part
├─sda3 8:3 0 1K 0 part
├─sda5 8:5 0 3.6G 0 part [SWAP]
└─sda6 8:6 0 98.2G 0 part
sdb 8:16 1 14.6G 0 disk
└─sdb1 8:17 1 14.5G 0 part /cdrom
sr0 11:0 1 1024M 0 rom
loop0 7:0 0 1.1G 1 loop /rofs


enter image description here



Clicking on /dev/sda3 and choosing "resize"
enter image description here


More From » 13.10

 Answers
4

To merge 718 GB unallocated space with the /dev/sda6, you have to follow the below steps.




  1. First boot from Ubuntu live disk and mark sure that all the partitions are unmounted.Gparted won't resize a mounted partition.


  2. Now right-click on the /dev/sda2 partition and click on resize.Move the dragger to the extreme left, so that the unallocated space will come just below to the /dev/sda2 partition.


  3. Right-click on the extended partition (/dev/sda3) and select Resize option.Now you can be able to add the unallocated space to your extended partition.


  4. Now the Unallocated space will comes inside your extended partition ie, just below to the /dev/sda5 partition.


  5. Right-click on the /dev/sda5 partition, select Resize option and move the dragger to extreme right.So that the unallocated space will come just above to the /dev/sda5 partition.


  6. Now you can be able to resize your /dev/sda6 Ubuntu partition.



[#26340] Thursday, March 30, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gliroopy

Total Points: 290
Total Questions: 115
Total Answers: 114

Location: Egypt
Member since Tue, May 3, 2022
2 Years ago
;