Jump to content

Lenovo ThinkPad T420 with UEFI Only


K0gen
 Share

5,282 posts in this topic

Recommended Posts

@SimonLL - 

 

 

get rid of npci boot args - your arg should be just

 

slide=0 or

-v slide=0

 

run

sudo touch /System/Library/Extensions 

 

this will rebuild your caches 

run

kextstat | grep HDA

 

to see if HDA is loaded.

 

i can only guess that those odd devices must have come from a previous preferences file audio midi tool may help.  

 

its ok to have these 2 devices HDEF (onboard-1) and HDAU (onboard-2 in the nvidia gfx0 branch) - my real mac has i7/HD Graphics/Nvidia and it has this tree

 

grep Device SystemDSDT.dsl 

        Device (PCI0)

            Device (MCHC)

            Device (P0P2)

                Device (GFX0)

                Device (HDAU)

            Device (IGPU)

                Device (DD01)

                Device (DD02)

                Device (DD03)

                Device (DD04)

                Device (DD05)

                Device (DD06)

                Device (DD07)

                Device (DD08)

            Device (SATA)

            Device (SBUS)

                Device (BUS0)

                    Device (MKY0)

                Device (BUS1)

            Device (LPCB)

                    Device (LNKA)

                    Device (LNKB)

                    Device (LNKC)

                    Device (LNKD)

                    Device (LNKE)

                    Device (LNKF)

                    Device (LNKG)

                    Device (LNKH)

                Device (DMAC)

                Device (FWHD)

                Device (HPET)

                Device (IPIC)

                Device (MATH)

                Device (LDRC)

                Device (CDRC)

                Device (RTC)

                Device (TIMR)

                Device (SMC)

                    Device (SMS0)

                Device (ALS0)

                Device (EC)

                    Device (SMB0)

                        Device (SBS0)

                    Device (BAT0)

            Device (HDEF)

            Device (RP01)

                Device (GIGE)

            Device (RP02)

                Device (ARPT)

            Device (RP03)

                Device (FRWR)

            Device (RP04)

                Device (EXCD)

            Device (IO10)

            Device (IO1X)

            Device (IIO0)

            Device (IIOX)

        Device (ADP1)

        Device (LID0)

        Device (PWRB)

        Device (PNLF)

        Device (SLPB)

        Device (PDRC)

        Device (CPBG)

            Device (IMCH)

Link to comment
Share on other sites

Finally, I just have Clover boot with no Cache argument. I tried rebuilding the caches multiple times, even deleted the file and rebuilt it. Only booting with no caches lets audio work. Not a big problem as I'm on a SSD. It takes 2sec longer to boot.

 

I've been busy installing Windows 7 on a second mSATA SSD. Now, I'm trying to figure out how to get Clover to boot it. Is there anything to do in the config.plist or the EFI partitions to make it work? I have 2 EFI partitions (one on each SSD). Clover is on the MacOS Drive. Not sure how to get this working.

Link to comment
Share on other sites

@SimonLL -

 

i and others have posted a few pages back how to dual boot windows with clover. its pretty easy IMO.  i still don't understand why you cannot build caches to boot for audio - very w

Link to comment
Share on other sites

@simon 

 

Since you're using a separate disk for W7, you are better off reinstalling 7 and formatting its disk as mbr. Clover will see it just fine so long as clover is installed on OSX's disk and that disk is set to boot first. W7 gains no benefit to being installed on gpt nor booting in efi mode. (besides greater complexity[headache]) Please visit a few pages ago, where we discussed this in greater detail.


EDIT: Ah, Tluck beat me to it. He's right that it is a simple process, however, since you do not have a specific need for w7 to boot in efi mode nor on a gpt formatted disk, then I believe it is indeed easier to proceed as mbr. (but only because it's on a separate disk)

Link to comment
Share on other sites

Thanks guys! I guess I skipped through a couple of the 56 pages.  :whistle:

 

