Jump to content
ErmaC

Clover General discussion

20,229 posts in this topic

Recommended Posts

Posted (edited)

Hi guys,

 

So...apparently UEFI DVDs do work on my machine. I've got an older Ubuntu 15.04 around, so I was curious if that one shows up in boot menu.

 

And it does! With no extra changes in BIOS settings. Right now, my BIOS is set to LEGACY + UEFI. That's why it shows the DVD ROM as both UEFI and Legacy.

 

IMG_0010.thumb.jpeg.3d5ea7f4f194a8f09d5ee1e0bec41742.jpeg

 

So I think it should be (at least in theory) possible to make a bootable DVD with Clover on it.

 

In Disk Utility, DVD ROM shows up as Apple Partition Map (intended...I guess...?)

1016512514_Screenshot2019-07-13at23_35_23.thumb.png.380da6af0b619284169674f652480373.png

 

And the partition itself is a FAT12.

 

5288702_Screenshot2019-07-13at23_36_51.thumb.png.cf9b2787e14ae57eac28b46f0a098db8.png

 

But I guess that can't be all. Since the installer can't be only 2.3MB in size. :)) I know linux partitions can't be mounted by default with Disk Utility. So I didn't really bother to mount it.

Edited by arsradu

Share this post


Link to post
Share on other sites
Advertisement

Hi @arsradu,

I have to inform you that BiosBlockIO will not work with DVD because legacy BIOS (as well as CSM) operate with block size 512 bytes while DVD has block size 2048 bytes. Clover SATA (boot6) is only way to make cdboot.

 

Share this post


Link to post
Share on other sites
Posted (edited)
4 minutes ago, Slice said:

Hi @arsradu,

I have to inform you that BiosBlockIO will not work with DVD because legacy BIOS (as well as CSM) operate with block size 512 bytes while DVD has block size 2048 bytes. Clover SATA (boot6) is only way to make cdboot.

 

Hi Slice! :) 

 

Thank you very much for the info.

 

But...I'm not trying to make a bootable DVD for Legacy mode. That one already works (if you manually replace boot6 with boot7 before making the iso). However, I'm trying to make a bootable DVD for UEFI mode. THAT one doesn't work yet. :) 

 

But if you already know how to make that work...please, let me know. Cause I spent almost the entire day trying to figure that out.

Edited by arsradu

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, arsradu said:

 

Hi Slice! :) 

 

Thank you very much for the info.

 

But...I'm not trying to make a bootable DVD for Legacy mode. That one already works (if you manually replace boot6 with boot7 before making the iso). However, I'm trying to make a bootable DVD for UEFI mode. THAT one doesn't work yet. :) 

 

But if you already know how to make that work...please, let me know. Cause I spent almost the entire day trying to figure that out.

Clover DVD STOP at Sierra 10.12 because Apple change the rule , Remember that on High Sierra it is impossible to use Base System USB Installer High Sierra only installs in Create Install Media oficially. I'm not testing the Dosdude1 Patch on a DVD but I have to stop doing DVD programs after Sierra

 

See MacOS X Install DVD Creator

Test here 10.9 10.10, 10.11, 10.12

Edited by chris1111

Share this post


Link to post
Share on other sites
Posted (edited)

I see... but I'm not trying to make an installer. Just to boot Clover in UEFI mode, off of a CD/DVD.

 

And...with the help of fusion71au's script (and ./ebuild.sh -mc, so I don't have to manually replace boot6 with boot7 from Clover3911 anymore), I managed to create an iso for booting with BiosBlockIO. So, that part is covered. You can take a look at the script, and the resulting ISO. I can boot that no problem, from CD.

Now I just want to be able to create a CD/DVD for booting Clover (just Clover) in UEFI mode. I'm not interested in making a MacOS Installer.

 

How is is possible for that Ubuntu DVD to show up as UEFI boot item in Boot Menu? Wouldn't be able to do the same for Clover?

Clover-v2.5k-5005-X64.iso

makeiso_boot7

Edited by arsradu

Share this post


Link to post
Share on other sites
3 minutes ago, arsradu said:

I see... but I'm not trying to make an installer. Just to boot Clover in UEFI mode, off of a CD/DVD.

 

