Jump to content



Photo

Can't delete random boot.efi file


  • Please log in to reply
11 replies to this topic

#1 crazzy88ss

crazzy88ss

    Neowinian Senior

  • Joined: 24-July 05
  • Location: CA, USA

Posted 21 June 2013 - 23:18

Some weird file remained in my trash after deleting my Aperture library back up file from an external hard drive.

 

I can't get rid of it.

 

I've tried:

1.) Restarting finder, multiple times.

2.) Rebooting, multiple times.

3.) A basic Sharing & Permissions adjustment (which you can see does not work in the video)

4.) Changing permissions using CHMOD 777 in Terminal.

 

Uhh... any other ideas?

 




#2 kingofthecarts

kingofthecarts

    Neowinian

  • Joined: 04-December 03

Posted 21 June 2013 - 23:51

I would love to help on the OSX front, but I can't :(

 

An idea would mount the disk in another OS/boot CD and try that way?



#3 OP crazzy88ss

crazzy88ss

    Neowinian Senior

  • Joined: 24-July 05
  • Location: CA, USA

Posted 21 June 2013 - 23:58

I don't have another one available.



#4 OP crazzy88ss

crazzy88ss

    Neowinian Senior

  • Joined: 24-July 05
  • Location: CA, USA

Posted 26 June 2013 - 02:59

No other ideas huh?  I've googled and can't seem to find anybody else w/ this issue.



#5 virtorio

virtorio

    Neowinian Senior

  • Tech Issues Solved: 15
  • Joined: 28-April 03
  • Location: New Zealand
  • OS: OSX 10.10, Windows 8.1
  • Phone: LG G3

Posted 26 June 2013 - 03:13

You can try unlocking the file using these instructions:

http://reviews.cnet....-files-in-os-x/



#6 Mikee4fun

Mikee4fun

    Neowinian

  • Joined: 24-February 04
  • Location: SF Bay Area, California

Posted 26 June 2013 - 03:35

Have you tried logging is as root and then attempted deleting it. 

 

Also this guy looks like he solved a similar issue

 

http://forums.macrum...556&postcount=4



#7 Timan

Timan

    Fade Away...

  • Tech Issues Solved: 12
  • Joined: 21-October 01
  • Location: Virginia, USA

Posted 26 June 2013 - 06:11

Curious if you've tried secure delete. Finder > Secure Empty Trash. 



#8 allan.nyholm

allan.nyholm

    Neowinian

  • Joined: 14-January 06
  • Location: Aalborg, Denmark
  • OS: OS X Mavericks
  • Phone: iPhone 5S

Posted 26 June 2013 - 11:56

What about the Terminal command

sudo rm -rf ~/Desktop/boot.efi

But what puzzles me is how a file only found inside the OS X System folder comes into play with Aperture.

 

Also try looking at this ling on how to unlock files in OS X using Terminal http://superuser.com...d-files-on-os-x

 

Your computer is a Hackintosh? I get some videos on Hackintoshes after viewing your video. If it is then it's mysterious because is it not needed for Chameleon?

Just asking - you can safely ignore this comment about Hackintoshes - I have one stashed away myself so I'm not holy about it :)



#9 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 26 June 2013 - 23:49

Unlocking the file is a good suggestion. It would also be helpful if you try removing it from Terminal like allan.nyholm suggested; then if it fails you can at least get a specific error message.

 

Troubleshooting this issue should be easier for you with a complete understanding of the OS X permissions system. Unfortunately Apple developed more than one. The first answer to this superuser.com question provides a good overview of permissions in OS X.

 

 

Mac files can be protected in four three different ways that I'm aware of:

  1. Standard Unix ownerships and permissions like r/w/x for user/group/others that you see with ls -l and fix with chown(1) and chmod(1).
  2. File flags like uchg and schg that you see with ls -lO and fix with chflags(1).
  3. The old Finder metadata "Lock bit" that you see with GetFileInfo filename. You can also see the presence of the Finder metadata, but not its meaning, with ls -l@. You can fix it with SetFile(1). Never mind, this is mapped to the uchg flag now.
  4. Access Control Lists (ACLs) that you see with ls -le and fix with the ACL-related arguments to chmod(1).

So let's see what's up with your file by combining all those flags to ls:

ls -lO@e main.m


#10 OP crazzy88ss

crazzy88ss

    Neowinian Senior

  • Joined: 24-July 05
  • Location: CA, USA

Posted 12 July 2013 - 02:35

Have you tried logging is as root and then attempted deleting it. 

 

Also this guy looks like he solved a similar issue

 

http://forums.macrum...556&postcount=4

 

No go.

 

Curious if you've tried secure delete. Finder > Secure Empty Trash. 

 

I couldn't even get it into the trash.

 

What about the Terminal command

sudo rm -rf ~/Desktop/boot.efi

But what puzzles me is how a file only found inside the OS X System folder comes into play with Aperture.

 

Also try looking at this ling on how to unlock files in OS X using Terminal http://superuser.com...d-files-on-os-x

 

Your computer is a Hackintosh? I get some videos on Hackintoshes after viewing your video. If it is then it's mysterious because is it not needed for Chameleon?

Just asking - you can safely ignore this comment about Hackintoshes - I have one stashed away myself so I'm not holy about it :)

 

My sig says "27" iMac".  No hackintosh ;)

 

But the sudo command actually worked!!!  I don't reboot too often, but if it's there next time I boot up, I'll let you know.

 

Since that didn't work, I didn't get to xorangekiller's suggestion.



#11 Pedro3

Pedro3

    Neowinian

  • Joined: 02-August 04

Posted 22 August 2013 - 10:47

Use Onyx, it has an option to clean everything that is in the trash.



#12 MarkusDarkus

MarkusDarkus

    Neowinian Senior

  • Joined: 11-October 04
  • Location: Birmingham, England

Posted 22 August 2013 - 10:57

In this instance I would also do a file system check for corruption.