Jump to content

Clover General discussion

Bootloader EFI Clover

  • Please log in to reply
5050 replies to this topic

#401
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,050 posts
  • Gender:Male
  • Location:UK
Here's one of my folders. This one is for the PTMono font.

The folder contains:
- BoW_PTMono_10W.png (The final font file - reversed colour).
- PTMono folder (The extracted font files I originally downloaded).
- PTMono.zip (The original font archive I downloaded).
- URL's folder (Contains the web location of where I found the font).
- WoB_PTMono_10W.ai (My master Illustrator file - Saved in CS v6)
- WoB_PTMono_10W.png (The final font file).

The Illustrator file is made up of a few layers.
- I have a layer for each row of individual characters. I've done it this way because I it allows me to change the font and then manually re-position each character to fit the grid.
- There's a layer for a black background, guides, and importantly a placed image showing what character goes where (I think this was rEFIt's original print-cyr.png).

From Illustrator, I selected File -> Export -> PNG.
Leave the resolution at 72dpi and turn Anti-aliasing off.

I then loaded the .png file in to Photoshop and changed the canvas size (selecting left middle) to a width of 176px (from 178px).

To answer your questions:
- Yes, the characters have to be in a specific layout (See rEFIT's print.png)
- They have to be equal width and height (or at least fit in a grid of equal spacing).

Of the screenshot's of the app's you posted, I haven't tried either so I can't give fair comment. But looking at the images, the bmGlyph app shot looks overly complicated, and the TinyFont app looks promising however the particular font shows is not monospaced and therefore doesn't fit a grid.

If I get a chance I may try them out. I'm always looking for an easier way to accomplish these types of things and if they do work then great..

Attached Files



#402
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,294 posts
  • Gender:Male
Sorry for OT ..

@blackosx

can you clear out your pm box?

#403
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,847 posts
  • Gender:Male
  • Location:Moscow

After some tries I saw that apparently fstab isn't working to auto mount the EFI partition as I proposed for you before...

There is a very simple way to automount EFI partition at login.
Correct /etc/rc.local with two new lines at bottom
The whole file will be
#!/bin/bash
cat boot.log >boot.lo1
echo " " >> boot.lo1
date "+DATE: %Y-%m-%d TIME: %H:%M:%S%n" >> boot.lo1
ioreg -lw0 -pIODeviceTree | grep boot-log > ./log.txt
logdump=$(cat ./log.txt)
modified1=${logdump#*'boot-log'}
modified2=${modified1#*'<'}
modified3=${modified2%%'>'*}
echo $modified3 > ./boot-log.txt
xxd -r -p ./boot-log.txt >> boot.lo1
rm log.txt
rm boot-log.txt
tail -n 1000 boot.lo1 >boot.log
rm boot.lo1
mkdir /Volumes/EFI
mount_msdos /dev/disk0s1 /Volumes/EFI
Enjoy!

#404
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,050 posts
  • Gender:Male
  • Location:UK

Sorry for OT ..

@blackosx

can you clear out your pm box?

Done

#405
kyndder

kyndder

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 120 posts
  • Gender:Male
  • Location:Brazil

There is a very simple way to automount EFI partition at login.
Correct /etc/rc.local with two new lines at bottom
The whole file will be

#!/bin/bash
cat boot.log >boot.lo1
echo " " >> boot.lo1
date "+DATE: %Y-%m-%d TIME: %H:%M:%S%n" >> boot.lo1
ioreg -lw0 -pIODeviceTree | grep boot-log > ./log.txt
logdump=$(cat ./log.txt)
modified1=${logdump#*'boot-log'}
modified2=${modified1#*'<'}
modified3=${modified2%%'>'*}
echo $modified3 > ./boot-log.txt
xxd -r -p ./boot-log.txt >> boot.lo1
rm log.txt
rm boot-log.txt
tail -n 1000 boot.lo1 >boot.log
rm boot.lo1
mkdir /Volumes/EFI
mount_msdos /dev/disk0s1 /Volumes/EFI
Enjoy!


Thanks for the tip Slice, but I believe that this may not work when we have more
than one HDD on the machine like me that have four...

I didn't find any way to mount a volume by using UUID if not using fstab but I don't
know why, I can mount any volume less EFI on any disk with fstab...

#406
Mrengles

Mrengles

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 117 posts
  • Gender:Male
  • Location:United States

Thanks for the tip Slice, but I believe that this may not work when we have more
than one HDD on the machine like me that have four...

I didn't find any way to mount a volume by using UUID if not using fstab but I don't
know why, I can mount any volume less EFI on any disk with fstab...


Your boot disk will always be /dev/disk0

#407
efy

efy

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
When I boot I have a long delay before it displays "mac swapon success" and then it continues to boot. I read that I could use Netkos's pc-efi to fix it. But I boot with UEFI, will it still work? How can I fix the delay?

#408
kyndder

kyndder

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 120 posts
  • Gender:Male
  • Location:Brazil

Your boot disk will always be /dev/disk0


I think you are wrong...

#409
efy

efy

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
I am having trouble getting speedstep to work. I can get minimum and maximum pstates but nothing in between. I have already tried many things. I created patched SSDT and have also tried injecting c and p states through the bootloader. I have not had any success at all. Many people write to check the BIOS but the settings in my laptops BIOS are very limited and there isn't a custom BIOS to flash.

#410
kyndder

kyndder

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 120 posts
  • Gender:Male
  • Location:Brazil

I am having trouble getting speedstep to work. I can get minimum and maximum pstates but nothing in between. I have already tried many things. I created patched SSDT and have also tried injecting c and p states through the bootloader. I have not had any success at all. Many people write to check the BIOS but the settings in my laptops BIOS are very limited and there isn't a custom BIOS to flash.


When using custom SSDT you have DropOEMSSDT to No and with GenerateP/CStates DropOEMSSDT to Yes right???

http://www.insanelym...2/#entry1853597

#411
efy

efy

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

When using custom SSDT you have DropOEMSSDT to No and with GenerateP/CStates DropOEMSSDT to Yes right???

http://www.insanelym...2/#entry1853597


Yes when I use a custom SSDT I drop the OEM SSDT. I have tried all of the boot options in different ways with no success.

I should also note that although I modified the IOPlatform kext to enable sleep, I still experience sleep problems sometimes. If I try to sleep right after booting it works fine. But if I try after a while with a few programs open it doesn't go to sleep. The screen turns off with everything else on and I can't wake it again.

#412
shiecldk

shiecldk

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 222 posts
  • Gender:Male
  • Location:Taiwan
@Slice

"KextsToPatch" don't work for me.
I followed the instruction in here:
http://www.insanelym...2/#entry1853204
Then Applied the Trim code provided in the post, but it never have worked.
I'm wondering if newer Clover had removed this feature?

However, "KernelAndKextPatches" always works pretty well.


Problem solved.
I didn't know KextsToPatch is under KernelAndKextPatches.
Maybe you could mention it in the instruction. :wink2:

By the way, I found out that OsxAptioFixDrv-64.efi in EFI boot may cause wake failure after sleep. I don't have this sleep problem in Bios boot of Clover.
Hope this will be fixed in the future...

#413
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,847 posts
  • Gender:Male
  • Location:Moscow

Thanks for the tip Slice, but I believe that this may not work when we have more
than one HDD on the machine like me that have four...

I didn't find any way to mount a volume by using UUID if not using fstab but I don't
know why, I can mount any volume less EFI on any disk with fstab...

mkdir /Volumes/EFI0
mount_msdos /dev/disk0s1 /Volumes/EFI0
mkdir /Volumes/EFI1
mount_msdos /dev/disk1s1 /Volumes/EFI1
mkdir /Volumes/EFI2
mount_msdos /dev/disk2s1 /Volumes/EFI2
mkdir /Volumes/EFI3
mount_msdos /dev/disk3s1 /Volumes/EFI3
mkdir /Volumes/EFI4
mount_msdos /dev/disk4s1 /Volumes/EFI4


#414
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,294 posts
  • Gender:Male
:|

@Slice ...what is this error

Spoiler


#415
kyndder

kyndder

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 120 posts
  • Gender:Male
  • Location:Brazil

mkdir /Volumes/EFI0
mount_msdos /dev/disk0s1 /Volumes/EFI0
mkdir /Volumes/EFI1
mount_msdos /dev/disk1s1 /Volumes/EFI1
mkdir /Volumes/EFI2
mount_msdos /dev/disk2s1 /Volumes/EFI2
mkdir /Volumes/EFI3
mount_msdos /dev/disk3s1 /Volumes/EFI3
mkdir /Volumes/EFI4
mount_msdos /dev/disk4s1 /Volumes/EFI4


This way completely works!

#416
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,847 posts
  • Gender:Male
  • Location:Moscow

Posted Image

@Slice ...what is this error

Spoiler

This is a problem of NTFS support in OSX so ask Apple. I don't know.
It asks you to boot Windows and run chkdsk.

#417
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,294 posts
  • Gender:Male
:hammer: try with chkdsk ...

#418
Mrengles

Mrengles

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 117 posts
  • Gender:Male
  • Location:United States
@Slice

The new release of Clover v2 r857 works great here on my P8Z77-M Pro with an i7-3770K. The new video driver is picking up 6 different video modes, one of them being 1920x1080 for the boot menu. (Shown in the logs) I can set the output to 1920x1080 with the page up/down keys too! =)

How can I set the main menu to display at this mode by default?

Thanks,
-Mrengles

PS. Also I'm getting an Aptio error when booting verbose (the boot process keeps moving right along though and gets me to 10.8.2 without any problems), but it does not show in any of the logs, do I not need this driver? My motherboard uses the Asus Z77 UEFI Bios v1616. At the Asus UEFI BIOS utility it says the AMI version is 2.0.1.35 or something close to that...

Thanks again!

#419
shiecldk

shiecldk

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 222 posts
  • Gender:Male
  • Location:Taiwan
@Slice
This patch is for the problem "Still waiting for root device" in IOAHCIBlockStorage 2.3.1 from Build 12C3006:
http://www.insanelym...20#entry1866741

Maybe you could add it in the revision. :)

#420
Mrengles

Mrengles

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 117 posts
  • Gender:Male
  • Location:United States
I made a really nice font for Clover... Monaco variant, ant- aliased, white text with both black and gray backgrounds...

http://organicdata.n...sExtraFonts.zip

Enjoy!





Also tagged with one or more of these keywords: Bootloader, EFI, Clover


5 user(s) are reading this topic

4 members, 1 guests, 0 anonymous users


© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy