public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Kernel build no update grub
@ 2005-11-16 22:25 Harry Putnam
  2005-11-17  0:01 ` Iain Buchanan
  2005-11-17  4:24 ` Harry Putnam
  0 siblings, 2 replies; 7+ messages in thread
From: Harry Putnam @ 2005-11-16 22:25 UTC (permalink / raw
  To: gentoo-user

Updating the kernel today, I referenced that piece of the
documentation and borrowed this command from it:

 genkernel --bootloader=grub all

However, not only did it not update grub.conf but grub.conf
disappeared entirely following the successful build.

I did find this in /var/log/genkernel.log:

[...]
emerge.log       rsnapshot_Home.log.6.gz    sandbox
fdisk.log        rsnapshot_Home.log.7.gz    scrollkeeper.log
fdisk.log.1.gz   rsnapshot_Home.log.8.gz    squid
fdisk.log.2.gz   rsnapshot_Home.log.9.gz    syslog
fdisk.log.3.gz   rsnapshot_Home.log_083105  syslog.0
fdisk.log.4.gz   rsnapshot_Mail.log         syslog.1.bz2
*     initramfs-modules-2.6.14-gentoo-r2.cpio.gz
* 
* Adding kernel to /boot/grub/grub.conf...
* 
* Kernel compiled successfully!
* 
* Required Kernel Parameters:
*     real_root=/dev/$ROOT
* 
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab
* 
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initrd...
* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* add "vga=791 splash=silent" if you use a bootsplash framebuffer
* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
* 
* Make sure you have the latest genkernel before reporting bugs.


Note the line that says:
* Adding kernel to /boot/grub/grub.conf...

So whats going on here?

Further I'm confused by the rest of it too.

It says if I want hardware detection I MUST tell my bootloader to use
the intitramfs  blah blah , but no clue at all as to how one might do
this.

I'm pretty sure I need some new kind of grub.conf but what should it
look like..

I've just appended what I think might be adequate to the original
lines....  yeah I saved a backup..

================================
default 1
timeout 05
splashimage=(hd0,0)/grub/splash.xpm.gz

Title=gentoo
    root (hd0,0)
    kernel (hd0,0)/kernel-2.6.12-gentoo-r9 root=/dev/ram0
    linux-2.6.12-gentoo-r9
       init=/linux ramdisk=8192 real_root=/dev/hda5
       video=vesafb:mtrr,ywrap,1152x864-24@70

    initrd (hd0,0)/initramfs-2.6.12-gentoo-r9

Title=gentoo-2.6.14-r2
    root (hd0,0)
    kernel (hd0,0)/kernel-2.6.14-gentoo-r2 root=/dev/ram0
    linux-2.6.12-gentoo-r9
       init=/linux ramdisk=8192 real_root=/dev/hda5
       video=vesafb:mtrr,ywrap,1152x864-24@70

    initramfs (hd0,0)/initramfs-2.6.14-gentoo-r2


So am I in the ball park?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-11-17  7:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 22:25 [gentoo-user] Kernel build no update grub Harry Putnam
2005-11-17  0:01 ` Iain Buchanan
2005-11-17  2:29   ` [gentoo-user] " Harry Putnam
2005-11-17  3:36     ` Iain Buchanan
2005-11-17  5:15       ` Harry Putnam
2005-11-17  4:24 ` Harry Putnam
2005-11-17  7:50   ` Chris Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox