From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020118 Description of problem: In patch grub-0.90-symlinkmenulst.patch /boot/grub is hardcoded. This should be $grubdir. Otherwise it fails for users with a boot partition. Version-Release number of selected component (if applicable): 0.91 (and before) How reproducible: Always Steps to Reproduce: 1.Have a seperate boot partiton, and create /boot/boot/grub/menu.lst 2.run grub-install --root-directory=/boot /dev/hda 3. Actual Results: No grub.conf symlink in /boot/boot/grub, therefore no menu Expected Results: Symlink Additional info: (correct patch) diff -ur grub-0.90/ChangeLog grub/ChangeLog --- grub-0.90/ChangeLog Wed Sep 5 15:50:06 2001 +++ grub/ChangeLog Wed Sep 5 15:51:04 2001 @@ -1,3 +1,8 @@ +2001-09-05 Jeremy Katz <katzj> + + * util/grub-install.in: if $grubdir/grub.conf doesn't exist but + $grubdir/menu.lst does, create a symlink + 2001-08-24 Jeremy Katz <katzj> * util/grub-install.in: use mktemp to generate log filename Only in grub: ChangeLog~ diff -ur grub-0.90/util/grub-install.in grub/util/grub-install.in --- grub-0.90/util/grub-install.in Wed Sep 5 15:50:06 2001 +++ grub/util/grub-install.in Wed Sep 5 15:50:24 2001 @@ -320,6 +320,10 @@ exit 1 fi +if ! test -e $grubdir/grub.conf ; then + test -e $grubdir/menu.lst && ln -s ./menu.lst $grubdir/grub.conf +fi + # Create a safe temporary file. test -x /bin/mktemp && log_file=`/bin/mktemp /tmp/grub-install.log.XXXXXX` Only in grub/util: grub-install.in.orig
Changed in CVS and will be in the next build (post grub-0.91-2)