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.
Seagate IronWolf Pro ST14000NE0008 14 TB Hard Drive - 3.5" Internal - (SATA/600)
$205.00
Seagate Internal Hard Drive ST24000DM001 24TB 7200 RPM
$305.99
HGST 8TB 3.5" 7.2k SAS HDD Hard Drive *Please Read* HUH728080AL4200 Tested,Wiped
$59.99
Fanxiang 512GB 1TB 2TB 4TB SSD 2.5'' SATA III 6Gb/s TLC Internal Hard Drive Lot
$50.99
Seagate Barracuda Pro (ST12000DM0007) 12TB SATA 6Gbps 3.5" Internal Hard Drive
$129.99
HGST 4TB SAS Hard Drive 3.5" HUS724040ALS640-NOT FOR DESKTOPS
$24.99
Seagate ST14000NM0288 14TB SAS Hard Drive 3.5 12Gbps 4Kn 7.2K Enterprise SAS HDD
$119.99
WL OEM 12TB 7.2K RPM SATA 6Gb/s 3.5in HDD Comparable to WLMG07ACA12TEY
$104.99
Certified Refurbished 4TB WD Elements Portable Hard Drive - RWDBU6Y0040BBK-WESN
$85.99
HUS726T4TALE6L4 Western Digital Ultrastar 4TB SATA 6Gbps 3.5" HDD DC HC310
$54.99