I actually got to getting both OS in line and working each on their drive with each their EFI partition. (Microsoft's has NO NAME) So I'd rather not re-install Windows a 3rd time today (it was a long and hard fight, but I won in the end).

 

I have only one little cosmetic headache left. For some reason, Clover gives me 3 entries:

 

- OSX from MacOS drive 

- Microsoft Boot Menu to boot Win7 (it works :thumbsup_anim:  )

- Boot Windows from EFI -------------------------------->Which I would LOVE to find a way to erase, but it doesn't give me any details when I hit spacebar on that one. No UUID, just the options Boot Windows and Return. When I select that entry, the system goes to black screen and freezes, I need to hard reboot. I've renamed the EFI folder on my Windows drive, the Microsoft Boot manager disappeared from clover, but not that weird Boot Windows entry. 

 

Any idea? I would just love to make it disappear. 

 

Thanks

 

 

IMG_20140622_222342.jpg

 

IMG_20140622_222349.jpg

Edited by SimonLL
Link to comment
Share on other sites

@SimonLL, Clover's detecting a windows EFI bootloader somewhere, double check your /efi.

 

Did you end up converting the W7 to MBR or is it still GPT? It might have a hidden ESP.

 

You might also want to think about capturing a wim file just in case you need to reinstall quickly :-)

 

Thanks guys! I guess I skipped through a couple of the 56 pages.  :whistle:

 

I actually got to getting both OS in line and working each on their drive with each their EFI partition. (Microsoft's has NO NAME) So I'd rather not re-install Windows a 3rd time today (it was a long and hard fight, but I won in the end).

 

I have only one little cosmetic headache left. For some reason, Clover gives me 3 entries:

 

- OSX from MacOS drive 

- Microsoft Boot Menu to boot Win7 (it works :thumbsup_anim:  )

- Boot Windows from EFI -------------------------------->Which I would LOVE to find a way to erase, but it doesn't give me any details when I hit spacebar on that one. No UUID, just the options Boot Windows and Return. When I select that entry, the system goes to black screen and freezes, I need to hard reboot. I've renamed the EFI folder on my Windows drive, the Microsoft Boot manager disappeared from clover, but not that weird Boot Windows entry. 

 

Any idea? I would just love to make it disappear. 

 

Thanks

 

 

IMG_20140622_222342.jpg

 

IMG_20140622_222349.jpg

Link to comment
Share on other sites

My Windows disk is still GPT. I really don't want to go through reinstalling Windows. 

 

Could it be in the MSR partition? Windows did create a partition that I cannot access in Disk utility. 

 

If I want to tell Clover to hide the Microsoft reserved partition, how would I do that? I can't mount the partition in Disk Utility. Any other way to find it's UUID?

Link to comment
Share on other sites


Simons-MacBook-Pro:~ simon$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *120.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS MacOS 119.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *120.0 GB disk1
1: EFI NO NAME 104.9 MB disk1s1
2: Microsoft Reserved 134.2 MB disk1s2
3: Microsoft Basic Data WINDOWS 119.8 GB disk1s3
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *500.1 GB disk2
1: Apple_HFS OldOSX 500.1 GB disk2s1
Link to comment
Share on other sites

Haha! Well, it's probably NTFS, but I am using OSXFuse, so it might be labeling mine "correctly" whereas the default Mac NTFS driver just calls it "Microsoft Basic Data" -__-

 

Anyway, if you move the stuff that's in your EFI partition on the Windows HDD into the folder C:\EFI and either make sure that EFI partition is empty or just delete the partition, that should stop the double entries.

 

This works because Clover has NTFS drivers, but you will need the EFI partition there in case you ever need to boot w/o Clover.

Link to comment
Share on other sites

This is my directory structure, which boots Windows fine via UEFI.

 

/Volumes/windoze 1/EFI would equate to C:\EFI

 

It'd be /Volumes/NO\ NAME/EFI for you, but to change it while booted in mac you'll need OSXFuse.

jak@deimos ~ % tree /Volumes/windoze\ 1/EFI 
/Volumes/windoze 1/EFI
├── Boot
│   └── bootx64.efi
└── Microsoft
    └── Boot
        ├── BCD
        ├── blahblahblah other files

27 directories, 61 files
Link to comment
Share on other sites

Just to be sure:

 

On my computer, the NO NAME partition is the EFI of the W7 drive.

 

The C: would be the WINDOWS partition where windows is installed.

 

So I should move Both Folders from the EFI (NO NAME) partition to the root of the Partition where Windows is installed (C:\   WINDOWS).

 

I have Paragon NTFS, but I guess it doesn't work on the Terminal level... just GUI apps. Disk Utility is seeing NTFS.

Link to comment
Share on other sites

Yes, sorry for the confusion, what I have as "windoze 1" would be your "Windows" volume.

Just to be sure:

 

On my computer, the NO NAME partition is the EFI of the W7 drive.

 

The C: would be the WINDOWS partition where windows is installed.

 

So I should move Both Folders from the EFI (NO NAME) partition to the root of the Partition where Windows is installed (C:\   WINDOWS).

 

I have Paragon NTFS, but I guess it doesn't work on the Terminal level... just GUI apps. Disk Utility is seeing NTFS.

Link to comment
Share on other sites

i have a simple setup to EFI boot OSX or Win7 from same disk. MS Basic Data is NTFS. one can hide any entry by specifying the UUID of the disk to hide. use the command line clover-genconfig and look at GUI section for Legacy Hidden etc. e.g. i could hide the EFI folder but just don't.  a 2 disk configuration will not be much different. 

 

$ diskutil list

/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

clover looks like this for me:

post-954945-0-94367300-1403494093_thumb.png

 

4 items - each one has a file like boot*.efi and clover lists them all on the GUI unless you choose to hide some.

 

look in /Library/Logs/Clover/boot.log for "found ...

 

1:485  0:079  found PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,GPT,508E7C04-3837-4962-BF09-C18685712C8E,0x28,0x64000)\EFI\Microsoft\Boot\bootmgfw.efi

