[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Uploaded grub 0.5.96 (source i386) to master



Hi,
>>"Gord" == Gordon Matzigkeit <gord@fig.org> writes:

 Gord> The correct solution to this is to make a symlink to the kernel you
 Gord> want to boot, then use the symlink in the menu.lst (which Joseph
 Gord> alluded to).  I don't think any other kind of hackery is necessary.

	I concur. 

 Gord> So, it is up to the make-kpkg folks to deal with this aspect of the
 Gord> problem.

	I think that with the configurability included in
 /etc/kernel-img.conf we do indeed take care of it ...

 Gord> It would be nice to generate a default menu.lst, but that
 Gord> really only can be done by the user (due to the countless ways a fully
 Gord> automatic installation can screw up your system).  If this gets better
 Gord> in the future, I'll support it in the GRUB Debian package.

	I've always been vary of interleaving editing of a file by a
 human and a script too.

 Gord> At the very least I can add some documentation to GRUB's README.Debian
 Gord> to point out how it should be done.

        In /etc/kernel-img.conf	(man kernel-img.conf for details)
------------------------------------------------------------------
image_dest=/boot
do_bootloader=NO
relative_links=YES
-----------------------------------------------------------------

       image_dest
              If  you  want  the  symbolic  link  (or  image,  if
              move_image is set) to be stored in elsewhere than /
              set this variable to the dir  where  you  want  the
              symbolic  link.   Please  note  that  this is not a
              Boolean variable.  This may be of help  to  loadlin
              users,   who  may  set  both  this  and  move_image
              Defaults to / This can be used in conjunction  with
              all above options except image_in_boot, which would
              not   make   sense.   (If   both   image_dest   and
              image_in_boot are set, image_in_boot overrides).
       do_bootloader
              If  set  to  NO,  this  prevents  the postinst from
              running the boot loader.  The  user  may  still  be
              asked  to  create a floppy, unless do_bootfloppy is
              also set to NO. Defaults to Yes.
       relative_links
              If set to yes, the  kernel  image  postinst  script
              shall  go  to extra ordinary lengths to ensure that
              the symbolic  links  are  relative.  Normally,  the
              symbolic  links  are  relative  when  it  is easily
              determinable  that  relative  links   shall   work.
              Defaults to No.
======================================================================




-- 
 The salary of the chief executive of the large corporation is not a
 market award for achievement.  It is frequently in the nature of a
 warm personal gesture by the individual to himself. John Kenneth
 Galbraith, "Annals of an Abiding Liberal"
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: