Re: merging two ext4 partitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 06 Dec 2020 13:18:15 -0400, Jorge Fábregas wrote:

> On 12/6/20 1:07 PM, Amadeus WM via users wrote:
>> Or, maybe gparted? I can delete sda1, then expand sda2 to the beginning
>> of the disk. Would that work?
> 
> Hi,
> 
> No, you can't. You can only expand forward; not backward (to the
> beginning as you say).  For example, you could delete sda2 and expand
> sda1 up until the end of the device (to have one big partition) and then
> expand the filesystem...but not the other way around.


Actually I tried this on an usb stick and it worked, except that it 
obliterated my sda1. In my case this would not be a big deal, because the 
partition is small and I can put the stuff in it elsewhere before the 
surgery.

So on stick, I had sda1 and sda2, in this order, just like on the real 
disk. I deleted sda1 to make room to the left of sda2 and expanded sda2. 
The contents of sda1 is gone, but the stuff on sda2 is fine. The only 
thing now is that I have a single partition named sda2. I may have to 
delete it and recreate it with fdisk with thee exact same boundaries. No 
big deal anyway.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux