Resizing the linux partition
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Resizing the linux partition
What is the easiest way to resize the linux partition? I mirrored the install to a larger hard drive and it did an exact copy without allotting the additional space.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Resizing the linux partition
Boot your mint install stick and run gparted from that. You cannot resize your
/
partition booting normally - it is in use and cannot be unmounted.Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: Resizing the linux partition
I tried resizing from a bootable gparted but I don't have the option of resizing. When trying from the command line I get the error message "Couldn't find valid filesystem superblock." I took a pic but it isn't very good but you can see the hard drive properties. Does it matter than the drive is encrypted? If so how do I decrypt it?
Last edited by townsbg on Fri Dec 10, 2021 1:43 am, edited 1 time in total.
Re: Resizing the linux partition
I don't use full disk encryption, so can't help. Hopefully someone who does will be along.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: Resizing the linux partition
What I know is that Gparted Live is a bad tool except on a recent Linux? Gparted live is on a too old Linux
so it is possible that what you tried with it, would work from it in a recent Linux Mint Live
so it is possible that what you tried with it, would work from it in a recent Linux Mint Live
Linux Mint 20.3 Cinnamon - K 5.15 - Desktop - english
AMD APU A8 7600 - DDR3 1833 MHz 8 GB x2 Dual Channel
--
If you think tough men are dangerous, wait until you see what weak men are capable of.
AMD APU A8 7600 - DDR3 1833 MHz 8 GB x2 Dual Channel
--
If you think tough men are dangerous, wait until you see what weak men are capable of.
Re: Resizing the linux partition
I've tried with the install disk and I am running into the same problem. So does the drive have to be decrypted and if so how do I do that?
Re: Resizing the linux partition
i resized my mint partition last week using a Ventoy usb pendrive (boots .iso`s easily)
https://www.ventoy.net/en/index.html
i have a few recovery .iso`s on ... i used Hirens to resize my windows partition first,rebooted to make sure the changes were recognised (and win would still boot ) ... booted back into hirens then resized my mint partition (only my home folder is encrypted) using the free space stolen from the win partition
its still working
https://www.ventoy.net/en/index.html
i have a few recovery .iso`s on ... i used Hirens to resize my windows partition first,rebooted to make sure the changes were recognised (and win would still boot ) ... booted back into hirens then resized my mint partition (only my home folder is encrypted) using the free space stolen from the win partition
its still working
Forum Pest ...
"Easy tips for Linux Mint and Ubuntu, both for beginners and for advanced users" https://easylinuxtipsproject.blogspot.com/p/1.html
"Easy tips for Linux Mint and Ubuntu, both for beginners and for advanced users" https://easylinuxtipsproject.blogspot.com/p/1.html
Re: Resizing the linux partition
But what did you use to resize the Mint partition ? GParted ?
Linux Mint 20.3 Cinnamon - K 5.15 - Desktop - english
AMD APU A8 7600 - DDR3 1833 MHz 8 GB x2 Dual Channel
--
If you think tough men are dangerous, wait until you see what weak men are capable of.
AMD APU A8 7600 - DDR3 1833 MHz 8 GB x2 Dual Channel
--
If you think tough men are dangerous, wait until you see what weak men are capable of.
Re: Resizing the linux partition
i tried with gparted and the command line.
Re: Resizing the linux partition
Does anyone have anything?
-
- Level 5
- Posts: 582
- Joined: Tue Jul 13, 2021 5:13 am
Re: Resizing the linux partition
This is how I resize LUKS partitions:
1) BACKUP ALL IMPORTANT DATA ON THAT DISK.
2) Launch GParted from the Linux Mint installation medium (NOT from GParted live).
3) Resize the LUKS partition to the right (if you want to resize it to the left, you have to move it to the left, then resize to the right), then apply changes.
4)
sudo cryptsetup luksOpen /dev/sdXY luks_part
5)
sudo gparted /dev/mapper/luks_part
6) Right-click on the only LUKS volume, then choose "Check" and apply changes.
Re: Resizing the linux partition
sorry for the late reply ... usually i go through the listed apps till one loads up im familiar with,and use that
Forum Pest ...
"Easy tips for Linux Mint and Ubuntu, both for beginners and for advanced users" https://easylinuxtipsproject.blogspot.com/p/1.html
"Easy tips for Linux Mint and Ubuntu, both for beginners and for advanced users" https://easylinuxtipsproject.blogspot.com/p/1.html
Re: Resizing the linux partition
Install is a mirror from another drive and I stall have that drive so backup isn't a problem. As stated I don't have the option of resizing from gparted but I'll try those commands later.SimonPeter wrote: ⤴Sat Dec 04, 2021 2:15 amThis is how I resize LUKS partitions:
1) BACKUP ALL IMPORTANT DATA ON THAT DISK.
2) Launch GParted from the Linux Mint installation medium (NOT from GParted live).
3) Resize the LUKS partition to the right (if you want to resize it to the left, you have to move it to the left, then resize to the right), then apply changes.
4)sudo cryptsetup luksOpen /dev/sdXY luks_part
5)sudo gparted /dev/mapper/luks_part
6) Right-click on the only LUKS volume, then choose "Check" and apply changes.
Re: Resizing the linux partition
Those commands aren't working.
Can someone answer if I need to disable encryption and if so how do I do so?root@mint:~# sudo cryptsetup luksOpen /dev/sda5 luks_part
Enter passphrase for /dev/sda5:
root@mint:~# gparted /dev/mapper/luks_part
Unit boot.mount does not exist, proceeding anyway.
Unable to init server: Could not connect: Connection refused
(gpartedbin:2853): Gtk-WARNING **: 11:32:30.052: cannot open display:
Re: Resizing the linux partition
Can someone help? I don't know enough about linux to know where to go from here. I'm wondering if I mirrored incorrectly. I used macrium with the drives slaved to my desktop running Windows. Should I have done it a different way? How should I have mirrored the drive?
-
- Level 5
- Posts: 582
- Joined: Tue Jul 13, 2021 5:13 am
Re: Resizing the linux partition
I think you can leave that partition untouched.townsbg wrote: ⤴Tue Nov 30, 2021 3:46 pm I tried resizing from a bootable gparted but I don't have the option of resizing. When trying from the command line I get the error message "Couldn't find valid filesystem superblock." I took a pic but it isn't very good but you can see the hard drive properties. Does it matter than the drive is encrypted? If so how do I decrypt it?
IMG_3577.JPG
Your partition is ~300GB and you want to resize it to get ~30GB more (you may ignore that ~30GB increase).
Re: Resizing the linux partition
You don't have any other suggestions? Just ignore it? What about trying to decrypt it or maybe I mirrored it wrong and should us another method?
-
- Level 5
- Posts: 582
- Joined: Tue Jul 13, 2021 5:13 am
Re: Resizing the linux partition
- You can create a new partition table on the new disk (deleting all data on it), reinstall Linux on it and copy over personal files from the old disk.
- You can clone the disk with Foxclone, GNU ddrescue, GNU dd etc.,
Re: Resizing the linux partition
I am not reinstalling. Which method is the easiest to use clone it and how do i do it?
-
- Level 5
- Posts: 582
- Joined: Tue Jul 13, 2021 5:13 am
Re: Resizing the linux partition
Foxclone may be the easiest of these (foxclone, ddrescue and dd).
It is made by the well-respected forum member @AndyMH .
https://foxclone.com/ (Official website)
viewtopic.php?t=315557 ( @AndyMH talking about it on this forum )
It is made by the well-respected forum member @AndyMH .
https://foxclone.com/ (Official website)
viewtopic.php?t=315557 ( @AndyMH talking about it on this forum )