Add confirmation message and delay after formatting /dev/nvme0n1p1 in initramfs script

This commit is contained in:
Anduin Xue
2025-07-21 19:08:38 +00:00
parent 7164b7cd16
commit e7517b205a

View File

@ -10,6 +10,8 @@ echo << EOF > /scripts/casper-premount/10-format.cow
#!/bin/sh
set -euo pipefail
mkfs.ext4 -F -L casper-rw /dev/nvme0n1p1
echo "We have formatted /dev/nvme0n1p1 as ext4!"
sleep 5
EOF
chmod +x /scripts/casper-premount/10-format.cow