use terminal to remove a 'Read Only' file / filesystem in Mac

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am currently in terminal in 'Diskutility' trying to remove everything from my HD including the Recovery Partition which is corrupted. I am using : rm -f System or
rm -f Library as examples and I get" Library is a Directory error.



I have an embedded system placed in my Mac and it has caused me 1000's of dollars and no Mac help from Apple.



Can someone assist here as it does involve an emergency.



Thank you.







share|improve this question




















  • why? just reformat.
    – Jasen
    Apr 1 at 8:05














up vote
0
down vote

favorite












I am currently in terminal in 'Diskutility' trying to remove everything from my HD including the Recovery Partition which is corrupted. I am using : rm -f System or
rm -f Library as examples and I get" Library is a Directory error.



I have an embedded system placed in my Mac and it has caused me 1000's of dollars and no Mac help from Apple.



Can someone assist here as it does involve an emergency.



Thank you.







share|improve this question




















  • why? just reformat.
    – Jasen
    Apr 1 at 8:05












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am currently in terminal in 'Diskutility' trying to remove everything from my HD including the Recovery Partition which is corrupted. I am using : rm -f System or
rm -f Library as examples and I get" Library is a Directory error.



I have an embedded system placed in my Mac and it has caused me 1000's of dollars and no Mac help from Apple.



Can someone assist here as it does involve an emergency.



Thank you.







share|improve this question












I am currently in terminal in 'Diskutility' trying to remove everything from my HD including the Recovery Partition which is corrupted. I am using : rm -f System or
rm -f Library as examples and I get" Library is a Directory error.



I have an embedded system placed in my Mac and it has caused me 1000's of dollars and no Mac help from Apple.



Can someone assist here as it does involve an emergency.



Thank you.









share|improve this question











share|improve this question




share|improve this question










asked Apr 1 at 2:11









David Johnson

1




1











  • why? just reformat.
    – Jasen
    Apr 1 at 8:05
















  • why? just reformat.
    – Jasen
    Apr 1 at 8:05















why? just reformat.
– Jasen
Apr 1 at 8:05




why? just reformat.
– Jasen
Apr 1 at 8:05










1 Answer
1






active

oldest

votes

















up vote
0
down vote













You could delete recursively using rm -Rf but I’m not really sure if you should do this.






share|improve this answer




















  • I used -rf and also -R to see and then deleted everything after saving the text to file. I have learned that deleting or reformatting with Disk Utility just does not delete everything especially if someone gets into the ;Recovery Partition.
    – David Johnson
    Apr 2 at 6:48










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434771%2fuse-terminal-to-remove-a-read-only-file-filesystem-in-mac%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













You could delete recursively using rm -Rf but I’m not really sure if you should do this.






share|improve this answer




















  • I used -rf and also -R to see and then deleted everything after saving the text to file. I have learned that deleting or reformatting with Disk Utility just does not delete everything especially if someone gets into the ;Recovery Partition.
    – David Johnson
    Apr 2 at 6:48














up vote
0
down vote













You could delete recursively using rm -Rf but I’m not really sure if you should do this.






share|improve this answer




















  • I used -rf and also -R to see and then deleted everything after saving the text to file. I have learned that deleting or reformatting with Disk Utility just does not delete everything especially if someone gets into the ;Recovery Partition.
    – David Johnson
    Apr 2 at 6:48












up vote
0
down vote










up vote
0
down vote









You could delete recursively using rm -Rf but I’m not really sure if you should do this.






share|improve this answer












You could delete recursively using rm -Rf but I’m not really sure if you should do this.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 1 at 2:40









Ankit Jain

1013




1013











  • I used -rf and also -R to see and then deleted everything after saving the text to file. I have learned that deleting or reformatting with Disk Utility just does not delete everything especially if someone gets into the ;Recovery Partition.
    – David Johnson
    Apr 2 at 6:48
















  • I used -rf and also -R to see and then deleted everything after saving the text to file. I have learned that deleting or reformatting with Disk Utility just does not delete everything especially if someone gets into the ;Recovery Partition.
    – David Johnson
    Apr 2 at 6:48















I used -rf and also -R to see and then deleted everything after saving the text to file. I have learned that deleting or reformatting with Disk Utility just does not delete everything especially if someone gets into the ;Recovery Partition.
– David Johnson
Apr 2 at 6:48




I used -rf and also -R to see and then deleted everything after saving the text to file. I have learned that deleting or reformatting with Disk Utility just does not delete everything especially if someone gets into the ;Recovery Partition.
– David Johnson
Apr 2 at 6:48












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434771%2fuse-terminal-to-remove-a-read-only-file-filesystem-in-mac%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?