[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Slow boot, looks like due to filesystem mounts



On Fri, Dec 15, 2023 at 10:14 PM Max Nikulin <manikulin@gmail.com> wrote:
>
> On 16/12/2023 05:08, Jeffrey Walton wrote:
> > The resize operation included deleting swap
> > at /dev/sda2, increasing disk size of /dev/sda, extending /dev/sda1,
> > and recreating swap at the end of /dev/sda as /dev/sda2.
> [...]
> > $ sudo blkid
> > /dev/sda2: UUID="b05d2596-5301-47d1-b208-95fca81be94e" TYPE="swap"
> > PARTUUID="872398d9-02"
> > /dev/sda1: UUID="6da839d7-eace-442d-b267-838637721471"
> > BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="872398d9-01"
> >
> > And I updated fstab:
>
> Have you updated initrd (or some packages caused generation of new
> initramfs)? Perhaps kernel waits if a partition with old swap UUID
> requires some time to make device ready.
>
>      update-initramfs -u -k all

Thanks, that was it.

The missing step was to edit /etc/initramfs-tools/conf.d/resume, and
then update initramfs.

Jeff


Reply to: