-
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

ASUS - PRIME B450M-A II (Socket AM4) AMD B450 microATX DDR4 Motherboard - Black
$69.99

GIGABYTE GA-AB350M-D3H Motherboard Socket AM4 DDR4 +AMD Ryzen 3 2200G I/O Shield
$79.99

Gigabyte B560 DS3H AC Intel LGA 1200 DDR4 ATX Motherboard
$69.95

Gigabyte B560 DS3H AC Intel B560 LGA 1200 ATX Desktop Motherboard A
$79.99

ASRock H370M-HDV LGA1151/ Intel H370/ DDR4/ SATA3&USB3.2/ Micro ATX Motherboard
$51.95

Asus Prime B560M-A mATX LGA1200 Motherboard
$59.99

ASRock Z170M-ITX/AC LGA 1151 Intel Motherboard | Fast Ship, US Seller
$59.97

ASUS Prime Q270M-C LGA1151 DP HDMI VGA SATA 6GB/s USB 3.0 MicroATX Motherboard
$34.99

ASUS ROG Strix X670E-F AMD X670E DDR5 Socket AM5 Wi-Fi Gaming Motherboard
$215.00

Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM
$79.00