Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub.conf question [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gosugaming
n00b
n00b


Joined: 21 Jan 2005
Posts: 39

PostPosted: Fri Jan 21, 2005 4:58 am    Post subject: grub.conf question [solved] Reply with quote

Code:
Code Listing 4: grub.conf for genkernel users
 
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.26-r9
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initrd-2.4.26-gentoo-r9

# Only in case you want to dual-boot
title=Windows XP
root (hd0,5)
makeactive
chainloader +1

 
Note: If you use a different partitioning scheme and/or kernel image, adjust accordingly. However, make sure that anything that follows a GRUB-device (such as (hd0,0)) is relative to the mountpoint, not the root. In other words, (hd0,0)/grub/splash.xpm.gz is in reality /boot/grub/splash.xpm.gz since (hd0,0) is /boot.
 

If you need to pass any additional options to the kernel, simply add them to the end of the kernel command. We're already passing one option (root=/dev/hda3 or real_root=/dev/hda3), but you can pass others as well. As an example we use the vga statement for framebuffer we discussed previously:

Code Listing 5: Adding the vga-statement as a kernel option
 
title=Gentoo Linux 2.4.26-r9
  root (hd0,0)
  kernel /kernel-2.4.26-gentoo-r9 root=/dev/hda3 vga=788



I dont understand that? can anyone clearaify that for me...my vga is 800X600 = 32bpp or 789

Thanks


Last edited by gosugaming on Fri Jan 21, 2005 3:16 pm; edited 2 times in total
Back to top
View user's profile Send private message
gosugaming
n00b
n00b


Joined: 21 Jan 2005
Posts: 39

PostPosted: Fri Jan 21, 2005 5:12 am    Post subject: Reply with quote

do i just add vga=789 at the end of the kernel command?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Fri Jan 21, 2005 12:07 pm    Post subject: Reply with quote

gosugaming wrote:
do i just add vga=789 at the end of the kernel command?

Affirmative. Just look at the last line of your excerpt from the Handbook for an example.
Back to top
View user's profile Send private message
gosugaming
n00b
n00b


Joined: 21 Jan 2005
Posts: 39

PostPosted: Fri Jan 21, 2005 3:16 pm    Post subject: Reply with quote

kimchi_sg wrote:
gosugaming wrote:
do i just add vga=789 at the end of the kernel command?

Affirmative. Just look at the last line of your excerpt from the Handbook for an example.


thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum