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 M1000E 16x Slots Blade Server W/ 6x Power Supplies
$379.95
HP ProLiant BL460c Gen9 Blade 2x E5-2667v3 3.2GHz =16 Cores 256GB P244BR 650FLB
$328.00
Dell M620 Blade Server (2x E5-2630v2 @ 2.6GHz / 24x32GB RAM = 768GB Total)
$377.73
Cisco UCSB-B200-M4 Blade Server 2 x E5-2690v3 12C 256GB RAM NO HDD/SSD
$174.00
Dell PowerEdge VRTX with 4x M630 Blade 8x E5-2620 V4 PERC8
$799.99
2 LOT Dell PowerEdge M620 Blade Server 0F9HJC Intel E5-2609 2.40GHz 16GB RAM
$74.99
Dell PowerEdge VRTX 25Bay 2.5" Blade Chassis with Fans, 1 CMC, perc h710 x 1
$400.00
Dell XJ6VP PowerEdge FX2S 4 Slot Blade Chassis PEFX2S 2x Power Supply *No blades
$309.12
HP ProLiant BL460c Gen9 Blade 2x 2697Av4 2.6GHz =32 Cores 128GB P244BR 650FLB
$350.00
HP ProLiant BL460c Gen9 Blade 2x E5-2690v3 2.6GHz =24 Cores 64GB P244BR 650FLB
$180.00