1:532  0:046  found PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,GPT,508E7C04-3837-4962-BF09-C18685712C8E,0x28,0x64000)\EFI\BOOT\BOOTX64.efi

1:569  0:002  found PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(2,GPT,C8207D8A-456D-4A9C-901C-80D386164B9B,0x64028,0x513A78B0)\System\Library\CoreServices\boot.efi

1:616  0:015  found PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(3,GPT,ED6F0FD8-0D05-4638-8975-5174B59E067C,0x5140B8D8,0x135F28)\com.apple.recovery.boot\boot.efi

 

 

MS boot menu - but my bcd has it boot straight to the C drive.

EFI (not ever really used as GUI choice)

OSX

Recovery HD

 

my EFI is equally simple: (posted more details a few pages back)

 

/EFI/BOOT (bootx64.efi is copy of cloverx64.efi)

/EFI/CLOVER/

/EFI/Microsoft/

Link to comment
Share on other sites

It's there.

After I installed Windows, I copied my CLOVER and BOOT folder from last night's backup in to my Mac EFI partition to be sure W7 didn't mess with my working OSX. So there is no chance that there would be a Windows efi file left in there. I really can't find where that Boot Windows from EFI thing comes from.

 

Also, diskutil will not give me a UUID for the MSR partition.

Link to comment
Share on other sites

Don't worry about the MSR, it's just {censored} space.

 

Okay, just tested, and for me;

 

C:\EFI\Boot\bootx64.efi is the "internal EFI" listing, the second one, that doesn't work for you.

 

C:\EFI\Microsoft\Boot\bootmgfw.efi is the "Windows boot menu from EFI"

 

You should only need one, since Clover is handling the EFI itself. I would move your EFI\Microsoft\Boot folder back onto your ESP, since that is where it was installed and you know it works there, but don't move the EFI\Boot, just delete it.

 

They both work for me, so I went ahead and tarballed my /Volumes/windoze/EFI/Boot folder and then deleted it, and I am left with just one working Windows entry (Windows Boot Menu from EFI).

 

My guess as to why your C:\EFI\Boot\bootx64.efi is not working is that it was created expecting to be on a different partition than it currently resides on. You can fix that by using bcdboot to recreate it, but if bootmgfw.efi is working fine with Clover, just get rid of it.

Link to comment
Share on other sites

So I looked at the log, and it looks like Clover is adding 2 Legacy boot options from the Windows Drive. One from partition #4 (Boot Windows from EFI) and one from Partition #6 (Boot Windows from WINDOWS).

 

Any Idea how to hide these options? Is there a way to tell Clover not to display Legacy options? I'm not sure I can hide them by GUID, because the #4 has the Windows Boot Manager.

