From 3ff504c70b291d6c41fdd2acbc15c58982f0e847 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 2 Apr 2024 15:14:29 -0300 Subject: Feat: adds the command --- IDEAS.md | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'IDEAS.md') diff --git a/IDEAS.md b/IDEAS.md index 74ab66b..9cce9d1 100644 --- a/IDEAS.md +++ b/IDEAS.md @@ -120,38 +120,6 @@ * http://linux-kernel-driver.blogspot.com.br/2009/06/linux-kernel-development-using.html * https://bbs.archlinux.org/viewtopic.php?id=177299 -* Image resize action, doing something like this, thanks to - https://ahelpme.com/linux/online-resize-of-a-root-ext4-file-system-increase-the-space/ - - # poweroff - kvmx poweroff $guest - - # resize image - qemu-img resize `kvmx list_image $guest` +5G - - # power up - kvmx up $guest - - # ensure parted is installed - #sudo apt-get install -y parted - kvmx ssh $guest sudo apt-get install -y cloud-guest-utils - - # resize virtual machine root fs - while the partition is mounted! - # this parted command currently need to be done manually - #echo resizepart 2 -1 | kvmx ssh $guest sudo parted /dev/vda - - # See https://unix.stackexchange.com/questions/373063/auto-expand-last-partition-to-use-all-unallocated-space-using-parted-in-batch-m - # https://unix.stackexchange.com/questions/190317/gnu-parted-resizepart-in-script#202872 - # https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1270203 - # https://techtitbits.com/2018/12/using-parteds-resizepart-non-interactively-on-a-busy-partition/ - # https://serverfault.com/questions/870594/resize-partition-to-maximum-using-parted-in-non-interactive-mode - #kvmx ssh $guest sudo parted /dev/vda resizepart 2 -1 Yes - kvmx ssh $guest sudo growpart /dev/vda 2 - - kvmx ssh $guest sudo resize2fs /dev/vda2 - kvmx ssh $guest sudo touch /forcefsck - kvmx restart $guest - ## Audio fixes to avoid crackling on input Implement an option to reduce crackling on sound input. -- cgit v1.2.3