InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 02-09-2010, 12:39 AM
vultu's Avatar
vultu vultu is offline
Cheetah
 
Join Date: Jul 2009
Location: Brasil
Posts: 10
How hide EFI Partition?

Hi guys!

I was trying some things and I execute the comand below:

Code:
diskutil eraseVolume "HFS+" "EFI" /dev/disk0s1
To erase my EFI partition and install chameleon rc4 again, but now the EFI partition stay on desktop.

There is some way to hide EFI Partition again?

Maybe some obscure diskutil command?

Please help!
Reply With Quote
  #2  
Old 02-09-2010, 02:30 AM
mindlessmissy mindlessmissy is offline
Jaguar
 
Join Date: Mar 2008
Posts: 35
UnMount EFi:

umount /Volumes/EFI (If this fails, do umount -f /Volumes/EFI)

rm -rf /Volumes/EFI
Reply With Quote
  #3  
Old 02-09-2010, 12:13 PM
vultu's Avatar
vultu vultu is offline
Cheetah
 
Join Date: Jul 2009
Location: Brasil
Posts: 10
Quote:
Originally Posted by mindlessmissy View Post
UnMount EFi:

umount /Volumes/EFI (If this fails, do umount -f /Volumes/EFI)

rm -rf /Volumes/EFI
Thank you this works, but when I restart the computer the EFI partition appears again on the desktop.
Reply With Quote
  #4  
Old 02-09-2010, 02:36 PM
PROTOCOLX's Avatar
PROTOCOLX PROTOCOLX is offline
Puma
 
Join Date: May 2009
Location: Zwolle, Netherlands
Posts: 15
To unmount EFI again...

Start terminal
Code: sudo -s
umount -f /Volumes/EFI
rm -f /Volumes/EFI
killall Finder

Processor: Intel Pentium 4 x2 3400 Mhz SSE3 Prescott Motherboard: ASUS P4P800-E deluxe Memory: 3GB Corsair dual channel Video: ASUS ATI AH3650 Silent 512MB AGP Case: Chieftec Bigtower Install: Kalyway 10.5.2 updated to 10.5.8
NEW:  Macbook Pro 15 inch, 2GB memory.. http://www.osx86.nl Download: iGenius Intel®MacCare http://thepiratebay.org/user/PROTOCOLX/
Reply With Quote
  #5  
Old 02-09-2010, 11:20 PM
vultu's Avatar
vultu vultu is offline
Cheetah
 
Join Date: Jul 2009
Location: Brasil
Posts: 10
Quote:
Originally Posted by PROTOCOLX View Post
To unmount EFI again...

Start terminal
Code: sudo -s
umount -f /Volumes/EFI
rm -f /Volumes/EFI
killall Finder
When I restart the computer the EFI partition appears again on the desktop.

I think I will you need to reinstall, its not the first time this happen and I dont find a solution.
Reply With Quote
  #6  
Old 02-10-2010, 01:05 AM
PROTOCOLX's Avatar
PROTOCOLX PROTOCOLX is offline
Puma
 
Join Date: May 2009
Location: Zwolle, Netherlands
Posts: 15
I think you're EFI partition isn't recognized any more by Mac OSX itself...

If you use a program like iPartition it will be recognized as EFI I think... But the OS itsself doesn't anymore..

I once did have that problem also... But didn't found a real solution also....

Processor: Intel Pentium 4 x2 3400 Mhz SSE3 Prescott Motherboard: ASUS P4P800-E deluxe Memory: 3GB Corsair dual channel Video: ASUS ATI AH3650 Silent 512MB AGP Case: Chieftec Bigtower Install: Kalyway 10.5.2 updated to 10.5.8
NEW:  Macbook Pro 15 inch, 2GB memory.. http://www.osx86.nl Download: iGenius Intel®MacCare http://thepiratebay.org/user/PROTOCOLX/
Reply With Quote
  #7  
Old 02-10-2010, 01:19 AM
srs5694 srs5694 is offline
Puma
 
