Grub 2 information
J
dreadpiratejeff at gmail.com
Thu Apr 1 19:44:24 UTC 2010
On Thu, Apr 1, 2010 at 15:00, Karl Larsen <klarsen1 at gmail.com> wrote:
>
> I have looked hard at this information:
>
> https://wiki.ubuntu.com/Grub2#Adding%20Entries%20to%20Grub%202
>
> and it has zero examples on how to actually do this!
>
> I want the guys who wrote this to show an example of a real Lucid
> system where I have many partitions and I want to make not the last
> Lucid to boot up but rather cause my Windows to boot up automatic rather
> than the Lucid.
>
> This is dirt easy with an editor on menu.lst and I want to see how
> easy it is to do this same thing with Grub2.
No offense, but they spell it out right here:
Users with "root" privileges can create scripts in the /etc/grub.d/
folder which will be incorporated into the grub.cfg file when
update-grub is run.
* The filename should normally take the format XX_name, with XX
being a number followed by an underscore and name.
* The order the entry appears on the grub menu is based on
numerical ordering of the files in /etc/grub.d. Executable files in
the /etc/grub.d folder beginning with an alphabetic character are
placed in order following numerical entries.
* The file must be made executable by typing in a terminal
Looks to me like I'd just create a file called 05_Windows (since my
linux entry starts with 10)...
OTOH, you could also just look at the grub menu and see which item is
Windows, and change GRUB_DEFAULT= in /etc/default/grub from 0 to the
entry you want to be the default, and update.
At least that's what I got with about 45 seconds of reading...
More information about the ubuntu-users
mailing list