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.
IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 10GbE 2U Linux Server - 8247-22L
$519.96
IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8
$479.96
IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E
$799.96
6x Fedora Linux Computer Sticker Decals Desktop Laptop Server Badge Decal Vinyl
$2.99
Red Hat Enterprise Linux 5 Server - New and Sealed
$19.99
Red Hat Enterprise Linux 5 Server RHF032US-R1 NEW Sealed
$59.95
IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a
$3439.96
6x Powered By Linux Computer Sticker Decals Desktop Laptop Server Badge Decal
$2.99
IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE
$199.87
Router Firewall DHCP DNS Server pfsense opnsense 6x 10GB Ethernet Port AES-NII
$149.00