Ask Your Question
0

Grub not starting on boot

asked 2012-09-01 15:49:59 -0600

tskittle gravatar image

updated 2012-09-01 15:53:33 -0600

I had Win7 on my primary hard drive, created a new partition(s) (SEE NOTE) and then installed Fedora on it. It asked me to install the boot loader in the default location and I did this.

When booting using this primary hard drive, Grub does not start. Instead I get the windows BOOTMGR NOT FOUND error.

If I choose a different hard drive or DVD drive, then I get some unreadable (too fast to read) messages, and then Grub loads properly. Both windows 7 and Fedora load properly from Grub once I get Grub to load.

I confirmed that Grub is installed in the primary hard drive MBR using a boot info script.

What is happening? Why do I need to configured my Bios to start from some other drive in order to get Grub to load up? I would like it to just load up automatically when I am booting from the drive that my OSes are actually on.

Note: I did the recommended Fedora partitioning. 3 partitions, all set to be on the primary hard drive: /, /boot, swap

Win7 Home Premium, Fedora 17.

Should I reinstall grub somehow?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2012-09-02 04:20:19 -0600

andreu gravatar image

updated 2012-09-02 05:32:52 -0600

hhlp gravatar image

edit grub.cfg

menuentry 'Windows 7 (loader) (on **/dev/sda1**)' --class windows --class os $menuentry_id_option 'osprober-chain-BAAAA303AAA2BB71' {
    insmod part_msdos
    insmod ntfs
    set root='**hd0,msdos1**'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  BAAAA303AAA2BB71
    else
      search --no-floppy --fs-uuid --set=root BAAAA303AAA2BB71
    fi
    chainloader +1

this line ------------- set root='hd0,msdos1' 1ª partition 1º hdd set root='hd0,msdos3' 3ª partition 1º hdd

edit flag offensive delete link more
0

answered 2013-01-17 08:07:28 -0600

Khamidulla gravatar image

What about windows 7 which's bootloader installed on gpt1 at hd0 in ufei mode.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-09-01 15:49:59 -0600

Seen: 666 times

Last updated: Jan 17 '13