How can I increase the size of my boot partition
by Mackyboy123 from LinuxQuestions.org on (#5BHAA)
fdisk -l
Code:Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4f2f3c4f
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 206847 204800 100M 83 Linux
/dev/sda2 206848 524494847 524288000 250G 83 Linux
/dev/sda3 * 524494848 524597247 102400 50M 7 HPFS/NTFS/exFAT
/dev/sda4 524597248 1250260991 725663744 346G 7 HPFS/NTFS/exFAT
Disk /dev/mapper/lukssda2: 250 GiB, 268433358848 bytes, 524283904 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/cryptvg-root: 100 GiB, 107374182400 bytes, 209715200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/cryptvg-home: 148 GiB, 158913789952 bytes, 310378496 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/cryptvg-swap: 2 GiB, 2139095040 bytes, 4177920 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes/etc/fstab
Code:/dev/cryptvg/swap swap swap defaults 0 0
/dev/cryptvg/root / ext4 defaults 1 1
/dev/sda1 /boot ext4 defaults 1 2
/dev/cryptvg/home /home ext4 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0/dev/sda1 is the boot partition, /dev/sda2 is an luks-encrypted lvm partition with 2 ext4 formatted volumes, /dev/cryptvg/root and /dev/cryptvg/home, and one swap partition, /dev/cryptvg/swap. /dev/sda3 and /dev/sda4 are part of a windows system I'm dual-booting with linux. I need to increase the size of my /dev/sda1 boot partition. How do I do this


Code:Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4f2f3c4f
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 206847 204800 100M 83 Linux
/dev/sda2 206848 524494847 524288000 250G 83 Linux
/dev/sda3 * 524494848 524597247 102400 50M 7 HPFS/NTFS/exFAT
/dev/sda4 524597248 1250260991 725663744 346G 7 HPFS/NTFS/exFAT
Disk /dev/mapper/lukssda2: 250 GiB, 268433358848 bytes, 524283904 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/cryptvg-root: 100 GiB, 107374182400 bytes, 209715200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/cryptvg-home: 148 GiB, 158913789952 bytes, 310378496 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/cryptvg-swap: 2 GiB, 2139095040 bytes, 4177920 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes/etc/fstab
Code:/dev/cryptvg/swap swap swap defaults 0 0
/dev/cryptvg/root / ext4 defaults 1 1
/dev/sda1 /boot ext4 defaults 1 2
/dev/cryptvg/home /home ext4 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0/dev/sda1 is the boot partition, /dev/sda2 is an luks-encrypted lvm partition with 2 ext4 formatted volumes, /dev/cryptvg/root and /dev/cryptvg/home, and one swap partition, /dev/cryptvg/swap. /dev/sda3 and /dev/sda4 are part of a windows system I'm dual-booting with linux. I need to increase the size of my /dev/sda1 boot partition. How do I do this