Discussion:
resizing partition disk
(too old to reply)
kyuzo
2024-10-12 08:41:37 UTC
Permalink
Hi,
This is my partition table:


/dev/sda1 * 2048 31230359 31228312 14,9G 83 Linux
/dev/sda2 31234014 1953520064 1922286051 916,6G 5 Esteso
/dev/sda5 31234048 33367004 2132957 1G 82 Linux swap /
Solaris
/dev/sda6 33370112 1953520064 1920149953 915,6G 83 Linux


I need to expand the root partition (sda1) moving and resizing sda2 and
all the stuff in it (sda5 and sda6) whitout losing data.
There is a save path to get it?
Thanks in advance.
Bobbie Sellers
2024-10-12 17:16:21 UTC
Permalink
Hi,
/dev/sda1   *         2048   31230359   31228312  14,9G 83 Linux
/dev/sda2         31234014 1953520064 1922286051 916,6G  5 Esteso
/dev/sda5         31234048   33367004    2132957     1G 82 Linux swap /
Solaris
/dev/sda6         33370112 1953520064 1920149953 915,6G 83 Linux
I need to expand the root partition (sda1) moving and resizing sda2 and
all the stuff in it (sda5 and sda6) whitout losing data.
There is a save path to get it?
Thanks in advance.
One way to save data is to backup data before you mess with the
partition table. Likely the best way to do this to get a fresh iso
file up to date and then use a either a live disk like Clonezilla
if the distribution you use is not suitable for the backing up.
Then start your new install by making a fresh set of partitions
using a tool like GPartEd. Then reinstall and copy your data back
to the new install.

Good luck in any event.

bliss- Dell Precision 7730- PCLOS 2024.04- Linux 6.6.25.- Plasma 5.27.11
--
b l i s s - S F 4 e v e r at D S L E x t r e m e dot com
faeychild
2024-10-12 21:57:14 UTC
Permalink
    One way to save data is to backup data before you mess with the
partition table. Likely the best way to do this to get a fresh iso
file up to date and then use a either a live disk like Clonezilla
if the distribution you use is not suitable for the backing up.
Then start your new install by making a fresh set of partitions
using a tool like GPartEd. Then reinstall and copy your data back
to the new install.
Good luck in any event.
bliss- Dell Precision 7730- PCLOS 2024.04- Linux 6.6.25.- Plasma 5.27.11
Correct!
Gparted will resize partitions, sort of on the fly, without losing data
I did it once. An anxiety inducing event. Took some time, which
increases the stress. But it eventually succeeded.
I hope never to do it again thought, surely just asking for trouble.

By the way, Hi Bobby! long time no hear. Have you heard the Bit Twister
recently, He's gone quiet

Regards
--
faeychild
Running kde on 6.6.52-desktop-1.mga9 kernel.
Mageia release 9 (Official) for x86_64
Bobbie Sellers
2024-10-12 23:24:55 UTC
Permalink
Post by faeychild
     One way to save data is to backup data before you mess with the
partition table. Likely the best way to do this to get a fresh iso
file up to date and then use a either a live disk like Clonezilla
if the distribution you use is not suitable for the backing up.
Then start your new install by making a fresh set of partitions
using a tool like GPartEd. Then reinstall and copy your data back
to the new install.
Good luck in any event.
bliss- Dell Precision 7730- PCLOS 2024.04- Linux 6.6.25.- Plasma 5.27.11
Correct!
Gparted will resize partitions, sort of on the fly, without losing data
I did it once. An anxiety inducing event. Took some time, which
increases the stress. But it eventually succeeded.
I hope never to do it again thought, surely just asking for trouble.
By the way, Hi Bobby! long time no hear. Have you heard the Bit Twister
recently, He's gone quiet
Regards
Well you know I only proffer advice when it is something
I know about and I know very little except what I have learned from
bitter experience.

Bit Twister I have not read in a while but in
my lived experience of 87 years now it is common for people to drop
off from Real Life as well as digita; online communities even in
tightly organized place like the PClinuxOS Users Forum where several
prominent parties have left the scene apparently on a permanent
basis.

As for myself I was situational depressed following the death
of my roomer of 22 years in 2022. She was a lont time smoker and did not
stop in time though they took care of the intial cancer it blossumed in
her brain and it was spotted too late. Sge was ub a long term care
facitily during the end of the problems in Covid transmission but
I have never seen the pathologicial report. She was about 75 yoa
when she left and we shared few interests.

