partition issues RESOLVED

Colin Law clanlaw at gmail.com
Wed Oct 25 16:11:45 UTC 2017


On 25 October 2017 at 16:19, Gary J. Kirkpatrick <garyartista at gmail.com> wrote:
>
>
> On Wed, Oct 25, 2017 at 6:09 PM, Gary J. Kirkpatrick <garyartista at gmail.com>
> wrote:
>>
>>
>>
>> On Wed, Oct 25, 2017 at 2:29 PM, Colin Watson <cjwatson at ubuntu.com> wrote:
>>>
>>> On Wed, Oct 25, 2017 at 11:36:43AM +0100, Colin Law wrote:
>>> > On 25 October 2017 at 11:00, Ken D'Ambrosio <ken at jots.org> wrote:
>>> > > Colin's heart is in the right place, but he forgot an important
>>> > > detail: sda6
>>> > > and sda5 are extended partitions that reside, in turn, on sda2.  So
>>> > > you can
>>> > > resize (presumably; I'm not sure I've ever tried this) sda6, but then
>>> > > you'll
>>> > > need to move sda5 to the rightward boundary, and THEN you'll need to
>>> > > resize
>>> > > sda2, too.
>>> >
>>> > I don't think I forgot anything. According to the information above
>>> > sda5 is already at the top (or right) of sda2 so cannot be moved.
>>> > after removing sda6 then sda5 can be shrunk (upwards from the bottom)
>>> > so there is no space at the front of sda5. The free space will then be
>>> > between sda1 and sda2 so sda1 can be extended.
>>>
>>> ... and possibly consider using GPT as the partition table format next
>>> time you're building a system, since it avoids having to remember all
>>> this nonsense!  (IMO, GPT is the single best thing about the UEFI spec,
>>> and it's usually - though sometimes with a bit of fiddling - possible to
>>> use it even on BIOS-based systems.)
>>>
>>> --
>>> Colin Watson                                       [cjwatson at ubuntu.com]
>>>
>>> --
>>> ubuntu-users mailing list
>>> ubuntu-users at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>
>> I deleted everything other than sda1 and then was able to expand sda1.  I
>> will try to restart and hope all will be well.  I removed swap too.  I can
>> create that again if I need it.
>>
>> garyk
>>
>>
>>
>>
>>
>
> Deleting everything in sda2 inc swap did the trick.  For some reason leave
> swap there left that small space that was preventing the expansion of sda1.

Did you shrink sda2 up to the start of the swap partition? If not then
that was the cause. However there is no need for a swap partition
anyway, use a swapfile instead. See
https://help.ubuntu.com/community/SwapFaq

>
> Coming to the login screen was quite slow, where you enter your password.
> If that persists I will add swap.

That will not be anything to do with swap, assuming you have a
reasonable amount of RAM.

Colin




More information about the ubuntu-users mailing list