Hi,
Can anyone advise me on how to delete an ldlinux.sys file I’ve somehow or other got on a xerus64-8.3 partition. It’s situated outside the xerus folder. I’ve tried every which way to delete it, but it keeps saying write protected and permission denied. Also tried to manually change permissions, but still refused.
I’ve tried using Precise 5.7 booted from a cd, which used to remove anything, but permission is still refused.
Many thanks for any suggestions.
Unable to delete ldlinux.sys read-only file (Solved)
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
It is probably there as a result of you having installed syslinux bootloader in the partition at some point.
I think the file is refusing to delete because on installation it is given the "immutable" attribute. If so, try running chattr -i on the ldlinux.sys file to remove this attribute and then try deleting again. You might need the devx loaded to give you the chattr executable.
A search for "using chattr in linux" will bring up lots of further information.
I think the file is refusing to delete because on installation it is given the "immutable" attribute. If so, try running chattr -i on the ldlinux.sys file to remove this attribute and then try deleting again. You might need the devx loaded to give you the chattr executable.
A search for "using chattr in linux" will bring up lots of further information.
Oscar in England