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 R720 3.5" 2x E5-2680 2.7ghz 16-Cores 64gb H710 8x Trays 2x750w
$384.99
Dell PowerEdge R720XD Server | 2x 2.8GHz 20 Cores | 128GB | H710 | 20TB Storage
$936.95
Dell Poweredge R410 2 X SIX CORE 2.40GHZ E5645 32GB RAM 500GB HHD SERVER QTY
$159.99
Dell PowerEdge R720xd Server | 2x E5-2680 2.7Ghz = 16 Cores | 48GB | 4x 2TB SAS
$550.00
Dell PowerEdge R720 Server / 2x E5-2640 = 12 Cores / 64GB RAM / H710 / 4x Trays
$299.99
Dell Poweredge R410 2 X SIX CORE 2.40GHZ E5645 64GB RAM 500GB HHD SERVER QTY
$199.99
Dell PowerEdge R620 Server / 2x E5-2670 V2 2.5GHz = 20 Core / 64GB RAM / 2TB SAS
$465.00
Dell Poweredge R730 2x Xeon E5-2620 v3 2.4ghz 12-Cores / 32gb / H730 / iDracEnt
$419.99
Dell PowerEdge R730XD Server 24BAY 2.5" H730P Controller Dual 750W - BareBone
$449.99
Dell Poweredge T310 Server Xeon x3430 2.40GHz 24GB Ram 2TB DVD Perc 6li 2x 400w
$255.75