GRUB and Hackintosh?
Hey!
Ok, so I split my hard drive into 3 partitions (there was 3 others, system reserve and 2 others).
Here is the order I installed the OS's:
1.Windows 7
2.Kubuntu
3.OSX
I installed Windows first so the windows boot loader would not kill the Kubuntu one.
Then I installed OSX thinking that its boot loader would write to the MBR, and if not GRUB would find it for me.
But, it OSX has not written the boot loader to the MBR and GRUB has not recorgnised the OSX partition...
Great.
The number of the OSX partition is (I think)disc06 or something like that.
Grub won't automatically find new stuff appearing after it was installed - you have to tell it.
When grub is the last thing to be installed (generally as part of a distro installation) it will sniff out existing bootable partitions as part of that action but you can force it manually by running update-grub as root, which will regenerate the grub config file.
I don't know whether grub will successfully handle a bootable OSX partition though - I'd guess 'quite probably', but you may need to do some extra work.
As for locating the OSX partition, running fdisk -l will list all partitions on all local drives but you'll need to translate those references into the type expected by grub before they can be used.
_________________
Giraffe: a ruminant with a view.
When grub is the last thing to be installed (generally as part of a distro installation) it will sniff out existing bootable partitions as part of that action but you can force it manually by running update-grub as root, which will regenerate the grub config file.
I don't know whether grub will successfully handle a bootable OSX partition though - I'd guess 'quite probably', but you may need to do some extra work.
As for locating the OSX partition, running fdisk -l will list all partitions on all local drives but you'll need to translate those references into the type expected by grub before they can be used.
Brilliant. Thanks. But now I need to enter a command to get into OSX and configure it.
I can boot into it with GRUB but I cannot enter a command to enter the OS with. How does one go about doing this?
Thanks.
I can boot into it with GRUB but I cannot enter a command to enter the OS with. How does one go about doing this?
_________________
Giraffe: a ruminant with a view.
I can boot into it with GRUB but I cannot enter a command to enter the OS with. How does one go about doing this?
I can boot into OSX just fine.
But im stuck at the Welcome screen (Its a loop where you cannot get out of the welcome wizard).
So, I need to enter some commands to boot with (-s) so I can skip the Welcome screen.
But im stuck at the Welcome screen (Its a loop where you cannot get out of the welcome wizard).
So, I need to enter some commands to boot with (-s) so I can skip the Welcome screen.
It's not something a 'real' OSX installation's user would get stuck with, is it?
_________________
Giraffe: a ruminant with a view.
Im not that used to Hackintosh or Linux for that matter.
![Laughing :lol:](./images/smilies/icon_lol.gif)
Which site's instructions are you following? I've had a quick poke around on Hackintoshes in the past but not in too much depth.
_________________
Giraffe: a ruminant with a view.
![Laughing :lol:](./images/smilies/icon_lol.gif)
Which site's instructions are you following? I've had a quick poke around on Hackintoshes in the past but not in too much depth.
Im trying to enter the commands listed in this reply to some one who has the same problem as me:
1) Boot up, and hit a key (or F8, depending on your Darwin Bootloader).
2) Type in "-s" (NO quotes!) and press enter.
3) Once booted it will tell you to do two things, do them. (You can put them on a single line by using &&: fck && mount [use what they say, I can't recall from memory.])
4) When those commands finish you will (should?) have access to your HDD under /Volumes, so navigate there now: cd "/Volumes/NAME-OF-YOUR-VOLUME-HERE/var/db/" (WITH quotes!)
5) Execute the command: touch .AppleSetupDone
6) Then run: passwd
7) It will ask you for the new password for the user "root." If it doesn't then try "passwd root" instead.
![Cool 8)](./images/smilies/icon_cool.gif)
9) Confirm that OS X is telling you that the password was changed.
10) Keep executing "exit" until it boots into Leopard.
11) Login using the following: username: root password: password
Enjoy!
Maybe I should install Darwin boot loader.....?
How does what you've been doing compare to this: http://lifehacker.com/5672051/how-to-bu ... easy-steps
It looks quite interesting and pretty straightforward, subject to a few caveats.
I found it here: http://www.hackintosh.com/ which also looks like a useful launch point.
_________________
Giraffe: a ruminant with a view.
How does what you've been doing compare to this: http://lifehacker.com/5672051/how-to-bu ... easy-steps
It looks quite interesting and pretty straightforward, subject to a few caveats.
I found it here: http://www.hackintosh.com/ which also looks like a useful launch point.
Using Kalyway yeah.
Its not a problem with my install, its a problem with a driver. No matter what drivers are installed there is no way to fix it apart from bypassing it.
The component causing the problem is the eathernet.
Thats why I need to bypass the welcome screen by using argument -s.
The install compared to the tutorial is rather different. I just stick the disk in and install. I dont install drivers with it (On the machine Im doing it on I don't. None of them are needed or work properly. I use custom ones when I get into the system.). Im usinig a Acer Aspire One D250 (The best Netbook in the world imho) I have done over 15 hackintosh installs on it (All of which either failed or I did not use them too often).
Half of the 15 installs without drivers other half with drivers. No difference what so ever I have to use custom drivers.
The past 14 installs have been dual boots between Windows, but the first ever I managed to do a tripple boot.
Like I said, I will probably just use the Darwin boot loader (Prefer it to GRUB. No more GRUB for me [scuse the pun
![Laughing :lol:](./images/smilies/icon_lol.gif)
PS:
If you haven't tried doing Hackintosh, you should so try it!! !
Its awesome if you have some spare time.
Its so satisfying when you get your machine working with it.
Hmm well, I'm a bit puzzled by much of this.
You seem to be using a method which has worked for 14 installations and you are at least able to bypass some known problems and boot OSX Ok.
The difference this time, if I'm reading it correctly, is that you're now trying the same technique but with a triple boot system?
It sounds as if you're not actually booting to anything OSX-related and instructions to press a key or F8 seem to be specific to the Darwin bootloader anyway.
What do you actually end up with when trying to boot OSX from grub? Is anything displayed on-screen to indicate that some sort of OSX boot process has succeeded?
If the -s parameter is something which can be passed automatically to the OSX kernel at boot time then it could be added to grub in the same way as a kernel parameter is passed to a Linux kernel.
I have played about with OSX on a MacBook and it's really quite impressive. Then again, so are many of the GUIs available for Linux.
![Wink :wink:](./images/smilies/icon_wink.gif)
_________________
Giraffe: a ruminant with a view.
It sounds as if you're not actually booting to anything OSX-related and instructions to press a key or F8 seem to be specific to the Darwin bootloader anyway.
What do you actually end up with when trying to boot OSX from grub? Is anything displayed on-screen to indicate that some sort of OSX boot process has succeeded?
If the -s parameter is something which can be passed automatically to the OSX kernel at boot time then it could be added to grub in the same way as a kernel parameter is passed to a Linux kernel.
Im using the same method from 14 installs just with tripple boot, yeah.
I can boot into OSX with GRUB no problems at all, but the issue is , that when get into OSX it takes you through that Welcome wizard for configuring your mac for the first time.
So It does boot successfully, its just that I need to by pass the welcome wizard by using the -s parameter at boot. (Can I do this by [on GRUB] scroll down to my OSX partition and press E and then enter the command to run? [What would I need to type to get the -s parameter working?] )
The best way to be able to boot all 3 OSes I found was to re/install grub to the Linux root partition (not hd0). Then reinstall chameleon, it will detect Linux (grub) and windows.
If your using an osx86 distro, chameleon should be included in the startup disc (menubar) when you get to disk utility.
I can boot into OSX with GRUB no problems at all, but the issue is , that when get into OSX it takes you through that Welcome wizard for configuring your mac for the first time.
So It does boot successfully, its just that I need to by pass the welcome wizard by using the -s parameter at boot. (Can I do this by [on GRUB] scroll down to my OSX partition and press E and then enter the command to run? [What would I need to type to get the -s parameter working?] )
But, entering it as a test is not permanent so you've nothing to lose by trying it except another failed boot. If it does work then we can worry about making it a permanent fix.
To include the -s as a parameter for the OSX kernel, scroll to its entry on the grub menu and press e (I think, for edit) and just type -s after the name of the kernel as it appears on the boot entry - the usual cursor key movements and basic edit functions are possible. I'm assuming the actual kernel will be obvious as you look at it but for reference, compare the OSX entry with a Linux entry and it should become clear.
Then, IIRC, just press Enter to boot that entry using the modified line. (help on keys is displayed on the grub screen)
I see what you mean now about the boot process and it's obviously functional.
Unfortunately by the time that screen you posted has appeared, it's too late to do what you need.
_________________
Giraffe: a ruminant with a view.