But I was not in the situation the individual mentioned
where I needed to enlarge my / partition but had failed to do
frequent backup when something happened and I ended up doing
6 installs from the most recent PCLinuxOS iso files but had
to get a new Flash Drive on the job before #6 was successful.
I lost a lot of my work and that is quite a pain. A lot was
posted to rec.arts.manga and I hope that Ray gets that back
while i am still functional.

i hope Faeychild that you are keeping well. I myself
carring too many bags of groceries on October 4 and very tired
from the week's exertions had a unpleasant fall at the top
of the steps from the building's front door and acquired some
miscellaneous bruises and scrapes but twisted or sprained
my right ankle. Have been on ICE protocol since a more athletic
friend, a young man of 55 reminded me on Monday.
The ice on my ankle relieves my pain but it is very
hard to do anything with my ankle up on a pillow with an
ice bag on top of it.

I did discover in my resetting up the Newsgroups
rec.arts.sf.written which will be a good place to check
on my recent postings. And they tolerate some political
discussions as well.

bliss - brought to you by the power and ease of PCLinuxOS
and a minor case of hypergraphia
--
b l i s s - S F 4 e v e r at D S L E x t r e m e dot com
faeychild
2024-10-14 21:42:34 UTC
Permalink
    The ice on my ankle relieves my pain but it is very
hard to do anything with my ankle up on a pillow with an
ice bag on top of it.
    I did discover in my resetting up the Newsgroups
rec.arts.sf.written which will be a good place to check
on my recent postings.  And they tolerate some political
discussions as well.
bliss - brought to you by the power and ease of PCLinuxOS
                and a minor case of hypergraphia
The ankle despite its apparent robustness is a good worker but bad
master. If it's like the ankle I twisted, many moons ago, it will
forever be the sacrificial one.

Sadly we shall all soon pass away, drop off the register. I hope Bit
Twister is OK. He did mention some cardiac problems. All the good guys
go early.

I remember Blinky the Shark

Beware those steps. One doesn't bounce so well as one gets older

Regards
--
faeychild
Running kde on 6.6.52-desktop-1.mga9 kernel.
Mageia release 9 (Official) for x86_64
Bobbie Sellers
2024-10-14 22:47:08 UTC
Permalink
Post by faeychild
     The ice on my ankle relieves my pain but it is very
hard to do anything with my ankle up on a pillow with an
ice bag on top of it.
     I did discover in my resetting up the Newsgroups
rec.arts.sf.written which will be a good place to check
on my recent postings.  And they tolerate some political
discussions as well.
bliss - brought to you by the power and ease of PCLinuxOS
                 and a minor case of hypergraphia
The ankle despite its apparent robustness is a good worker but bad
master. If it's like the ankle I twisted, many moons ago, it will
forever be the sacrificial one.
Sadly we shall all soon pass away, drop off the register.  I hope Bit
Twister is OK. He did mention some cardiac problems. All the good guys
go early.
Good guys go early? See how wicked I am at 87.
Post by faeychild
I remember Blinky the Shark
Beware those steps. One doesn't bounce so well as one gets older
After the age of 42 ones immune system declines and I made the
mistake about 50 years ago of forgetting that fact and the result is my
vey easy fatigabily
Post by faeychild
Regards
WE are old these day if we remember 5.25 inch floppies.
We are very old if we remember 8 inch floppies.
The oldest remember the announcement of the attack on Pearl Harbor
before computers became machines.

bliss - Dell Precision 7730- PCLOS-2024.06- Linux 6.6.51- Plasma 5.27.11
--
b l i s s - S F 4 e v e r at D S L E x t r e m e dot com
Daniel70
2024-10-15 09:00:35 UTC
Permalink
Post by faeychild
     The ice on my ankle relieves my pain but it is very
hard to do anything with my ankle up on a pillow with an
ice bag on top of it.
     I did discover in my resetting up the Newsgroups
rec.arts.sf.written which will be a good place to check
on my recent postings.  And they tolerate some political
discussions as well.
bliss - brought to you by the power and ease of PCLinuxOS
                 and a minor case of hypergraphia