Join Date: Jan 2010
Location: Woonsocket, RI
Posts: 29
The problem is almost certainly that the partition type code for the partition has been changed. You can change it back with any of several utilities. I'm not very familiar with the command-line diskutil program, so I can't help you there. If it's an MBR disk, you could use fdisk to do the job. Unfortunately, I'm not very familiar with the OS X version of fdisk, but with the Linux version of the program, you'd launch fdisk, then use 'p' to view the partitions and identify the one you want to change, then use the 't' command to change the type code. Assuming this is an EFI System partition, the appropriate type code is 0xEF (you usually omit the "0x" part in disk utilities). You'd then type 'w' to write your changes to disk.

If it's a GPT disk, the appropriate code is C12A7328-F81F-11D2-BA4B-00A0C93EC93B, but most utilities (understandably) don't accept GUID codes like that directly. You could use my GPT fdisk to do the trick. It works much like Linux fdisk; launch the program, then use 'p' to view your partitions, then use 't' to change the type code. In GPT fdisk, that would be EF00. When finished, use 'w' to write your changes back to disk.
Reply With Quote
  #8  
Old 02-10-2010, 11:33 AM
vultu's Avatar
vultu vultu is offline
Cheetah
 
Join Date: Jul 2009
Location: Brasil
Posts: 10
Quote:
Originally Posted by srs5694 View Post
If it's a GPT disk, the appropriate code is C12A7328-F81F-11D2-BA4B-00A0C93EC93B, but most utilities (understandably) don't accept GUID codes like that directly. You could use my GPT fdisk to do the trick. It works much like Linux fdisk; launch the program, then use 'p' to view your partitions, then use 't' to change the type code. In GPT fdisk, that would be EF00. When finished, use 'w' to write your changes back to disk.
Thanks SRS!

It´s a GPT disk with 2 HFS+ partition + EFI hidden partition, this always happen if I format the EFI partition, I tried to recover from a Norton Ghost image that I had but did not work too.

I will try your program later when I go home.
Reply With Quote
  #9  
Old 02-10-2010, 02:41 PM
iTuning iTuning is offline
Cheetah
 
Join Date: Sep 2009
Posts: 3
Yep, it's because after formatting, the partition gets wrong name and type code.
Use a small utility, called "gdisk" (GPT Fdisk), install it and run it from the terminal.
- the "p" switch will print to you various details
- the "v" switch will verify the disk and print out errors, if found

You will see that neither the name of the EFI-partition is "EFI", nor
the type code is "ef00", which is the proper one for a EFI System Partition.

And for the correction, you will need two switches :
- "c" for changing the partitions name
- "t" for changing the type code to "ef00"
- "w" for writing the changes to the disk

Unmount the partition, restart and you'll not see it mounted anymore
Hope this will help you out.

Greetings

P.S. It seems that i have overlooked a user's comment, which already helped
Reply With Quote
  #10  
Old 02-12-2010, 03:04 AM
srs5694 srs5694 is offline
Puma
 
Join Date: Jan 2010
Location: Woonsocket, RI
Posts: 29
Quote:
Originally Posted by iTuning View Post
You will see that neither the name of the EFI-partition is "EFI", nor
the type code is "ef00", which is the proper one for a EFI System Partition.

And for the correction, you will need two switches :
- "c" for changing the partitions name
- "t" for changing the type code to "ef00"
- "w" for writing the changes to the disk
A small correction (or at least an elaboration): The partition name, which you correctly say can be changed via the 'c' option in GPT fdisk, is unimportant with respect to whether OS X mounts the partition. That field in the GPT data structure exists to be informative to users. GPT fdisk, GNU Parted, and some other tools (but not Disk Utility) display this field. It can be handy in differentiating different partitions with the same type code but different purposes. For instance, Linux and Windows use the same type code for their native partitions, which can make it hard to tell what's what in a Linux/Windows dual-boot environment. Using the partition name field, you can give each partition a descriptive name, such as "Linux /boot" or "Shared NTFS data." Naming the EFI System partition in this way can be useful, but isn't necessary to keep it from mounting in OS X.



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply
Thread Tools
Display Modes