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.
OEM Apple MacBook Pro 13 A1706 A1708 2017 LCD Screen Display Assembly Silver
$125.54
OEM Apple MacBook Pro 13 A1706 A1708 2017 LCD Screen Display Assembly Space Gray
$144.14
OEM Genuine Apple MacBook Pro A1990 2018 2019 15" LCD Screen Display Assembly
$213.89
OEM Genuine A1618 Battery for Apple MacBook Pro15” Retina A1398 Mid 2015 99.5Wh
$55.99
OEM 45W Charger Adapter Supply Power for Apple Macbook Air A1465 A1466 2012-2017
$7.99
Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER
$18.99
Genuine OEM Apple 85W MagSafe 2 Charger for MacBook Pro / Air TESTED - Apple -
$9.79
Genuine Apple A1718 61W USB-C Power Adapter Apple OEM CHARGER
$24.99
OEM Apple Screen Assembly for 16" MacBook Pro A2141 2019 2020, Grade C
$190.00
APPLE OEM Power Extension Cable 6ft for Macbook, Macbook Air, Pro 2.5A 125V-NEW
$19.99