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 System X3650 M4 Server 2x Xeon 32 GB RAM NO HDD NO OS
$215.00
IBM S822LC 8335-GCA Power 8 2U Server 2xPower8 8core/64t 256gb RAM Tested
$493.45
IBM System x3650 M3 7945AC1 Server INTEL XEON E5620 2.4GHz 4GB
$59.00
IBM 520 8203-E4A Power Systems Server PowerPC Dual-Core 4.2GHZ 16GB SEE NOTES
$240.00
IBM EServer Xseries 220 Desktop
$160.00
IBM SYSTEM X3550 M4 7914AC1 Server INTEL XEON E5-2609 0 2.4GHz 8GB
$78.78
IBM System X 3550 M3 Server 124GB RAM Dual 2.67GHz Xeon Six Core X5650 No HDD
$79.95
Lenovo x3550 M5 Server - 180Gb SSD/3x300Gb SAS, 64GB Ram, 2x 8c CPUs, Proxmox
$240.00
IBM QRadar xx29 M4 2x Xeon E5-2670 2.6GHz 16-Cores | 64gb | M5120 RAID
$299.99
IBM x3650 M3, 7945-AC1, 40GB, XEON e5507, 2.26ghz x2 with RAID Card, No HDD
$149.40