Posted: Wed 11 Oct 2017, 12:06 Post subject:
Unable to delete ldlinux.sys read-only file (Solved)
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.
Joined: 05 Feb 2012 Posts: 1824 Location: London, England
Posted: Wed 11 Oct 2017, 13:21 Post subject:
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. _________________ Oscar in England
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum