-
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

Supermicro 2U 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server
$305.99

Supermicro 1U 6018U-TR4T+ w/ X10DRU-i+ - Wholesale Custom Build Your Server
$219.99

2U 12 Bay Supermicro 6028U-TR4T+ w/ X10DRU-i+ Wholesale Custom Build Your Server
$309.99

Supermicro CSE-825 2U Server Chassis 8 x 3.5" Backplane & 3x Chassis Fans
$149.99

HP ProLiant MicroServer Gen8 Server 12gb RAM I3-3240 NO HDD/OS
$174.99

HPE ProLiant MicroServer Gen-8 Intel Xeon E3-1220L@2.30GHz 8GB RAM 2x 1TB HDD
$239.99

HP MicroServer HSTNS-5151 N54L AMD Turion II, 8GB ECC, SSD, Windows Server 2008
$149.00

HPE ProLiant MicroServer Gen10 Plus (Intel Xeon E2224, 16GB, 4x 4TB HDD) Server
$599.99

Supermicro CSE-826BE16-R920LPB 2U Server Chassis 2x920W 12x 3.5" BPN-SAS2-826EL1
$199.99

HP ProLiant MicroServer Gen 8 Pentium G2020T 2.5GHz 10GB RAM No OS No Adapter
$212.49