New menu.lst on Grub version 2

Leonard Chatagnier lenc5570 at sbcglobal.net
Tue Oct 6 01:33:56 UTC 2009



--- On Mon, 10/5/09, David Curtis <dcurtis at uniserve.com> wrote:

> From: David Curtis <dcurtis at uniserve.com>
> Subject: Re: New menu.lst on Grub version 2
> To: ubuntu-users at lists.ubuntu.com
> Date: Monday, October 5, 2009, 6:12 PM
> On Mon, 5 Oct 2009 23:22:16 +0200
> Tom H <tomh0665 at gmail.com>
> wrote:
> 
> > On Sun, Oct 4, 2009 at 8:51 PM, Leonard Chatagnier
> > <lenc5570 at sbcglobal.net>
> wrote:
> > > On Sun, 10/4/09, Karl F. Larsen <klarsen1 at gmail.com>
> wrote:
> > >> ### BEGIN /etc/grub.d/30_os-prober ###
> > >> menuentry "Microsoft Windows XP Professional
> (on
> > >> /dev/sda1)" {
> > >>     insmod ntfs
> > >>     set root=(hd0,1)
> > >>     search --no-floppy --fs-uuid --set
> > >> 7428ef7928ef392e
> > >>     drivemap -s (hd0) ${root}
> > >>     chainloader +1
> > >> }
> > >> Notice the ### instead of #, and the {
> > >> and } which set off the actual chore grub
> > >> does from the words that tell us what it
> > >> is doing.
> > >> This makes writing by hand an entry a chore.
> > 
> > > Is there a question in here that I missed or is
> this
> > > just another of your list blogs?
> > 
> > It is a blog-type email, of course. However, it does
> raise two issues.
> > 
> > 1) /boot/grub/grub.cfg is not supposed to be edited -
> unless you feel
> > like making the same edits after update-grub runs (for
> example, when
> > grub2 is upgraded; regularly, I assume, until Karmic
> is out of beta).
> > You can add entries in /etc/grub.d/40_custom; or you
> can remove the x
> > bit from 10..., 20... 30... and put "all" your entries
> into 40... and
> > end up with a fully-customized menu (and fewer ###s in
> grub.cfg).
> > 
> > 2) If you do not like the ###, you can edit the script
> that is called
> > by update-grub - and re-edit it after a grub2
> upgrade.
> 
> Also note that the file to edit for grub options is
> now /etc/default/grub (splash,quiet,timeout etc.). Then,
> of
> course, run update-grub. It should survive a grub2 upgrade
> or at least
> give you the option to choose between your customized
> version or the
> new one.
>
Hi Dave, I came across that info reading the links posted about grub2.  I'm sure the developers have good reason to change how things work but it gets a little frustrating to an old codger like me, and Karl too as he's older than me, when once you learn something then it gets changed.  Not to mention there seems a possibility that you can lose old ubuntus installed if you don't watch or know what you are doing.  Otherwise, I would have Karmak beta installed already.  Say, it sounds like I might be blogging a little here.  Please forgive.
Leonard Chatagnier
lenc5570 at sbcglobal.net





More information about the ubuntu-users mailing list