-
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
ALLEN BRADLEY 281G-F12S-10B-RRG-CBG /C AMORSTART MODULE 280G-FS-10-RG STK 2911
$380.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
AMD Ryzen 5 5600X CPU Processor (4.6GHz, 6 Cores, Socket AM4)
$119.99
Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...
$309.99
Intel Core i5-12600KF Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unlocked.
$145.59
Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H
$27.99
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$444.99
Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62
$45.89
Intel Core i3-10105 10th Gen Comet Lake 4 Quad-Core 3.70 GHz Processor FCLGA1200
$31.32