PDA

View Full Version : boot loader problem



morteza87
16th February 2010, 11:08 AM
hi everyone
I have problem with boot menu, when I install fedora12 on my laptop, it just gave me 2 possiblity..
1- fedora 12
2- other

when I try on other it load recovery (not windows)

note: my windows is vista home basic, and even I try on editing chainloader,

this is /boot/grub/menu.lst

title Fedora (2.6.31.5-127.fc12.i686.PAE)
root (hd0,5)
kernel /vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=/dev/mapper/VolGroup-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.31.5-127.fc12.i686.PAE.img
title Other
rootnoverify (hd0,0)
chainloader +1

how can i set it for windows, not its recovery

giulix
16th February 2010, 11:16 AM
Please post the output of


su -c "fdisk -l /dev/sda"

from a teminal. You probably just have to modify the line


rootnoverify (hd0,0)

to


rootnoverify (hd0,1)

morteza87
16th February 2010, 11:30 AM
Device Boot Start End Blocks Id System
/dev/sda1 1 674 5406720 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 674 12841 97736704 7 HPFS/NTFS
/dev/sda3 12842 19458 53143630+ f W95 Ext'd (LBA)
/dev/sda5 16908 19458 20482048 b W95 FAT32
/dev/sda6 * 12842 12867 204800 83 Linux
/dev/sda7 12867 16907 32454655+ 8e Linux LVM

this is it...
and rootnoverify (hd0,1) dosen't work..

giulix
16th February 2010, 11:34 AM
It should be as I posted earlier. Make the modification, reboot and let us know if it's working...

morteza87
16th February 2010, 11:52 AM
accept my willing to thanks..
It works properly, I really appreciate your help..
but I don't know, I try it on fedora 11 and it dosen't work, then I install fedora 12 and in menu on adding boot menu, i set it to find automatically for boot devices but still problem was there.. and here I use your advise and it works.. :D

giulix
16th February 2010, 12:02 PM
Happens all the time... glad it worked ;)