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.
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$165.99
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$195.00
Dell PowerEdge R630 Server | 2x Xeon E5-2667v4, 128GB, RAM, H730, Dual 750w PSU
$229.00
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 32gb / 500gb / 495w
$164.99
Dell PowerEdge R630 Server 2x E5-2690v3 2.60Ghz 24-Core 128GB H330 Rails
$288.85
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$444.99
Dell PowerEdge R730XD Server 2x E5-2640 V3 -16 Cores H730 32GB RAM 4x RJ45
$268.99
Dell R640 8x 2.5" SFF Server iDRAC ENT - Wholesale Custom Build Your Server
$318.99
Dell PowerEdge R740 EMC Server 2x Gold 6128@3.4GHz 64GB RAM 3X 1.6TB SSD's No OS
$799.99
Dell PowerEdge R220 1U Xeon E3-1220 V3 CPU 4GB DDR3 RAM ECC No Drive/OS Server
$111.14