LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-14-2010, 05:26 PM   #1
PaulFXH
Member
 
Registered: Jul 2007
Location: Belo Horizonte, MG, Brazil
Distribution: Ubuntu, Mint, Haiku
Posts: 54

Rep: Reputation: 15
How to get Grub2 to boot OS X with Graphics Mode boot option


I've set up a triple boot system (Ubuntu Karmic, Windows Vista and OSX86 -- a patched OS X which works on a PC) on a Dell 9200 (C2D 2.13 GHz, 4GB RAM, nVidia G210).
I sue Grub2 as the bootloader and update-grub picks up OS X and it boots without any problem.
However, although when booting OS X using its own Darwin bootloader, I can apply the boot option "Graphics Mode"="1680x1050x32" to ensure that I get the screen resolution that I want, when OS X boots from Grub2, the only resolution available is 1024x768 which is disappointing.
I have tried adding gfxmode=1650x1050x32 to the OS X section of /boot/grub/grub.cfg in Ubuntu but this does nothing.
Can anybody offer any advice as to how I might include a viable boot option for OS X in Grub2?
 
Old 04-16-2010, 04:07 PM   #2
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Devuan, Suse, Slackware
Posts: 130

Rep: Reputation: 21
try gfxpayload iso gfxmode ... check out this.

Last edited by thecarpy; 04-16-2010 at 04:09 PM. Reason: of iso iso
 
1 members found this post helpful.
Old 04-16-2010, 04:13 PM   #3
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Devuan, Suse, Slackware
Posts: 130

Rep: Reputation: 21
Oh, and I just came through this blog entry, how to pass parameters directly to the kernel.
 
Old 04-17-2010, 03:58 AM   #4
PaulFXH
Member
 
Registered: Jul 2007
Location: Belo Horizonte, MG, Brazil
Distribution: Ubuntu, Mint, Haiku
Posts: 54

Original Poster
Rep: Reputation: 15
Hi thecarpy

Thank you very much for those two very useful replies.
Yes, putting the simple line
Code:
gfxpayload=1680x1050x32
into the OS X section of /boot/grub/grub.cfg allowed me to boot OSX86 through Grub2 at the desired resolution.
Although I haven't tried it yet, the second reply also shows how to chainload OS X from Grub2 (which is not as simple as chainloading Windows). So, assuming that will work for me, it should mean I can boot OSX86 through Darwin from Grub2.
As Darwin recognizes com.apple.Boot.plist while Grub2 doesn't, and as I've included the kernel flag "Graphics Mode"="1680x1050x32" in the Boot.plist file, this should also allow booting to the desired resolution from Grub2.
Excellent.
Thanks again
 
  


Reply

Tags
grub2, os x


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dual Boot 2 seperate Drives - Add option to Boot Menu? janap-146 Ubuntu 11 12-13-2009 08:28 AM
kernel boot option for using enhanced mode P-ATA+S-ATA dont_stop_me Linux - Hardware 0 12-22-2006 03:39 PM
suse10 will not boot to graphics mode rockie12 Linux - General 1 10-27-2006 05:09 PM
stuck in terminal mode at boot after trying to install ati graphics update Fezar Linux - Newbie 2 12-10-2005 12:08 PM
Cant boot straight into graphics & network mode (5)... Lennon Linux - Software 6 10-02-2003 12:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration