Resizing Partitions

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Resizing Partitions

Postby Germ » Sep 21st, '21, 20:52

I probably knew how to do this back in the day. Its kind of embarrassing...

sda1 is getting kind of crowded. I want to resize it with gparted live cd. After resizing how do I get the system to recognize the larger size of the partition?

I pretty much just point and click now. I've forgotten a lot about the command line and how to do things. Mageia is just too easy.

Thanks
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 570
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

Re: Resizing Partitions

Postby benmc » Sep 21st, '21, 21:07

good day,

you should not need to.
the system will acknowledge the change in size and report it correctly.

the only difficulty may be if you moved the partition start point,

regards
benmc
 
Posts: 1175
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Resizing Partitions

Postby tis » Sep 21st, '21, 21:10

Hi,

If you just resize on the place it is now, then just the size will change and if I'm right there is nothing to do. If the partition's uid changes you have to change in grub/fstab/... if you have a bootable mga install cd/dvd/pen drive there is a repair grub in it...
tis
 
Posts: 148
Joined: Sep 30th, '19, 20:19

Re: Resizing Partitions

Postby doktor5000 » Sep 21st, '21, 21:58

If you only resize the partition and not the filesystem on top, you would need to run e.g. resize2fs or fsadm resize on the device if the filesystem is not mounted to grow the filesystem to the partition size. It will not resize itself.
That's usually why you should setup your system with LVM so that you don't have to care about the partitioning.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Resizing Partitions

Postby Germ » Sep 21st, '21, 23:10

OK. Thanks everyone.
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 570
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron