Page 3 of 6

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 12:57 pm
by tony37
Of course you have to unmount the partition first, so you have to do this from live USB.

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 12:58 pm
by Sparky
tony37 wrote: Sun Sep 27, 2020 12:57 pm Of course you have to unmount the partition first, so you have to do this from live USB.
Ahhh, ok, I already have it on USB, will do it now, Thanks.

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 12:58 pm
by rob.chaffe
Boot MX Linux from your thumb drive (or DVD) for a fresh install. At the second or third screen, there is an option to run GParted. Set partition table. Then create main partition leaving space for swap after the main partition. Create swap, Finish the install.

Rob

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 12:59 pm
by tony37
Then shrink the partition. If you don't want to hibernate your system then 2 GB for swap will be enough I guess.

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 1:01 pm
by uncle mark
Sparky wrote: Sun Sep 27, 2020 12:38 pm It's like this now. Wont let me create a new partition.

Image
Shrink the existing partition (drag from the right) to leave a few gigs for swap. Do this as a single operation.

Then, in a new operation, create a new swap partition in the newly created space.

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 1:05 pm
by rob.chaffe
I'm going to bow out because there are too any cooks stirring the pot. And the OP changes his mind so fast it's hard to keep up.

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 1:08 pm
by Sparky
Gparted live said that If I create a new partition it will erase ALL data on the main partition. What If I just use it without SWAP?

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 1:10 pm
by tony37
Sparky wrote: Sun Sep 27, 2020 1:08 pm Gparted live said that If I create a new partition it will erase ALL data on the main partition. What If I just use it without SWAP?
Are you sure it says that? Gparted always warns about potential data loss.
Using without Swap is possible, I think you have enough RAM when you have 12 GB. But you'll have to edit your /etc/fstab file anyway, so you can post that if you want advice there.

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 1:13 pm
by Sparky
contents of fstab (I do have 12 GB of RAM on this laptop)

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
UUID=2f851df4-e0ec-425b-8944-8276cf36f4e0 / ext4 defaults 1 1
UUID=db352309-b3e7-4d6b-83bd-2ef92cd8dac1 swap swap defaults 0 0 

Re: More Gparted problems. [SOLVED]

Posted: Sun Sep 27, 2020 1:17 pm
by tony37
If you don't want a swap partition (making a swap file later on should also be possible) then you simply remove the last line from fstab (that UUID doesn't exist anymore anyway).