On Monday 02 February 2009, Allen Weiner wrote:
> On Mon, 2009-02-02 at 21:25 -0500, Chris Knadle wrote:

> > Also, there's a file that needs to exist, /etc/kernel-img.conf
> > which tells the system what to do when a new kernel .deb is
> > installed. This is where 'update-grub' is specified to run as
> > either the postinst_hook, postrm_hook, or both.  Here's the
> > default kernel-img.conf file from Ubuntu Jaunty Jackelope:
> >
> >    # Kernel image management overrides
> >    # See kernel-img.conf(5) for details
> >    do_symlinks = yes
> >    relative_links = yes
> >    do_bootloader = no
> >    do_bootfloppy = no
> >    do_initrd = yes
> >    link_in_boot = no
> >    postinst_hook = update-grub
> >    postrm_hook   = update-grub
>
> Thanks very much for your reply. I think you nailed it! I have
> a /etc/kernel-img.conf but it does not include the postinst_hook
> and postrm_hook. I suspect the reason for this is that I installed
> my secondary grub into the boot sector of my Ubuntu partition by
> using a Knoppix CD. (I followed a procedure from the book "Knoppix
> Hacks").

Actually, yeah, the last time I installed a system via 'debootstrap' 
directly, I think I ran into the same issue and had to manually 
modify /etc/kerenl-img.conf, and I also had to run 'update-grub' 
manually the first time in order to fill in the defaults 
into /boot/grub/menu.lst, which started off blank.

I suggest havin a quick read through the book's install procedure 
again so you can make notes for yourself in it for what extra steps 
you want to do next time; it'll save you from having the same 
headache again later.

   -- Chris

-- 

Chris Knadle
[email protected]
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
  Feb 4 - Ruby on Rails
  Mar 4 - TBD
  Apr 1 - TBD

Reply via email to