I know this relates to an old version of Knoppix, but after remastering the os and upgrading the kernel to 2.6.31.6 (and compiling aufs as part of that) i'm not able to remount the /ramdisk branch as read-only upon boot. Or after in init 2. If anyone can advise on this, it'd be much appreciated.
When running the script below:
/usr/sbin/knoppix-image /mnt/sda1/knoppix.img
The following line is failing:
mount -o remount,noplink,prepend:/KNOPPIX.IMG=rw,mod:/ramdisk=ro /UNIONFS
The following line succeeds fine:
mount -o remount,noplink,prepend:/KNOPPIX.IMG=rw,mod:/ramdisk=rw /UNIONFS
I get mount: /UNIONFS is busy error.
I've deleted whiteout files on /ramdisk beforehand with:
find /ramdisk -iname .wh.\*.plnk -exec rm -Rfv {} \;
I've run fuser -m -v /ramdisk and used the -k option to kill processes off.
I've also run lsof /ramdisk and killed associated processes.
Distilling the command down to the following fails:
mount -t tmpfs -o remount,ro /ramdisk /ramdisk
The following command succeeds:
mount -t tmpfs -o remount,rw /ramdisk /ramdisk
In /etc/mtab /ramdisk has mode 755 0 0.
If you can help please advise.
HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 16GB RAM No HDD's
$299.00
HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*
$94.99
HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's
$229.99
ProLiant MicroServer Gen8 Intel Xeon E3-1220L V2 2.3GHz CPU 8GB RAM
$170.00
HPE ProLiant MicroServer Gen 10 Plus, Xeon E-2224, 16GB DDR4, 1TB M.2 NVMe SSD
$750.00
HP ProLiant N36L Micro Server 633724-001 AMD Athlon II Neo N36L - No HDDs
$61.55
HP ProLiant Microserver Micro Server HSTNS-5151 untested
$67.50
HPE microserver Gen8 Update Firmware iLO4 + BIOS System Latest HP Server FAST⚡️✅
$79.99
HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server P54644001
$849.99
Supermicro A2SDi-4C-HLN4F Motherboard SYS-E200-9A 32GB ECC 250GB SSD 16GB M.2
$550.00