0. Volume:
1:410  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)
1:411  0:000    Result of bootcode detection: bootable <null string> (<null string>)
1:411  0:000    Volume 'Whole Disc Boot', LegacyOS '', LegacyIcon(s) 'legacy', GUID = <null guid>
1:411  0:000   1. Volume:
1:411  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)
1:411  0:000    Volume 'Whole Disc Boot', LegacyOS '', LegacyIcon(s) 'legacy', GUID = <null guid>
1:411  0:000   2. Volume:
1:411  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)
1:411  0:000    Volume 'Whole Disc Boot', LegacyOS '', LegacyIcon(s) 'legacy', GUID = <null guid>
1:411  0:000   3. Volume:
1:411  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,MBR,0x050482B1,0x2,0x3A38602E)
1:412  0:000    Result of bootcode detection: bootable <null string> (<null string>)
1:412  0:000    Volume 'OldOSX', LegacyOS '', LegacyIcon(s) '<null string>', GUID = <null guid>
1:412  0:000   4. Volume:
1:412  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)\HD(1,GPT,B523591E-47F8-4618-9BCD-7CDBA9568C00,0x800,0x32000)
1:412  0:000    Result of bootcode detection: bootable Windows (vista,win)
1:412  0:000    Volume 'EFI', LegacyOS 'Windows', LegacyIcon(s) 'vista,win', GUID = B523591E-47F8-4618-9BCD-7CDBA9568C00
1:412  0:000   5. Volume:
1:412  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)\HD(2,GPT,EB5D106A-188C-4951-8B57-7528CBA94EEE,0x32800,0x40000)
1:412  0:000    Volume 'Legacy HD2', LegacyOS '', LegacyIcon(s) 'legacy', GUID = EB5D106A-188C-4951-8B57-7528CBA94EEE
1:412  0:000   6. Volume:
1:412  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)\HD(3,GPT,3E2AC32A-306E-4347-BD01-AAD357F50850,0x72800,0xDF22000)
1:413  0:000    Result of bootcode detection: bootable Windows (vista,win)
1:413  0:000    Volume 'WINDOWS', LegacyOS 'Windows', LegacyIcon(s) 'vista,win', GUID = 3E2AC32A-306E-4347-BD01-AAD357F50850
1:413  0:000   7. Volume:
1:413  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(1,GPT,30E964F6-A360-4B87-A134-3867F1691027,0x28,0x64000)
1:413  0:000    Result of bootcode detection: bootable <null string> (<null string>)
1:413  0:000    Volume 'EFI', LegacyOS '', LegacyIcon(s) '<null string>', GUID = 30E964F6-A360-4B87-A134-3867F1691027
1:413  0:000    This is SelfVolume !!
1:413  0:000   8. Volume:
1:413  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(2,GPT,8DAD5234-687F-4934-B2B0-0D115BA3A7F4,0x64028,0xDDFAC38)
1:413  0:000    Volume 'MacOS', LegacyOS '', LegacyIcon(s) '<null string>', GUID = 8DAD5234-687F-4934-B2B0-0D115BA3A7F4
1:413  0:000   9. Volume:
1:413  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(3,GPT,A7859BC6-3CBE-4234-BC29-66834723F997,0xDE5EC60,0x135F28)
1:413  0:000    Volume 'Recovery HD', LegacyOS '', LegacyIcon(s) '<null string>', GUID = A7859BC6-3CBE-4234-BC29-66834723F997

…

