USB booting :: Making /mnt/cdrom read-only?



I'm booting DSL 2.0 from a USB key. When it boots up, the USB filesystem (which is VFAT) is mounted as /mnt/cdrom (device /dev/sda1) and is read-write. Since I will never want to edit this partition, I would DSL to mount it read-only (the entire USB key can be mounted read-only). Does anyone know what script I need to edit to do this? Thanks.
Delete the boot option frugal from syslinux.cfg or isolinux.cfg depending on your install type.
Thanks for responding, but that didn't work. I also tried editing /etc/init.d/dsl-config and commented out the "mount /cdrom -o remount,rw" line and remastering in case it was being called somehow regardless of the frugal setting, but that didn't help either. When I look at the mounted devices I still see:

/dev/sda1 on /cdrom type vfat (rw)

Do you know of anywhere else that the filesystem could be being remounted as read-write? Thanks.

Lets try this again.

Go to your boot device (floppy or usb drive).

There will be a file called "syslinux.cfg" or "isolinux.cfg".  Make a backup copy of this file for safekeeping.

Edit the original file with Notepad (MSWindows) or beaver (linux).

remove the word "frugal" from ALL of the append lines.

Save the file.

done

Sorry, but it still won't work. I edited the syslinux.cfg file on my floppy to remove all instances of "frugal" and rebooted and the /cdrom is still mounted (rw). I know it is no longer booting as "frugal" as if I look in /etc/sysconfig before I edited the file, there is a file called "frugal" (as "touch"ed by the script /etc/init.d/dsl-config) and after I rebooted without "frugal" that file is no longer created in the sysconfig directory. Thanks a lot for the help, but do you know of somewhere else it is being remounted?
Next Page...
original here.