Re: partition issues RESOLVED

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: partition issues RESOLVED

Gary J. Kirkpatrick


On Wed, Oct 25, 2017 at 6:09 PM, Gary J. Kirkpatrick <[hidden email]> wrote:


On Wed, Oct 25, 2017 at 2:29 PM, Colin Watson <[hidden email]> wrote:
On Wed, Oct 25, 2017 at 11:36:43AM +0100, Colin Law wrote:
> On 25 October 2017 at 11:00, Ken D'Ambrosio <[hidden email]> 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                                       [[hidden email]]

--
ubuntu-users mailing list
[hidden email]
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.

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

Thanks for the assistance.


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: partition issues RESOLVED

Colin Law
On 25 October 2017 at 16:19, Gary J. Kirkpatrick <[hidden email]> wrote:

>
>
> On Wed, Oct 25, 2017 at 6:09 PM, Gary J. Kirkpatrick <[hidden email]>
> wrote:
>>
>>
>>
>> On Wed, Oct 25, 2017 at 2:29 PM, Colin Watson <[hidden email]> wrote:
>>>
>>> On Wed, Oct 25, 2017 at 11:36:43AM +0100, Colin Law wrote:
>>> > On 25 October 2017 at 11:00, Ken D'Ambrosio <[hidden email]> 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                                       [[hidden email]]
>>>
>>> --
>>> ubuntu-users mailing list
>>> [hidden email]
>>> 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

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: partition issues RESOLVED

Gary J. Kirkpatrick


On Wed, Oct 25, 2017 at 7:11 PM, Colin Law <[hidden email]> wrote:
On 25 October 2017 at 16:19, Gary J. Kirkpatrick <[hidden email]> wrote:
>
>
> On Wed, Oct 25, 2017 at 6:09 PM, Gary J. Kirkpatrick <[hidden email]>
> wrote:
>>
>>
>>
>> On Wed, Oct 25, 2017 at 2:29 PM, Colin Watson <[hidden email]> wrote:
>>>
>>> On Wed, Oct 25, 2017 at 11:36:43AM +0100, Colin Law wrote:
>>> > On 25 October 2017 at 11:00, Ken D'Ambrosio <[hidden email]> 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                                       [[hidden email]]
>>>
>>> --
>>> ubuntu-users mailing list
>>> [hidden email]
>>> 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

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


I no longer have an sda2, just sda1 and swap.



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: partition issues RESOLVED

Colin Law
On 25 October 2017 at 17:30, Gary J. Kirkpatrick <[hidden email]> wrote:

>
>
> On Wed, Oct 25, 2017 at 7:11 PM, Colin Law <[hidden email]> wrote:
>> ...
>> 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
>>
> ...
> I no longer have an sda2, just sda1 and swap.

I know that, you said that after removing sda6 you were unable to make
use of the space. I was asking whether you shrank sda2, if you did not
then that is why you could not make use of the free space. Nothing to
do with any small empty areas.

Colin

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: partition issues RESOLVED

Gary J. Kirkpatrick


On Wed, Oct 25, 2017 at 7:38 PM, Colin Law <[hidden email]> wrote:
On 25 October 2017 at 17:30, Gary J. Kirkpatrick <[hidden email]> wrote:
>
>
> On Wed, Oct 25, 2017 at 7:11 PM, Colin Law <[hidden email]> wrote:
>> ...
>> 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
>>
> ...
> I no longer have an sda2, just sda1 and swap.

I know that, you said that after removing sda6 you were unable to make
use of the space. I was asking whether you shrank sda2, if you did not
then that is why you could not make use of the free space. Nothing to
do with any small empty areas.

Colin

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


I erred in saying I do not have an sda2.

I deleted everything that was on sda2.  Then I only had an sda1 after expanding sda1 to use the entire disk.  Then I added a swap, which gave me an sda 2.  

So I do not ever shrink the current sda2.  Does that clear it up?

garyk


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: partition issues RESOLVED

Colin Law
On 25 October 2017 at 17:49, Gary J. Kirkpatrick <[hidden email]> wrote:

>
>
> On Wed, Oct 25, 2017 at 7:38 PM, Colin Law <[hidden email]> wrote:
>>
>> On 25 October 2017 at 17:30, Gary J. Kirkpatrick <[hidden email]>
>> wrote:
>> >
>> >
>> > On Wed, Oct 25, 2017 at 7:11 PM, Colin Law <[hidden email]> wrote:
>> >> ...
>> >> 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
>> >>
>> > ...
>> > I no longer have an sda2, just sda1 and swap.
>>
>> I know that, you said that after removing sda6 you were unable to make
>> use of the space. I was asking whether you shrank sda2, if you did not
>> then that is why you could not make use of the free space. Nothing to
>> do with any small empty areas.
>>
>> Colin
>>
>> --
>> ubuntu-users mailing list
>> [hidden email]
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
> I erred in saying I do not have an sda2.
>
> I deleted everything that was on sda2.  Then I only had an sda1 after
> expanding sda1 to use the entire disk.  Then I added a swap, which gave me
> an sda 2.
>
> So I do not ever shrink the current sda2.  Does that clear it up?

If you had not shrunk sda2 then, as I said, that explains why you
could not expand sda1.

Colin

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users