Skip navigation
This discussion is archived

how to delete boot.efi & bootX files

6022 Views 8 Replies Latest reply: May 13, 2010 5:53 AM by Cp_Devil RSS
Pumelke Level 1 Level 1 (25 points)
Currently Being Moderated
Nov 11, 2009 12:56 PM
Hey experts, I deleted a complete Time Capsule backup from an ext. hard drive, as I have no need for the backup & drive. Unfortunately it can't delete two files: boot/efi and bootX. They are locked and when I do a 'get info' on them, the actual locked box is ticked but greyed out..... has any one got any ideas how to unlock them, so I can delete them?
iMac PowerPC G5, Mac OS X (10.6.1)
  • K T Level 7 Level 7 (23,215 points)
    Currently Being Moderated
    Nov 11, 2009 12:59 PM (in response to Pumelke)
    Reformatting will get rid of everything you can and can't see...
    Intel iMac 10.6.2, OLED Pano
  • Tristan Wolfe Calculating status...
    Currently Being Moderated
    Jan 16, 2010 12:10 PM (in response to Pumelke)
    I am trying to free up space on my Time Capsule. When I try and delete my backup files, I get a message that says, "The operation cannot be completed because the item "BootX" is locked."
    I want to keep some of the other backups on the drive because they are not for my mac. How do I delete these files without deleting the other backups on the drive?
    macbook, Mac OS X (10.5.8), Time Capsule
  • KevinSWilliams Calculating status...
    Currently Being Moderated
    Jan 23, 2010 5:09 AM (in response to Pumelke)
    I'm having the very same problem and would appreciate any assistance that anyone can provide.
    Macbook Pro, Mac OS X (10.5.8)
  • Cp_Devil Calculating status...
    Currently Being Moderated
    Jan 23, 2010 7:12 AM (in response to Pumelke)
    Hi,

    maybe the file have the uchg flags, that means the file is unchangeble "User immutable flags", you can view the flags from terminal app with "ls" command, show the output like this:

    bash$ ls -alO
    -rw-r--r-- 1 root wheel uchg 319152 14 Nov 17:52 boot.efi

    Try to login with an admin user with "su" command

    bash$ su - <admin username>

    Go to the directory contain the file "boot.efi"

    bash$ cd /Volumes/<volume name>/<some other dirs>

    and remove the flags with:

    bash$ sudo chflags nouchg boot.efi

    Now try to remove the file with:

    bash$ rm -rf boot.efi

    Enjoy...

    --
    M.
    MacBook, Mac OS X (10.4.11), white
  • Bonfirus Calculating status...
    Currently Being Moderated
    Mar 17, 2010 10:34 AM (in response to Cp_Devil)
    Cp_Devil, I have the same problem, and no idea what you're talking about!

    I can open the Terminal application, but no idea how to implement the procedure you've suggested. Sorry to be such a noob, but can you step us through it?
    Powerbook
  • Cp_Devil Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 13, 2010 5:24 AM (in response to Bonfirus)
    I'm sorry i'm watching now your post...have you done?
    MacBookPro5,5 13", Mac OS X (10.6.2)
  • Cp_Devil Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 13, 2010 5:53 AM (in response to Cp_Devil)
    I'm sorry i'm watching now your post...i try to post an example...

    +Open The terminal and you show something like this:+

    Last login: Thu May 13 13:35:20 on ttys000
    hostname:~ <your username>$

    +##Now type the command after the "$", in bold, and change "admin username" with your, and the password##+

    hostname:~ <your username>$* su - <admin username>*
    Password:

    +##Change here the name of your volume "<volume name>"##+

    hostname:~ <admin username>$ *cd /Volumes/<volume name>/*

    +##With this command show the flags of you file note the "uchg" word##+

    hostname:<Volumes Name> <admin username>$ *ls -alO boot.efi*
    -rw-r--r-- 1 <admin username> admin uchg 0 May 13 14:27 boot.efi

    +##Remove the flags##+

    hostname:<Volumes Name> <admin username>$ *chflags nouchg boot.efi*

    +##Note the "-" where was "uchg"##+

    hostname:<Volumes Name> <admin username>$ *ls -alO boot.efi*
    -rw-r--r-- 1 <admin username> admin - 0 May 13 14:27 boot.efi

    +##Remove the file##+

    hostname:<Volumes Name> <admin username>$ *rm -rf boot.efi*

    +I hope you understood, and sorry for my english...+
    MacBookPro5,5 13", Mac OS X (10.6.2)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.