0: 'Whole Disc Boot' no file system
1:500  0:000   1: 'Whole Disc Boot' no file system
1:500  0:000   2: 'Whole Disc Boot' no file system
1:500  0:000   3: 'OldOSX'
1:561  0:060  Check if volume Is Hibernated:
1:561  0:000  Check sleep image 'by signature':
1:615  0:053  read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Success
1:615  0:000  SleepImage name from pref: ImageVolume = 'OldOSX', ImageName = '\private\var\vm\sleepimage'
1:658  0:043  Reading first 512 bytes of sleepimage ...
1:669  0:010   OurBlockIoRead: Lba=3578D9A, Offset=6AF1B3400 (BlockSize=512)
1:669  0:000   sig lion: 0
1:669  0:000   sig snow: 0
1:669  0:000   no valid sleep image offset was found
1:669  0:000  Reading completed -> Success
1:669  0:000   sleepimage offset could not be acquired
1:669  0:000   hibernated: no - sign
1:695  0:026  found PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,MBR,0x050482B1,0x2,0x3A38602E)\System\Library\CoreServices\boot.efi
1:749  0:053   4: 'EFI'
1:759  0:010  found PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)\HD(1,GPT,B523591E-47F8-4618-9BCD-7CDBA9568C00,0x800,0x32000)\EFI\Microsoft\Boot\bootmgfw.efi
1:817  0:057  found PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x2,0x0,0x0)\HD(1,GPT,B523591E-47F8-4618-9BCD-7CDBA9568C00,0x800,0x32000)\EFI\BOOT\BOOTX64.efi
1:817  0:000   5: 'Legacy HD2' no file system
1:817  0:000   6: 'WINDOWS'
1:869  0:051   7: 'EFI'
1:920  0:050  skipped because path `PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(1,GPT,30E964F6-A360-4B87-A134-3867F1691027,0x28,0x64000)\EFI\BOOT\BOOTX64.efi` is self path!
1:920  0:000   8: 'MacOS'
1:932  0:012  Check if volume Is Hibernated:
1:932  0:000  Check sleep image 'by signature':
1:944  0:011  read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Success
1:944  0:000  SleepImage name from pref: ImageVolume = 'MacOS', ImageName = '\private\var\vm\sleepimage'
1:946  0:001  Reading first 512 bytes of sleepimage ...
1:948  0:002   OurBlockIoRead: Lba=1AA40A0, Offset=354814000 (BlockSize=512)
1:948  0:000   sig lion: 7A7A7A7A
1:948  0:000   sig snow: 0
1:948  0:000   no valid sleep image offset was found
1:948  0:000  Reading completed -> Success
1:948  0:000   sleepimage offset could not be acquired
1:948  0:000   hibernated: no - sign
1:954  0:006  found PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(2,GPT,8DAD5234-687F-4934-B2B0-0D115BA3A7F4,0x64028,0xDDFAC38)\System\Library\CoreServices\boot.efi
2:006  0:051   9: 'Recovery HD'
2:020  0:014  found PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(3,GPT,A7859BC6-3CBE-4234-BC29-66834723F997,0xDE5EC60,0x135F28)\com.apple.recovery.boot\boot.efi
2:070  0:049  Custom legacy start
2:070  0:000  Custom legacy end
2:070  0:000  Scanning legacy ...
2:070  0:000   0: 'Whole Disc Boot' (legacy) not legacy
2:070  0:000   1: 'Whole Disc Boot' (legacy) not legacy
2:070  0:000   2: 'Whole Disc Boot' (legacy) not legacy
2:070  0:000   3: 'OldOSX' (<null string>) not legacy
2:070  0:000   4: 'EFI' (vista,win) add legacy
2:074  0:004   added 'Boot Windows from EFI' OSType=2 Icon=vista,win
2:074  0:000   5: 'Legacy HD2' (legacy) not legacy
2:074  0:000   6: 'WINDOWS' (vista,win) add legacy
2:078  0:004   added 'Boot Windows from WINDOWS' OSType=2 Icon=vista,win
2:078  0:000   7: 'EFI' (<null string>) not legacy
2:078  0:000   8: 'MacOS' (<null string>) not legacy
2:078  0:000   9: 'Recovery HD' (<null string>) not legacy

GOT IT!!!! 

 

In Clover Configurator I just needed to put the scan to NOT Auto and uncheck Legacy. 

 

Thanks for your help guys!!!!

 

No I only really need to get Brightness going, but this thread is not very populated with nVidia users. I'm sure it's a simple thing, but really I'm not savvy enough to figure it out.

Link to comment
Share on other sites

Its has been a while now that I have successfully, converted my t420s to a hackintosh thanks to this thread. However, there is one slight problem and that is that under load, the idle temp of the cpu which hovers around 50 degrees goes to 90 (ie. youtube 1080p/ 4k full screen, or other cpu intensive task).

Normally, in windows this would be accommodated with a rapid rise in fan speed or I could enable turbo boost, and everything would run cool and fast.

Is there a way of enabling turbo boost or increasing the fan rpm in this set up. 

Any help is appreciated, thanks

Link to comment
Share on other sites

 @Hipopalamus

 

good to hear things worked out for you.

well the ThinkVantage (Blue) button is mapped in the DSDT to a function/run the fan at full speed 4500 rpm rather than variable speed. i often push the button when i am transcoding or encoding video for example as it does get a bit hot. what SSDT are you using? the script in the zip bundle does a better job of creating full range of P-states IMO i.e. create custom SSDT to match your CPU.

 

my system runs around 40C idle  - fans are at +/- 1950rpm. when i run it with my external monitor it goes up 2-3 degrees and fans run faster.  so 50 degrees idle does seems a bit high

Link to comment
Share on other sites

 Share

×
×
  • Create New...