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.
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$11.99
Samsung 8GB 2Rx8 PC3-12800 DDR3 1600 MHz 1.5V Non-ECC DIMM Desktop Memory RAM 8G
$9.99
Hynix 16GB DDR4 2666MHz PC4-21300 ECC RDIMM Server Memory RAM (HMA82GR7AFR4N-VK)
$13.99
Samsung 128GB (16GBx8) 2Rx4 PC3L-12800R DDR3 1600MHz ECC REG RDIMM Server Memory
$39.00
Crucial - 32GB Kit (2x16GB) DDR4 3200MHz C22 SODIMM Laptop Memory Kit - Green
$44.99
Crucial 16GB DDR4 2400 MHz PC4-19200 DIMM Desktop Memory RAM 1x (CT16G4DFD824A)
$22.99
Hynix 4GB DDR3 PC3L-12800S 1600MHz 1Rx8 Laptop Memory Ram HMT451S6BFR8A-PB
$4.99
Samsung 16GB 2x8 GB DDR3L 1600 MHz PC3L-12800S SO-DIMM Laptop Memory 1.35V 8G US
$18.55
A-Tech 512GB 8x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$439.92
Lot Of 50 Mixed Brands 8GB DDR3 PC3L/PC3 Laptop SO-DIMM RAM Memory TESTED
$279.99