mirror of
https://github.com/Anduin2017/AnduinOS.git
synced 2025-09-19 18:56:00 +08:00
Add confirmation message and delay after formatting /dev/nvme0n1p1 in initramfs script
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user