Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to make Windows Boot Manager automatically open GNU GRUB and then with GNU GRUB automatically boot Linux Ubuntu 11.04. Please answer detailed with the proceedings. Thank you.

share|improve this question

migrated from stackoverflow.com Jul 14 '11 at 13:38

This question came from our site for professional and enthusiast programmers.

    
This is not a programming question. Read the FAQ stackoverflow.com/faq –  marto Jul 14 '11 at 13:27

1 Answer 1

up vote 0 down vote accepted

You need to edit GRUB's config file:

/boot/grub/grub.conf

There, you put your linux partition as default.

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.8-1.523)
    root (hd0,0)
    kernel /vmlinuz-2.6.8-1.523 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.8-1.523.img

# section to load Windows 
title Windows
    rootnoverify (hd0,0)
    chainloader +1

default in this example is 0, the first entry of your GRUB menu.

share|improve this answer
    
Are you sure, that's wright patrition? –  user90277 Aug 8 '11 at 14:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.