And...with the help of fusion71au's script (and ebuild.sh -mc), I managed to create an iso for booting with BiosBlockIO. So, that part is covered. You can take a look at the script, and the resulting ISO. I can boot that no problem, from CD.

Now I just want to be able to create a CD/DVD for booting Clover (just Clover) in UEFI mode. I'm not interested in making a MacOS Installer.

 

How is is possible for that Ubuntu DVD to show up as UEFI boot item in Boot Menu? Wouldn't be able to do the same for Clover?

Clover-v2.5k-5005-X64.iso

makeiso_boot7

The problem is DVD use cdboot

cdboot boot from Legacy clover not EFI partition

I don't know if that is possible ?????????

Share this post


Link to post
Share on other sites
Posted (edited)

I know what you're saying. I'm definitely not an expert. But I did test that iso. And it does work. :) How...? Ask someone with more experience. :))) I can only tell you that it works. If that's not Legacy (since, in theory, I shouldn't be able to boot like that), then it's definitely not UEFI either (cause it doesn't show up as UEFI: in Boot Menu).

 

This is from Clover, booting from CD.

 

IMG_0013.thumb.jpg.a292c66d305e07602e46706f6e40aaf9.jpg

 

Edited by arsradu

Share this post


Link to post
Share on other sites
2 minutes ago, arsradu said:

I know what you're saying. I'm definitely not an expert. But I did test that iso. And it does work. :) How...? Ask someone with more experience. :))) I can only tell you that it works. If that's not Legacy (since, in theory, I shouldn't be able to boot like that), then it's definitely not UEFI either.

 

This is from Clover, booting from CD.

 

 

 

cdboot in /usr/standalone/i386 use EFI on the root DVD or CD not in the EFI Partition

908835083_Capturedcranle2019-07-1318_24_46.png.9b3419f577394993ba36425a80e4846b.png

Share this post


Link to post
Share on other sites
Posted (edited)
6 minutes ago, chris1111 said:

cdboot in /usr/standalone/i386 use EFI on the root DVD or CD not in the EFI Partition

I know that. There is no EFI partition on a CD/DVD. :)

 

Still, the questions remain:

1. how does this trick work then? Cause it does work.

2. how can I make it work in UEFI mode (like that Ubuntu DVD I mentioned above)?

Edited by arsradu

Share this post


Link to post
Share on other sites
Posted (edited)
30 minutes ago, arsradu said:

I know that. There is no EFI partition on a CD/DVD. :)

 

Still, the questions remain:

1. how does this trick work then? Cause it does work.

2. how can I make it work in UEFI mode (like that Ubuntu DVD I mentioned above)?

Ubuntu  use EFI folder on root 

I don't think You can using EFI partition with cdboot;  it use only EFI on root

Maybe its possible but I don't know how to ??

Edited by chris1111

Share this post


Link to post
Share on other sites

But, but...Chris, the iso I posted above also has an EFI folder on root... But I guess that's not used in the same way as a real UEFI boot.

 

And....if cdboot is only for Legacy booting...I'm not interested in using it for UEFI. As I said, for Legacy, somehow it works already. :))) No need to focus on that anymore.

Now I just wanna focus on booting that CD in UEFI mode (maybe similar to how Ubuntu is doing it with that DVD).

 

I also don't know how... But...it seems to be possible...somehow. :))

 

Thank you so much for your feedback, Chris! Always nice talking to you. :) 

Share this post


Link to post
Share on other sites
Posted (edited)
11 hours ago, Badruzeus said:

Hi @fusion71au did you also install 10.15 in HFS+..? On my case am no longer able to proceed Clover installation since r4999. It just got stuck at osascript read-write or whatever it's name. I believe HFS+ has no r/o limitation under Catalina. And it does nothing with $ sudo mount -uw / either. Thanks.

 

No, I only installed hfs Catalina on a VMware virtual machine.  For my physical machines, 10.15 is installed on apfs formatted HDs.

 

Maybe your issue is SIP? Did you set CsrActiveConfig to 0x3E7, CSR_ALLOW_UNAPPROVED_KEXTS?  What is the output of csrutil status in Catalina?  Tried booting to Recovery HD and setting csrutil disable?

 

I also use @ASentientBot's launch daemon - copy CatalinaAutoMountWritable.plist into /Library/LaunchDaemons which auto mounts the root volume as R/W at every login (sudo mount -uw /).

 

 

 

