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.
Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro
$8.99
Apple OEM QHD IPS LCD Screen Assembly for 16" MacBook Pro A2141 2019/20 Display
$299.99
Original OEM 45W Magsafe 2 Charger for APPLE MacBook Air 13" 11" A1466 2015 2013
$7.99
OEM 85W MagSafe 2 Power Adapter Charger For apple MacBook Pro Retina A1424 A1398
$20.89
OEM Apple 10W GENUINE USB Wall Plug Charger Adapter iPhone iPad Lightning cable
$6.99
OEM 45W Charger Adapter Supply Power for Apple Macbook Air A1465 A1466 2012-2017
$6.95
Genuine OEM Apple Power Adapter Extension Cable for MacBook Pro Air
$8.99
Genuine Original OEM APPLE Thunderbolt Cable 2M MC913ZM/A MD861LL/A White 6.5ft
$18.50
OEM 45W Charger Adapter Supply Power for Apple Macbook Air A1465 A1466 2012-2017
$7.95
OEM 45W Charger Adapter Supply Power for Apple Macbook Air A1465 A1466 2012-2017
$6.99