Hello

Felix Zielcke wrote:
> This is from 20. January:
> 
> Peter Hicks wrote :
> 
>> Robert Millan wrote:
>>> This makes a good candidate to start a README.Debian. Will you
>>> provide a patch?
> 
>> Sure, it shouldn't be too difficult.  I'll crack on with it shortly.
> 
> Did you have in the meantime something for README.Debian of grub2  ?

Finally, I've found the README.Debian I wrote.  Please feel free to include it
in the .deb under the same license as GRUB2.


Peter

-- 
Peter Hicks | e: [EMAIL PROTECTED] | g: 0x5DA31330 | w: www.poggs.com

  A: Because it destroys the flow of the conversation
  Q: Why is top-posting bad?
Migrating menu entries from grub to grub-pc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Not all menu.lst entries can be automatically migrated to grub.conf.
Installing grub-pc will automatically migrate your Linux and memtest86
configurations in to the new file, but will not touch entries for other
operating systems.  This document explains how to migrate these entries over
to grub.cfg.

First, edit /boot/grub/menu.lst and look for lines similar to the following:

   title           Windows XP Professional
   root            (hd0,0)
   makeactive
   chainloader     +1

For each complete configuration block, create a text file in /etc/grub.d
called 15_windows (see /etc/grub.d/README for a description of the numbering
scheme) containing the following:

   #!/bin/sh -e
   echo "Installing entry for Windows XP Professional" >&2
   cat <<EOF
   menuentry "Windows XP Professional" {
           set root=(hd0,0)
           chainloader +1
   }
   EOF

Make this file executable - chmod 755 /etc/grub.d/15_windows, then re-run
/sbin/update-grub.  Check that /boot/grub/grub.cfg includes the new stanza,
and restart your system to verify the menu entry appears.

-- Peter Hicks <[EMAIL PROTECTED]>  Sun, 20 Jan 2008 10:31:25 +0000

Reply via email to