18 October 2009

Snow Leo EFI Boot Guide Revamped : Part 3

Next >> Snow Leo EFI Boot Guide Revamped : Part 4
<< Back Snow Leo EFI Boot Guide Revamped: Part 2


Configure EFI


The previous guide was admittedly a total chaos, specifically on this part of the entire EFI Boot Guide. So in this new guide, the steps are still pretty much the same ones which I got from the original thread at msiwind.net (the site's still not up yet as of post's writing so I'm not linking but credits still go to 18seven), in order to simplify things down for a noob like me, I've repackaged the files needed, reordered the steps.


What you need: "SnowLeoHPMini_101709.zip" file (Alternate download link here). Nothing really special about the suffix number - it isn't exactly a version number; just the date when the package was finalized for posting/release.



1. Unzip "SnowLeoHPMini_101709.zip" to your main "/". I'm choosing this location as it's more terminal-typing-friendly than any other location.


2. Launch Terminal and watch the video below (I hope you remember your own password and use Tab to help you fill out paths when typing them ;)):
*It's important that the entire "Extra" folder from the package be copied to your EFI partition; we're using scripts and so we want to avoid issues with paths.

Here are all the commands needed:


sudo -s diskutil list 
newfs_hfs -v EFI /dev/disk0s1 mkdir /Volumes/EFI
mount_hfs /dev/disk0s1 /Volumes/EFI
This formats disk0s1 as Mac OS X Extended (Journaled) and mounts it as volume EFI.


cd /SnowLeoHPMini_101709/cham2RC3
fdisk -f boot0 -u -y /dev/rdisk0
dd if=boot1h of=/dev/rdisk0s1
cp boot /Volumes/EFI
This installs Chameleon v2 RC 3 r658 in your EFI partition


fdisk -e /dev/disk0
p
f 1
w
y
q
This sets volume /dev/disk0s1 (the EFI partition) as active. Remember to put a space between "f" and "1"
* The DSDT.aml which is installed when using this guide should enable Sleep/Clamshell. But this is tested to work only for the HP Mini 1000. If you're using this guide on another HP Mini model, delete the DSDT.aml in Extra folder in the EFI partition (/Volumes/EFI/Extra) as it can cause kernel panics.


umount -f /Volumes/EFI
rm -rf /Volumes/EFI


This unmounts the EFI partition, we unmount just so the scripts remain considerably happy when we run them later. 
Now time to add some kexts:


cd /SnowLeoHPMini_101709/extensions_update
./27ae.sh
./update.sh


This patches the video kexts and copies all the HP Mini kexts to /Extra/Extensions in the EFI partition, creates or updates Extensions.mkext and repairs permissions. 


It can take a while - in fact I just cut the vid in iMovie when I created this video. So get your iPod and listen to your fave song some while you wait for it to finish.


Voilà, you're done. Restart your MacBook Mini. 


The theme included in the package and which gets installed by default using this guide is actually the "Choose Your OS" theme from the voodoo labs website ("Theme Park" Section); I just took out some stuff out to get something very close to BootCamp in real Macs ;).



12 comments:

Pedro Cardoso said...

Hi,

Great guides, great blog :)

I've been following you for some time and having your guides has been fantastic.

Following one of your previous guides, I have my Compaq Mini 700 working great with SL, but no sleep/clamshell.

Will this work method work better? From what I know my mini700 is the same as the hp mini1000.

Anyway, thanks and keep up the good work.

Grid said...

Hi,

Thanks very much for reading my blog. I'm glad you find it useful. :)

About compatibility issues; as far as I know the Compaq 700 and the HP Mini 1000 are very similar so this may work. But perhaps with some differences in kexts used and DSDT of course.

For the kexts, I suggest you stick with the default ones that gets installed by NetbookBootMaker (on the Installer USB Hard Drive /Volumes/SnowDVD/Extra/GeneralExtensions).

In fact you can try going with NetbookBootMaker all the way by also using it to boot up your internal hard drive once you've installed Snow Leo on it. It's a simpler method in some ways than configuring an EFI boot, which requires more mucking around in the Terminal with command lines.

As for the clamshell/sleep, might I suggest you join the forums ?http://myhpmini.com/forum/viewforum.php?f=17
Register, run DSDT Patcher, zip up the resulting dsdt.dsl file and post it in the forums. Maybe we can help you there better

Pedro Cardoso said...

Hi!

I'm folowing this guide on my 700 for a fresh installation, and your update script assumes that already exists a /Volumes/EFI/Extra/Extensions folder, which is not the case.

Perhaps you could add a mkdir -p /Volumes/EFI/Extra/Extensions to your script.

Sleep worked in my previous installation, but it was so hacked I decided to start again from scratch.

Thanks again, you're the man!

Pedro Cardoso said...

Sorry, I was wrong. It was mentioned in the video, but not on the text. :)

Grid said...

Thanks anyway for pointing that one out :) I'll have it included in the text part to make things clearer.

Unknown said...

thanks so much for your guide.

your installation guide works perfectly on my newly bought hp mini 1112TU in taiwan.

there are only two problems:
1) wake up from sleep may halt the machine, roughly once in 10 times. do you have any idea? I followed you guide closely on dstd step and update. it really works but a bit unstable. can you kindly advise?

2) SD/MMC card slot is not working. do you have any solution? pls give me a pointer.

thanks a lot of your sharing. it really helps greatly!

- Manchi

Grid said...

@Manchi
I believe you've got mail :D

Paulo said...

Hi, Thank you very much for this very nice tutorial.

I applied it on my compaq mini 700 and it works, audio works great with "fn + icon", except the sleepmode :(.
When I select sleep on apple menu I hear a pop from the audio speaker, the touchpad light turns orange and the display and everything stays on. Then I have to press the power button to wake up the touchpad and the keyboard, that's weird.
Also in the zip file the com.apple.Boot.plist in the /SnowLeoHPMini_101709/bootplist_update doesn't exist, so I had to manually edit it on EFI partition to point to the mach_kernel_tea kernel

Also there's an error on the dsdt script, which copies the DSDT.aml file to EFI. The generated aml file from the dsdt patcher is in lowercase (dsdt.aml) and had to put it uppercase for the script to work. I don't know if it makes any difference in the boot manager.

Unknown said...

"1. Unzip "SnowLeoHPMini_101709.zip" to your main "/". I'm choosing this location as it's more terminal-typing-friendly than any other location."

Am I unzipping this to the mini? I do not have internet connection on the mini so I am assuming I am going to put this on a SEPARATE USB drive and transfer it to my mini.. correct?

LeMaurien19 said...

^yep. it doesn't matter where you store or unarchive/unzip .zip file; what's important is that you make sure you end up with the "SnowLeoHPMini_101709" folder and its contents in "/". That is, it should sit among the folders:
1) Users
2) System
3) Library
4) Applications
inside your main hard drive.

I think you should be clear about locations in your file system before you start this. It could be confusing if you're not even familiar with the paths/locations in the file system.

best of luck anyhow :D

Anonymous said...

Hello, I am currently installing this right now, but when I type in

cd /SnowLeoHPMini_101709/cham2RC3

To install Chameleon v2 RC 3 r658 in my EFI partition it comes up with

bash: cd: /cd /SnowLeoHPMini_101709/cham2RC3: No such file or directory

What am I supposed to do now?

rhd said...

I like the one-letter password, very convenient :D