focal verification done; all good.
$ lxc launch ubuntu:focal casper $ lxc shell casper
# echo 'deb http://archive.ubuntu.com/ubuntu focal-proposed main' >/etc/apt/sources.list.d/proposed.list # apt-cache madison casper | grep proposed casper | 1.445.3 | http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages # apt install --yes casper # dpkg -s casper | grep ^Version: Version: 1.445.3 # su - ubuntu
1) Without fsck.mode=skip: check occurs (OK)
$ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-5.15.0-46-generic root=/dev/mapper/nvme--vg-root ro quiet splash mitigations=off vt.handoff=7 $ sudo /usr/lib/casper/casper-md5check /tmp /dev/zero . Checking integrity, this may take some time (or try: fsck.mode=skip) ^C
2) With fsck.mode=skip last: check skipped (OK; FIXED!)
$ echo "$(cat /proc/cmdline) fsck.mode=skip" >/tmp/cmdline $ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-5.15.0-46-generic root=/dev/mapper/nvme--vg-root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip
$ sudo /usr/lib/casper/casper-md5check /tmp /dev/zero . Check skipped. ^C $ sudo umount /proc/cmdline
3) With fsck.mode=skip before last: check skipped (OK; no regression)
$ echo "$(cat /proc/cmdline) fsck.mode=skip workaround" >/tmp/cmdline $ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-5.15.0-46-generic root=/dev/mapper/nvme--vg-root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip workaround
$ sudo /usr/lib/casper/casper-md5check /tmp /dev/zero . Check skipped. ^C
focal verification done; all good.
$ lxc launch ubuntu:focal casper
$ lxc shell casper
# echo 'deb http:// archive. ubuntu. com/ubuntu focal-proposed main' >/etc/apt/ sources. list.d/ proposed. list archive. ubuntu. com/ubuntu focal-proposed/main amd64 Packages
# apt-cache madison casper | grep proposed
casper | 1.445.3 | http://
# apt install --yes casper
# dpkg -s casper | grep ^Version:
Version: 1.445.3
# su - ubuntu
1) Without fsck.mode=skip: check occurs (OK)
$ cat /proc/cmdline /vmlinuz- 5.15.0- 46-generic root=/dev/ mapper/ nvme--vg- root ro quiet splash mitigations=off vt.handoff=7 casper/ casper- md5check /tmp /dev/zero
BOOT_IMAGE=
$ sudo /usr/lib/
.
Checking integrity, this may take some time (or try: fsck.mode=skip)
^C
2) With fsck.mode=skip last: check skipped (OK; FIXED!)
$ echo "$(cat /proc/cmdline) fsck.mode=skip" >/tmp/cmdline
$ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline /vmlinuz- 5.15.0- 46-generic root=/dev/ mapper/ nvme--vg- root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip
BOOT_IMAGE=
$ sudo /usr/lib/ casper/ casper- md5check /tmp /dev/zero
.
Check skipped.
^C
$ sudo umount /proc/cmdline
3) With fsck.mode=skip before last: check skipped (OK; no regression)
$ echo "$(cat /proc/cmdline) fsck.mode=skip workaround" >/tmp/cmdline
$ sudo mount --bind /tmp/cmdline /proc/cmdline
$ cat /proc/cmdline /vmlinuz- 5.15.0- 46-generic root=/dev/ mapper/ nvme--vg- root ro quiet splash mitigations=off vt.handoff=7 fsck.mode=skip workaround
BOOT_IMAGE=
$ sudo /usr/lib/ casper/ casper- md5check /tmp /dev/zero
.
Check skipped.
^C