Jump to content

Lenovo ThinkPad T420 with UEFI Only


K0gen
 Share

5,271 posts in this topic

Recommended Posts

Hey guys. Still having troubles with sleep, shutdown, and changing sound (even booting from a USB Clover). Sleep usually works, but touchpad and pointer stick are dead on wake. Changing sound with hardware buttons will sometimes freeze the system. Shutdown still hangs about 50% of the time. At least no more graphics glitches though! :)

Link to comment
Share on other sites

Hi at all,

 

I've Mac OS X 10.8 and 10.8.3 Mountain Lino successful on my Lenovo Thinkpad T420 Type 4236-023 with Install Guide from Post #1.

 

Installation instructions: 

1. Create USB-Stick via DiskMakerX

2. Add Clover r1625 to USB-Stick or install on separate USB-Stick

3. Start up T420 via USB-Stick

3.1 Choose "Boot UEFI boot menu from EFI" -> Menu point disappeared

3.2 CHoose "Boot Mac OS from"

4. Mac OS Installer start

 

My Problem is that can't start the Mac OS X 10.9 Mavericks Installer via Clover!

- Clover r1625 - only Black Screen

- Clover r2298 (UEFI, Themes, without 64Bit Drivers)

-- Mac OS X 10.8 Mac Grey Background starts only

-- Mac OS X 10.9 don't start

- Clover r2353 (UEFI, Themes, without 64Bit Drivers) 

-- Mac OS X 10.8 Mac Grey Background starts only

-- Mac OS X 10.9 don't start   

 

Link to comment
Share on other sites

@Calle_2007 - the guide is post # 1 is pre-mavericks... a more recent guide on Clover v2 is what you need. 

 

copy the EFI/CLOVER folder from the zip in the Guide in my signature to your USB. 

then follow the instructions. 

you need to be using 64Bit drivers.

 

If your USB is MBR, you need to install the boot stuff in the USB MBR with the pkg installer (search back a few posts to see discussion). otherwise mount the ESP on the USB and put in there.

Link to comment
Share on other sites

@Calle_2007 - the guide is post # 1 is pre-mavericks... a more recent guide on Clover v2 is what you need. 

 

copy the EFI/CLOVER folder from the zip in the Guide in my signature to your USB. 

then follow the instructions. 

you need to be using 64Bit drivers.

 

If your USB is MBR, you need to install the boot stuff in the USB MBR with the pkg installer (search back a few posts to see discussion). otherwise mount the ESP on the USB and put in there.

 

Thanks a lot.

 

1. Format a USB-Stick  in GUID and Mac OS Extended

2. Install Clover r2298 with following properties:

 

 

j6qz9mktukhe.png

 

3. Remove EFI Folder from EFI-Partition
4. Copy EFI-Folder from ZIP to EFI-Partition
 
If i want boot from USB-Stick it appears a Blue Screen with all menu points.
So I select "Boot UEFI external from EFI" -> menu point don't disappeared.
When I select "Boot OS X Install from OS X 10.9 Install Disk - 10.9" --> I get a grey window with apple icon --> after that log stop by "System uptime in nanoseconds: 201691144"
 
This the same for "Boot OS X Install from OS X Mountain Lion Install Disk - 10.8". But this works with Clover r1625
Link to comment
Share on other sites

@Calle_2007 -

what else did you do after you copied the zip folder to /EFI?

did you rename the config.1366x768.plist to config.plist?

Thanks a lot.

I've forget to change the filename to config.pist. I've prepare a lot of sticks to install clover and forget to change the filename.

I test the Installation on my t420 an tell my experience.

Link to comment
Share on other sites

be careful if you try to upgrade clover - i just tried to install b2352 - it crashes the GUI if you have CustomEDID in config.plist. but b2330 is OK.

I've install Clover r2330 und r2352 on Speedloop 8GB via PKG-Install with same settings above.

But if I boot from Stick nothing appears.

Link to comment
Share on other sites

@Calle_2007

 

well not sure what is not happening!?

 

if nothing appears then you may have a theme issue. what theme did you select when you installed? the zip bundle has ThinkPad.

Note: b2352 has an issue with config.plist with CustomEDID - resets graphics to a white blinking cursor.

 

i find that using an MBR USB easier to use than GUID -  don't have to mount the hidden ESP.  just format with 1 fat32 partition - with clover pkg uncheck first two items (for UEFI) and check 2nd option in boot loader. then copy the Clover folder from the zip into /EFI

Link to comment
Share on other sites

@Calle_2007

 

well not sure what is not happening!?

 

if nothing appears then you may have a theme issue. what theme did you select when you installed? the zip bundle has ThinkPad.

Note: b2352 has an issue with config.plist with CustomEDID - resets graphics to a white blinking cursor.

 

i find that using an MBR USB easier to use than GUID -  don't have to mount the hidden ESP.  just format with 1 fat32 partition - with clover pkg uncheck first two items (for UEFI) and check 2nd option in boot loader. then copy the Clover folder from the zip into /EFI

 

I've install an USB-Stick (MBR , FAT32) via PKG-Installer and following properties:

 

bildschirmfoto20.png

Then I copy clover folder from zip into EFI on USB-Disk. 

With this Stick i can start Mac OS X 10.9 installer also.

When I Install Windows 8.1 on first partition I can't boot Windows 8.1 over Clover. Only a Windows XP logo appears.

Link to comment
Share on other sites

@Calle_2007

 

so now you have OSX Mavericks installed? correct?

but you want to get windows running too? 

 

my /EFI looks like this. as you can see there are 2 key folders in EFI

 

Clover boots OSX

Microsoft boots Windows.

 

