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.
2023 Apple Macbook Pro 14" with 16GB RAM, M3, and 512GB SSD Model #: MTL73LL/A
$1550.00
INTEL NUC8BEH Mini PC Intel Core i3 8109U 4GB RAM 0GB No OS -AC Included Only
$189.99
Dell XPS 8940 Desktop, i5-10400, 32GB Ram, NVIDIA rtx 3060ti, 256NVME, 1TB HDD
$699.59
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98
Raspberry Pi 4 Model B - 1GB RAM 64-bit ARM Cortex-A72 (ARMv8), Quad-core
$36.99
Intel Core i9-12900KF - 12th Gen Alder Lake 16-Core (8P+8E) 3.2GHz LGA CPU
$262.99
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$24.00
DELL OPTIPLEX 3050 INTEL CORE I7-6700 3.4GHZ 8GB RAM NO OS/HDD
$59.99
Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11
$119.49
Dell Optiplex 5070-7070 SFF i7-9700 8-Core 3.0GHz 16GB RAM 500G SSD Win 10 Pro
$249.98