4 hours ago, arsradu said:

Hi guys,

 

So...apparently UEFI DVDs do work on my machine. I've got an older Ubuntu 15.04 around, so I was curious if that one shows up in boot menu.

 

And it does! With no extra changes in BIOS settings. Right now, my BIOS is set to LEGACY + UEFI. That's why it shows the DVD ROM as both UEFI and Legacy.

 

 

 

So I think it should be (at least in theory) possible to make a bootable DVD with Clover on it.

 

In Disk Utility, DVD ROM shows up as Apple Partition Map (intended...I guess...?)

 

 

And the partition itself is a FAT12.

 

 

 

But I guess that can't be all. Since the installer can't be only 2.3MB in size. :)) I know linux partitions can't be mounted by default with Disk Utility. So I didn't really bother to mount it.

 

That looks interesting and promising.  If you can find out how the Ubuntu ISO is prepared and burnt to disk in linux, it should in theory be easy to do that for the Clover ISO as well.  Somehow it has a FAT partition (like a FAT32 EFI?).  Note Clover can also be compiled in Linux Mint/Ubuntu with the Build_Clover.command script.

Edit: This post and the subsequent wiki link maybe relevant on how to create a UEFI bootable ISO in ubuntu...:)

 

In addition, see if you can manually add an extra UEFI BIOS entry for the Clover CD/DVD (linking to CLOVERX64.efi) in linux with efibootmgr, or with bcfg in UEFI shell.

 

On macOS, have a look at man for hdiutil makehybrid.  Maybe -udf format will allow the Clover CD/DVD to be recognised when BIOS set to UEFI Only?

 

Finally, if you multi boot with UEFI Windows, then maybe you can manually create a UEFI-CloverCD/DVD entry with the EasyUEFI program.  Link to my guide for adding a Clover entry in UEFI Windows here and @GhostRaider's how to for MSI H81 boards (should be similar or the same BIOS settings to your system). <--- only works with GUID HDs that have EFI partitions

 

13 hours ago, vector sigma said:

Thanks anyway. I need a rw cd, or a UEFI virtual machine to do some tests..

 

13 hours ago, arsradu said:

Sure, no worries. Fusion71au seems to have made some progress with VM (if I got this right).

 

If you need any more tests on "real hardware", meaning a real CD, I can help you with that. :) 

 

 

