-
Junior Member
registered user
Knoppix 5.3.1 Remaster
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
3 months - Australia Virtual Windows Server- 6GB RAM, 4 Core, 400GB SSD
$37.64
1U Open Source Router Firewall X10SLH-N6-ST031 E3-1270 V3 6x 10GB Ethernet 16GB
$399.00
SQL Server 2019 Standard (10 CAL) - Windows and Linux, Physical License NEW
$178.45
NEW Redhat Enterprise Linux 7 Server Edition (Factory Sealed)
$25.00
The Complete Redhat Linux 5.2 Operating System Deluxe Secure Server Partial Seal
$39.99
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$169.00
Custom Laptop, Desktop or Server Badge - Set of 12 (Build Your Own Linux Badge)
$7.99
IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E
$699.95
1 Year USA VPS - Windows 2025 server - 6GB RAM, 4 Core, 400GB SSD
$188.21
UK VPS - Windows/Linux - 16GB RAM, 4 Core, 200GB NVMe, VPS Snapshot
$31.36