The ankle despite its apparent robustness is a good worker but bad
master. If it's like the ankle I twisted, many moons ago, it will
forever be the sacrificial one.
Sadly we shall all soon pass away, drop off the register.  I hope Bit
Twister is OK. He did mention some cardiac problems. All the good guys
go early.
    Good guys go early? See how wicked I am at 87.
Post by faeychild
I remember Blinky the Shark
Bit Twister and Blinky the Shark .... sadly missed stores of knowledge!!
Post by faeychild
Beware those steps. One doesn't bounce so well as one gets older
    After the age of 42 ones immune system declines and I made the
mistake about 50 years ago of forgetting that fact and the result is my
vey easy fatigabily
Post by faeychild
Regards
    WE are old these day if we remember 5.25 inch floppies.
Tick. Still got a few around!
    We are very old if we remember 8 inch floppies.
Tick Used but never owned.
    The oldest remember the announcement of the attack on Pearl Harbor
before computers became machines.
BMT!! (Before My Time .... Well Before!!)
bliss - Dell Precision 7730- PCLOS-2024.06- Linux 6.6.51- Plasma 5.27.11
--
Daniel
faeychild
2024-10-17 21:04:37 UTC
Permalink
Post by Daniel70
Bit Twister and Blinky the Shark .... sadly missed stores of knowledge!!
Oh Dear! has the Bit Twister ridden on ahead?
--
faeychild
Running kde on 6.6.52-desktop-1.mga9 kernel.
Mageia release 9 (Official) for x86_64
Daniel70
2024-10-18 09:12:53 UTC
Permalink
Post by faeychild
Post by Daniel70
Bit Twister and Blinky the Shark .... sadly missed stores of
knowledge!!
Oh Dear! has the Bit Twister ridden on ahead?
I don't know that either of them have gone that far ahead ... but they
sure hasn't been here-abouts for a loooonnnngg time. ;-P
--
Daniel
faeychild
2024-10-17 21:02:20 UTC
Permalink
    After the age of 42 ones immune system declines and I made the
mistake about 50 years ago of forgetting that fact and the result is my
vey easy fatigabily
Post by faeychild
Regards
    WE are old these day if we remember 5.25 inch floppies.
    We are very old if we remember 8 inch floppies.
    The oldest remember the announcement of the attack on Pearl Harbor
before computers became machines.
bliss - Dell Precision 7730- PCLOS-2024.06- Linux 6.6.51- Plasma 5.27.11
I member all those things. Pearl Harbour WAS before my time.

Lay off the carbs, Bobby. They are highly inflammatory, it's unfortunate
that they taste good.
--
faeychild
Running kde on 6.6.52-desktop-1.mga9 kernel.
Mageia release 9 (Official) for x86_64
Bobbie Sellers
2024-10-17 21:45:09 UTC
Permalink
Post by faeychild
     After the age of 42 ones immune system declines and I made the
mistake about 50 years ago of forgetting that fact and the result is my
vey easy fatigabily
Post by faeychild
Regards
     WE are old these day if we remember 5.25 inch floppies.
     We are very old if we remember 8 inch floppies.
     The oldest remember the announcement of the attack on Pearl
Harbor before computers became machines.
bliss - Dell Precision 7730- PCLOS-2024.06- Linux 6.6.51- Plasma 5.27.11
I member all those things. Pearl Harbour WAS before my time.
Lay off the carbs, Bobby. They are highly inflammatory, it's unfortunate
that they taste good.
I have been eating for quite a while now. I have been cooking for about
15 years less. I started in HS when we moved from West Sacramento to
Sacramento but the Restaurant was now separate from
the apartment and my mother left stuff for me to cook.
It took me until i was over 40 to learn that steaks should be at
least a room temperature to get decent results.
Some carbs are inflammatory indeed but I see few of those afaik.
The real problems is that I was raised on greasy foods and lots
of milk. Now I am allergic to casein and to many other things as a
result of forgotten warning when I in my 40s. That warning was that
the immune system declines abruptly after the age of 42.
I had some surgeries too close together got ill and never really
recovered. I added to my allergies and food sensitivities as one result
but maybe it started in my 30s when I had a od of aspirin while very ill
and became allegic to salicyclates which are chemicals found not only in
cheap painkillers but in fruits and vegetables.

bliss - wow the topic drift is extreme.
faeychild
2024-10-18 22:56:14 UTC
Permalink
    I had some surgeries too close together got ill and never really
recovered. I added to my allergies and food sensitivities as one result
but maybe it started in my 30s when I had a od of aspirin while very ill
and became allegic to salicyclates which are chemicals found not only in
cheap painkillers but in fruits and vegetables.
    bliss - wow the topic drift is extreme.
So many allergies, Bobby. You must feel assailed from all directions

I wish I had the magic wand
--
faeychild
Running kde on 6.6.52-desktop-1.mga9 kernel.
Mageia release 9 (Official) for x86_64
Gilberto F da Silva
2024-10-14 14:24:41 UTC
Permalink
Hi,
/dev/sda1   *         2048   31230359   31228312  14,9G 83 Linux
/dev/sda2         31234014 1953520064 1922286051 916,6G  5 Esteso
/dev/sda5         31234048   33367004    2132957     1G 82 Linux swap
/ Solaris
/dev/sda6         33370112 1953520064 1920149953 915,6G 83 Linux
I need to expand the root partition (sda1) moving and resizing sda2
and all the stuff in it (sda5 and sda6) whitout losing data.
There is a save path to get it?
Thanks in advance.
    One way to save data is to backup data before you mess with the
partition table. Likely the best way to do this to get a fresh iso
file up to date and then use a either a live disk like Clonezilla
if the distribution you use is not suitable for the backing up.
Then start your new install by making a fresh set of partitions
using a tool like GPartEd. Then reinstall and copy your data back
to the new install.
Good luck in any event.
bliss- Dell Precision 7730- PCLOS 2024.04- Linux 6.6.25.- Plasma 5.27.11
kyuzo escreveu:

GParted is very useful for these situations. I have used it several
times to perform this type of disk maintenance.

--

Abraços

Gilberto F da Silva
wicklowham
2024-11-17 14:34:52 UTC
Permalink
Post by Gilberto F da Silva
Hi,
/dev/sda1   *         2048   31230359   31228312  14,9G 83 Linux
/dev/sda2         31234014 1953520064 1922286051 916,6G  5 Esteso
/dev/sda5         31234048   33367004    2132957     1G 82 Linux swap
/ Solaris
/dev/sda6         33370112 1953520064 1920149953 915,6G 83 Linux
I need to expand the root partition (sda1) moving and resizing sda2
and all the stuff in it (sda5 and sda6) whitout losing data.
There is a save path to get it?
Thanks in advance.
    One way to save data is to backup data before you mess with the
partition table. Likely the best way to do this to get a fresh iso
file up to date and then use a either a live disk like Clonezilla
if the distribution you use is not suitable for the backing up.
Then start your new install by making a fresh set of partitions
using a tool like GPartEd. Then reinstall and copy your data back
to the new install.
Good luck in any event.
bliss- Dell Precision 7730- PCLOS 2024.04- Linux 6.6.25.- Plasma 5.27.11
GParted is very useful for these situations. I have used it several
times to perform this type of disk maintenance.
--
Abraços
Gilberto F da Silva
Yes I agree, Gparted is also my partitioning app for all Linux distros .
When I recover a HHD from a Windows infested machine ,I reformat with
Gparted for re-use as a data disk or if it is already a SSD I reformat
to ext4 for re-use with a Linux installation

Frank in County Wicklow -Ireland

David W. Hodgins
2024-10-13 15:01:01 UTC
Permalink
Post by kyuzo
Hi,
/dev/sda1 * 2048 31230359 31228312 14,9G 83 Linux
/dev/sda2 31234014 1953520064 1922286051 916,6G 5 Esteso
/dev/sda5 31234048 33367004 2132957 1G 82 Linux swap /
Solaris
/dev/sda6 33370112 1953520064 1920149953 915,6G 83 Linux
I need to expand the root partition (sda1) moving and resizing sda2 and
all the stuff in it (sda5 and sda6) whitout losing data.
There is a save path to get it?
Thanks in advance.
You may find it easier to just move some directories.
For example, assuming /dev/sda6 is mounted as /home ...

$ su -
(enter root password)
# mv /usr/share/doc /home
# ln -s /home/doc /usr/share

Regards, Dave Hodgins
kyuzo
2024-10-14 07:42:48 UTC
Permalink
Post by kyuzo
Hi,
I need to expand the root partition (sda1) moving and resizing sda2 and
all the stuff in it (sda5 and sda6) whitout losing data.
There is a save path to get it?
Thanks in advance.
Thanks everybody!
Loading...