error renaming files under linux

wizard5233

Senior member
Jul 30, 2000
365
0
0
I logged on as root, I am trying to rename a file in the /lib/modules/2.4.24-xfs/kernel/drivers/ieee1394 directory because the loading of that driver is causing my computer to freeze. I used the mv command, but I keep getting an error saying that it is a Read-only file system. Is there any way I can get around this? I am running Knoppix off of its CD to change the file name from a linux system installed with Fedora Core 1. I mounted the drives with write permissions in order to be able to rename the files. Any help would be much appreciated.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
That's weird, when you your booted up with knoppix and have the harddrive mounted what does "cat /etc/mtab" say?

Or maybe "cat /proc/mounts" or "cat /proc/self/mounts"?

Also what is the permissions of the files and it's directory?

ls -l /wereyouhavethedrive mounted/lib/modules/2.4.24-xfs/kernel/drivers/ieee1394
ls -ld /wereyouhavethedrive mounted/lib/modules/2.4.24-xfs/kernel/drivers/


Also becarefull about the path, /lib/modules/2.4.24-xfs/kernel/drivers/ieee1394 path on while booted up in knoppix is the iee1394 module on the knoppix cd itself, not the mounted harddrive. If you have the drive mounted on /harddrive/ then it would be /harddrive/lib/modules etc etc etc. (I've made that mistake pretty much everytime I boot up with a CD.)