Become root (for example by using the command su), then run "mv /etc/grub.d/30_os-prober /etc/grub.d/09_os-prober" and "update-grub2". Or run both commands with sudo ("sudo mv..." and "sudo update-grub2").

When executing update-grub2 all scripts in /etc/grub.d/ are executed, in order of their names. os-prober looks for other OS (like Win). linux is adding your available kernels to the list.

Am 27.03.2011 15:02, schrieb hamed hosseini:
thank you,can you explain more about question 2 about GRUB,i don't understand

On Sun, Mar 27, 2011 at 5:29 PM, Estelmann, Christian <c.estelm...@gmx.net <mailto:c.estelm...@gmx.net>> wrote:

    Am 27.03.2011 14 <tel:27.03.2011%2014>:50, schrieb hamed hosseini:

        2.how can i edit GRUB BOOT,(i have 2 os,win 7 and debian),i
        want win7 is first,and debian is secon?


    2. Rename /etc/grub.d/30_os-prober to 09_os-prober. Then run
    update-grub2.
    os-prober looks for other OS, just let it executed befor 10_linux

Reply via email to