namespace:q4os
This is an old revision of the document!
sudo tee /etc/initramfs-tools/scripts/init-bottom/ntfs-mount <<'EOF'
#!/bin/sh
# Called at the end of the initramfs boot sequence
PREREQ=""
prereqs() { echo "$PREREQ"; }
case "$1" in
prereqs) prereqs; exit 0 ;;
esac
# Mount the Windows NTFS system partition (usually /dev/sda1)
mkdir -p /mnt/ntfs
mount -t ntfs-3g -o ro /dev/sda1 /mnt/ntfs || exit 1
# The Q4OS installer files are in the folder "q4os-installer" on that partition.
mkdir -p /cdrom
mount --bind /mnt/ntfs/q4os-installer /cdrom
EOF
namespace/q4os.1761465946.txt.gz · Last modified: by jo
