Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496232 - /usr/sbin/grub2-mkconfig from sys-boot/grub-2.02_beta2 still refers to non-existing /boot/grub2 instead of /boot/grub
Summary: /usr/sbin/grub2-mkconfig from sys-boot/grub-2.02_beta2 still refers to non-ex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-27 21:57 UTC by André Terpstra
Modified: 2013-12-28 09:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Terpstra 2013-12-27 21:57:18 UTC
when running /usr/sbin/grub2-mkconfig in order to reflect a minor change in /etc/default/grub the following error occurs:

/usr/sbin/grub2-mkconfig: line 232: /boot/grub2/grub.cfg.new: No such file or directory

Strangely enough, I had run it before a number of times already without errors... BTW, the file grub.cfg.new doesn't exist in /boot/grub either.


Reproducible: Always
Comment 1 Ben Kohler gentoo-dev 2013-12-27 22:25:46 UTC
I'm fairly confident that this can ONLY occur if you ran the command as:
  grub2-mkconfig -o /boot/grub2/grub.cfg

Line 232 there bases that path on the -o option that YOU passed.
Comment 2 André Terpstra 2013-12-28 09:58:21 UTC
You are absolutely right. I re-used an old script which contained exactly that line. I apologize.