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 Desktop PC i7 8th Gen, up to 64GB RAM, 4TB SSD, Windows 11/10 Pro, WiFi BT
$179.00
DELL Desktop Computer PC i7/i5,Up to 64GB RAM,14TB SSD/HDD,Windows 10/11, WiFi
$139.00
Dell Desktop Computer PC i5, up to 32GB RAM, 3TB SSD, Windows 11/10 Pro WiFi
$119.00
Lenovo Yoga 6th Gen ThinkPad 11e 2-in-1 Laptop Windows 11 Pro. 8GB RAM 256GB SSD
$109.00
Intel Core i9-12900KF Unlocked Desktop Processor
$299.99
Intel Core i7-9700 3.00GHz 8 Core (SRG13) Processor
$106.00
New AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor OEM Tray
$129.99
Intel Core Ultra 7 Desktop Processor 265K - 20 cores (8 P-cores + 12 E-cores) an
$384.99
Dell Desktop PC i7, up to 32GB RAM, 3TB SSD, Windows or Linux Mint, WiFi BT
$168.54
HP Z2 G4 Tower PC COMPUTER Workstation 3.20GHz i7-8700 up to 64GB & 2TB NVME M.2
$299.99