Note: I copied the bootmgfw.efi and bootmgr.efi from the Windows partition. since i already had windows installed on an MBR disk. but if you use the UEFI version of the  Windows installer it will create/install these files for you. windows 8 is really good in this area. Windows 7 is a bit trickier. it should not matter what partition you install windows on ... as long as bcd matches the microsoft efi file will boot up the windows OS. if microsoft creates the /EFI/boot/ folder, then this boot folder must be move/renamed to /EFI/Microsoft/boot/ since Clover installs a copy of cloverx86.efi in boot/bootx64.efi as this is the default file name. 

 

post-954945-0-32116600-1386254188_thumb.png

 

my main disk has these partitions. 

 

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *750.2 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                  Apple_HFS OSX+                    697.7 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

   4:       Microsoft Basic Data C                       51.5 GB    disk0s4

Link to comment
Share on other sites

@tluck

 

Yes I've installed Mac OS X Mavericks.

Before that I've Windows 8.1.

 

I can start Mac OS over Clover-Stick an Windows 8.1 over Install-DVD.

 

1. So now I've an USB-Stick via PKG-Installer with properties from post 732.

2. I copy Boot and Clover folder from Zip to USB-Stick EFI-Partition (Mac OS X 10.7.5 replace folders).

3. Rename /EFI/EFI/CLOVER/config.1366x768.plist to config.plist.

4. Rename /EFI/EFI/CLOVER/OEM/ProductID.1366x768 to 4236AT9.

5. Create folder /EFI/EFI/Windows.

6. Copy folder C:/Boot to /EFI/EFI/Windows/Boot.

7. Copy folder C:/bootmgr to /EFI/EFI/Windows/Boot/bootmgr.

8. Copy folder C:/Windows/Boot/EFI/bootmgr.efi to /EFI/EFI/Windows/Boot/bootmgr.efi.

9. Copy folder C:/Windows/Boot/EFI/bootmgrfw.efi to /EFI/EFI/Windows/Boot/bootmgrfw.efi.

 

How can I find cloverx86.efi (in ZIP) for copy to boot/bootx64.efi?

I /EFI/BOOT/ is a BOOTX64.efi from ZIP.

 

My partition schema is :

 

screenshot2013-1.png

 

My USB-Stick:

 

bildschirmfoto20.png

Now when I start Windows 8.1 the Windows XP logo appears and after 5 seconds logo disappears but Windows 8 doesn't start. 

Link to comment
Share on other sites

@calle_2007.

 

rename /EFI/Windows to /EFI/Microsoft

rename /EFI/Clover/OEM/4236AT9 to  4236O23 (your productID not mine!)

if you want to use the OEM config.plist - set up to NOT inject kexts - expects you installed them in /S/L/E of your HD

 

The Clover should see the 2 partitions and allow you to pick one.

Link to comment
Share on other sites

No DSDT. Using the original from the zip. With the NullCPU kext the installer shows up. Using the HD (768) Plist.

 

EDIT: I finally reached the installer. But I'm stuck in disk partitioning. I shrunk my C: drive and formated the unallocated  space with exFat format. In Disk Utility, I cann't format the partition due to lack of free space. What can I do?

Link to comment
Share on other sites

off topic but insterresting

this is a native efi32 bootloader, instead of a CSM loader
it built a thunk between EFI64 and EFI32, forwarding EFI64 call from kernel to EFI32 firmware.

so those programs using EFI runtime services, such as bless, nvram will be run without any problem. 

Link to comment
Share on other sites

@safsprin - is your HD MBR or GPT/GUID? can't you leave the space unformatted? or is the plan to reformat the exfat partition with HFS?

 

i vaguely recall having format issues aloooong time ago... i ended up backing up my C drive and then repartition/reformatting my entire drive by Disk Utility and then restoring my C drive afterwards.  if you have 2 drives this is a lot easier!

 

@tetonne - there is never any shortage of cleverness to be discovered! thanks for sharing. 

  • Like 1
Link to comment
Share on other sites

HD in GUID built by Windows 8 installation (i guess this is the issue). I cann't format to HFS (no free space message), or delete the partition (clicking on the minus sign, apply - progress bar spinnig forever).

 

EDIT: HD formatted in GPT by OSX DIsk Utility. Windows 8.1 and Mavericks installed. Boot from internal EFI partition (with clover files). 

 

What's the next steps (sound, DSDT)?? 

Link to comment
Share on other sites

I also added Trim patch for enabling SSD Trim support without needing TrimEnabler. (wow, Mavericks boots FAST OOTB. It feels like < 10 seconds to desktop right now.)


                <key>KextsToPatch</key>

                <array>

                        <dict>

                                <key>Comment</key>

                                <string>Replace 4th port with VGA</string>

                                <key>Find</key>

                                <data>

                                AQIEABAHAAAQBwAABQMAAAIAAAAwAAAAAgUAAAAEAAAH

                                AAAAAwQAAAAEAAAJAAAABAYAAAAEAAAJAAAA

                                </data>

                                <key>Name</key>

                                <string>AppleIntelSNBGraphicsFB</string>

                                <key>Replace</key>

                                <data>

                                AQIEABITAAASEwAABQMAAAIAAAAwAAAAAgUAAAAEAAAH

                                AAAAAwQAAAAEAAAJAAAABgIAABAAAAAJAAAA

                                </data>

                        </dict>

                        <dict>

                                <key>Comment</key>

                                <string>Enable TRIM</string>

                                <key>Name</key>

                                <string>IOAHCIBlockStorage</string>

                                <key>Find</key>

                                <data>QVBQTEUgU1NE</data>

                                <key>Replace</key>

                                <data>AAAAAAAAAAAA</data>

                        </dict>

                </array>

 

 

Also, from my old thread, executing these (once) speeds up sleep/wake signficantly:

sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...