grub jamming when windows selected
i jus reinstalled winblows and linux. this is how my hdd is partitioned.
hda1 - Linux hda2 - extended hda5 - swap hda6 - ntfs hda7 - no filesystem now hda7 isnt formatted cuz i wanted it in ntfs when i loaded up windows after installing it and installing linux. i installed XP first, did the first boot. rebooted and started installing linux. fedora release 1. my grub line for windows says rootnoverify (hd0.4) chainloader +1 i tried changing the 4 to anything else and it says illegal command. i guess im being daft about this but i havent a clue what to do. thanks for your time. |
See if this works
title=Windows XP root (hd0,5) chainloader (hd0,5)+1 Installing a bootloader If not, post the output of: fdisk -l |
sorry...it was already (0,5), i edited it to make it (0,4) ill try changing the chainloader..thanks
|
nope...no go, should i try installing windows again on the 3rd partition?
|
Have you changed something since grub was first installed?
Post the output of: fdisk -l |
[root@localhost root]# fdisk -l
Disk /dev/hda: 20.0 GB, 20003880960 bytes 255 heads, 63 sectors/track, 2432 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 829 6658911 83 Linux /dev/hda2 830 2431 12868065 f Win95 Ext'd (LBA) /dev/hda5 830 956 1020096 82 Linux swap /dev/hda6 957 1912 7679038+ 7 HPFS/NTFS /dev/hda7 1913 2431 4168836 e Win95 FAT16 (LBA) [root@localhost root]# yeah...i had edited the grub.conf with gedit to add the acpi=on argument to make my laptops battery meter work. |
Did Windows ever boot after your install? Post your /boot/grub/grub.conf file.
|
# grub.conf generated by anaconda
# # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,0) # kernel /boot/vmlinuz-version ro root=/dev/hda1 # initrd /boot/initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Fedora root (hd0,0) kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdc=ide-scsi rhgb acpi=on initrd /boot/initrd-2.4.22-1.2115.nptl.img title Windows XP rootnoverify (hd0,5) chainloader (hd0,5)+1 windows? after installing linux...the first time i tried it gave this error...been trying to debug it ever since. thanks dude for helpin me out :) |
I am out of ideas unless the bootable flag needs to be set for XP (use fdisk to toggle the bootable flag, and I have no experience with XP, btw) to run.
I haven't been able to get Windows98 happy unless it is installed on the first primary partition. I thought XP was more flexible and the guy that wrote the Gentoo instructions have it installed at the same place as you do. :confused: Gentoo's Installing a bootloader |
er...whats the command to set the bootable flag?...thanks :)
|
Run fdisk and then use a:
Code:
Sat Nov 22 02:40am fancy@tinwhistle ~$ su - |
All times are GMT -5. The time now is 07:31 AM. |