The Clover ISO at least is able to EFI boot into macOS Catalina with VMware EFI firmware (also boot7 in your case which is Clover's EFI DUET firmware)...Note Clover's boot log

"Starting Clover Revision ... on VMware. Inc. EFI"

1664840985_CloverISOUEFIboot.thumb.png.48d6dc5c99374269caecf420559c48c7.png

 

The issue is getting the MSI UEFI Bios to recognise the Clover ISO burnt to CD/DVD as a UEFI bootable entry...

 

Edited by fusion71au
Link to linux xorriso -isohybrid-gpt-basdat option

Share this post


Link to post
Share on other sites

After 4992 there are no more error "Not found"?

Don't replace boot6 with boot7. boot7 is BiosBlockIo, it will not work with DVD.

And about UEFI DVD I think it is impossible because there is no EFI partition.

Share this post


Link to post
Share on other sites
Posted (edited)

The Not Found errors are there if:

1. I boot with SATA (boot6) instead of BiosBlockIO (boot7).

2. If I have missing drivers for boot. I'm still not sure which drivers created issues for me...that's why I uploaded above the exact ones that worked for me, but yeah, same error for both cases.

 

The only difference is that:

1. For case Nr 1, after the Not Found error, if I press Enter, I get that x64 Exception Type 000000000000006.

2. For case Nr2, I get stuck at Not Found and nothing happens if I press Enter.

 

I don't know why I can't boot with boot6, but I can't.

 

I'll try the newest commit 5006 with boot6 to confirm the "not found" error.

 

About UEFI DVD...it's not impossible, since Ubuntu does it already. :) But....after some brainstorming with fusion71au, it seems to be doing it by creating a mini EFI with efi.img within /boot/grub folder. So yeah, there is no EFI partition on a CD/DVD, but they managed to "emulate it" in some way that it it seems to work.

 

If you wanna take a look, I attached the boot files from Ubuntu 18.04.

Ubuntu ISO boot files.zip

 

Update: Build 5006 (and later) can't boot with default boot6. Not Found error + x64 Exception (red text screen).

Edited by arsradu

Share this post


Link to post
Share on other sites
31 minutes ago, arsradu said:

I don't know why I can't boot with boot6, but I can't.

This depend by a lack of your bios, why a variant that uses the bios block io was done.

Share this post


Link to post
Share on other sites
5 minutes ago, vector sigma said:

This depend by a lack of your bios, why a variant that uses the bios block io was done.

 

Most likely yes. I know it's a weird issue, and with my previous Gigabyte board, I think I used to use SATA (boot6). But that was like years ago, before even knowing I can boot UEFI. So yeah, it's most likely a particularity of this motherboard.

Share this post


Link to post
Share on other sites
Posted (edited)

@vector sigma Can you please, tell me if this is normal for building clover with ebuild.sh -mc?

 

 

426948517_Screenshot2019-07-14at14_01_24.thumb.png.8c18cc661ed79ad7bc8935be8af9af02.png

254094728_Screenshot2019-07-14at14_01_34.thumb.png.843bd1b43813f69c9afdba7ffbea0bef.png

 

Also, when writing Clover (pkg variant) to an USB drive, formatted GPT, shouldn't we remove boot6/boot7 file (named just "boot") from EFI partition root directory, when the user switches from Legacy booting to UEFI only?

 

Cause that doesn't seem to happen right now.

Edited by arsradu

Share this post


Link to post
Share on other sites
10 minutes ago, arsradu said:

Also, when writing Clover (pkg variant) to an USB drive, formatted GPT, shouldn't we remove boot6/boot7 file (named just "boot") from EFI partition root directory, when the user switches from Legacy booting to UEFI only?

 

Cause that doesn't seem to happen right now.

that is done automatically, if you can see boot6 or boot7 is because you selected alt boot?

Share this post


Link to post
Share on other sites
Posted (edited)
20 minutes ago, arsradu said:

@vector sigma Can you please, tell me if this is normal for building clover with ebuild.sh -mc?

It is ok, for others looks at off folder ;)

Anyway suppose you have a fresh Clover, I guess you want boot6 as well right? so a secondary pass without -mc is needed.

Edited by vector sigma

Share this post


Link to post
Share on other sites
1 minute ago, vector sigma said:

It is ok, for others looks at off folder ;)

Anyway suppose you have a fresh Clover, I guess you want boot6 as well right? so a secondary pass without -mc is needed.

 

Yeah...I've noticed. Well, I don't really want boot6. :)) That's the problematic one. I can't boot with it.

 

And...it's built by default. So..if I want boot7 (which allows me to boot), I need to do another pass with -mc.

 

About the boot file at the root of the EFI partition, it doesn't seem to be removed when reinstalling in UEFI mode only... Meaning I get this before and after installing Clover in UEFI only mode. Does it work ok for you?

 

913296905_Screenshot2019-07-14at14_55_37.thumb.png.6d18683c99d83fc272698b4b17cd053c.png

 

Share this post


Link to post
Share on other sites
1 minute ago, arsradu said:

About the boot file at the root of the EFI partition, it doesn't seem to be removed when reinstalling in UEFI mode only... Meaning I get this before and after installing Clover in UEFI only mode. Does it work ok for you?

Sorry but no one want to remove a boot file! Can be another bootloader , i.e. not Clover. Anyway if you remove the boot file... what do you want to do with your boot sectors Lol?

Share this post


Link to post
Share on other sites
4 minutes ago, vector sigma said:

Sorry but no one want to remove a boot file! Can be another bootloader , i.e. not Clover. Anyway if you remove the boot file... what do you want to do with your boot sectors Lol?

For UEFI-only booting, that boot file is not necessary, for as far as I know. Is it...?

Share this post


Link to post
Share on other sites
Posted (edited)
7 minutes ago, arsradu said:

For UEFI-only booting, that boot file is not necessary, for as far as I know. Is it...?

Yes your image is ESP Installation not UEFI only!

 

EDIT ***

Or you have install previously on ESP and after you have made a UEFI install on the same EFI partition but Clover will not remove previous ESP choice

if you are select UEFI only is only change the Clover LOG and the Drivers

Edited by chris1111

Share this post


Link to post
Share on other sites
Just now, arsradu said:

For UEFI-only booting, that boot file is not necessary, for as far as I know. Is it...?

No but, boot, isn't there for your will? Isn't installed by case. Once you selected a legacy installation, also your master boot record and the partition boot record of your disk are modified (boot0->boot1->boot). Removing the bootloader file didn't change mutch. As I said this is unsafe, the world didn't start nor ends with Clover. What you ask cannot be done, sorry.

Share this post


Link to post
Share on other sites
4 minutes ago, chris1111 said:

Yes your image is ESP Installation not UEFI only!

 

This is the setup.

 

1099865737_Screenshot2019-07-14at15_14_27.thumb.png.37c43844b47f2eaa2618030d61a61304.png

 

And you've already seen the outcome. :))

2 minutes ago, vector sigma said:

No but, boot, isn't there for your will? Isn't installed by case. Once you selected a legacy installation, also your master boot record and the partition boot record of your disk are modified (boot0->boot1->boot). Removing the bootloader file didn't change mutch. As I said this is unsafe, the world didn't start nor ends with Clover. What you ask cannot be done, sorry.

 

Sure, no problem. :) I just thought that's a bug. Since we do add that boot file for Legacy installations, I thought it makes sense to remove it for UEFI-only installations.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By ErmaC
      Slice is glad to present a new EFI bootloader.

      CLOVER
      Now version 2 rEFIt based.


      It is open source based on different projects: Chameleon, rEFIt, XNU, VirtualBox. The main is EDK2 latest revision.
      I also want to thank all who help Slice with the development. Credits and copyrights remain in the sources.
      https://sourceforge.net/projects/cloverefiboot/?source=directory
      There is a WIKI 
      http://clover-wiki.zetam.org/
      Main features:


      If you have a question please provide outputs from DarwinDumper (formed from Trauma tool). Thanks Trauma!
      Continued by blackosx and STLVNUB.
      Post#2 CloverGrower - create Clover by yourself Post#3 Downloads Post#4 Installation of the bootloader Post#5 How to do UEFI boot Post#6 How to use - common words Post#7 Calculator for Automatic DSDT fix Post#8 Instructions for GraphicsInjector Post#9 ATIConnector patching Post#10 Any kexts patching with some Samples Post#11 CustomEDID Post#12 Hiding unnecessary menu entries Post#13 Instruction for DSDT corrections to do DeviceInjection works Post#14 Development Post#15 Themes Post#16 About kexts injection Post#17 Instructions for P- and C-states generator Post#18 Patching DSDT to get Sleep working Post#19 CPU settings and geekbench Post#20 ACPI tables loading Post#21 DSDTmini Post#22 Custom SMBios Post#23 F.A.Q. Post#24 iCloudFix Post#25 Using mouse. Post#26 How to make orange icons to be metallic Post#27 How to make software RAID (by Magnifico) Post#28 How to modify InstallESD.dmg (by shiecldk) Post#29 Config.plist settings Post#30 Using extra kexts and skipping kernelcache Post#31 Choosing EFI drivers Post#32 Configuration files Post#33 Automatic config.plist creating Post#34 Custom DSDT patches Post#35 How to do sleep/wake working with UEFI BOOT Post#36 DeviceID substitution (FakeID) Post#37 Using Custom OS Icons Post#38 Hibernation Post#39 Floating regions Post#41 Property List Editor Post#42 Blocking Bad Kext Post#43 AAPL,slot-name Post#44 FakeCPUID for unsupported CPU Post#45 Multiple Boot Options - to write into UEFI BIOS boot menu Post#46 How to install Windows UEFI Post#47 How to speedup Clover boot Post#48 Info.plist patching Post#49 Arbitrary device injection Post#50 Non-Standard Legacy Boot Files Post#51 Reboot to Windows UEFI from Mac OSX Post#52 Deprecated Features Post#53 Using UDK2018 Post#54 Device Properties Post#55 Scalable themes Post#56 How to search Clover mistakes (bisection) -----------------
       
      Slice:
      I edited all posts in the thread to correspond to actual Clover revision.
      Please install Clover at least 2652 and use new instructions.
×