had windows 7, installed fedora 12 on partition, now windows won't boot
i think I explained the problem pretty well. If you need more info to help, let me know. Just so you guys know, I am pretty new to linux. I like it, but I also want the option of booting windows.
|
Look at this tutorial:
http://en.gentoo-wiki.com/wiki/Grub2 It's about grub2 configuration on gentoo, but I guess it's not distro specific. |
well, do you have any suggestions about what to do? I am fairly familiar with commands, and I know what grub is, but I don't know how to change it.
|
First of all, what's your partition setup?
Can you post the output of (as root) fdisk -l |
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xa0000000 Device Boot Start End Blocks Id System /dev/sda1 1 4 32098+ de Dell Utility /dev/sda2 5 664 5295104 7 HPFS/NTFS Partition 2 does not end on cylinder boundary. /dev/sda3 665 1309 5180962+ 5 Extended /dev/sda4 1310 19131 143149052 7 HPFS/NTFS /dev/sda5 * 665 690 204800 83 Linux /dev/sda6 690 1309 4975615+ 8e Linux LVM Disk /dev/dm-0: 2977 MB, 2977955840 bytes 255 heads, 63 sectors/track, 362 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 2113 MB, 2113929216 bytes 255 heads, 63 sectors/track, 257 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table |
I assume that /dev/sda2 is where your windows system is.
Add this entry to /etc/grub/grub.cfg Code:
menuentry "Window 7" { I don't know how windows 7 boots up so you might also add another one: Code:
menuentry "Window 7 sda1" { |
how would I go about adding the entry? I got to to folder, I'm not sure what to do after that.
|
Does F12 even use grub2 ?. Not mentioned in the release notes, and I don't recall it when I installed.
(This post to remind me to look when I get home) @bieszke2, let's see the optput from "ls /boot/grub" |
Go to the command line (terminal/konsole) type 'su' to become root.
Then type: Code:
nano /etc/grub/grub.cfg ctrl+o ===> 'Enter' ===> ctrl+x. |
Quote:
My apologies for it. |
device.map grub.conf minix_stage1_5 stage2
e2fs_stage1_5 iso9660_stage1_5 reiserfs_stage1_5 ufs2_stage1_5 fat_stage1_5 jfs_stage1_5 splash.xpm.gz vstafs_stage1_5 ffs_stage1_5 menu.lst stage1 xfs_stage1_5 |
Please, disregard whatever I've written so far. I wrongly assumed Fedora is using the latest version of grub.
As syg00 suggested, try: Code:
ls /boot/grub open it with nano and add the following entries Code:
title Windows 7 A |
Windows A did not work.
Windows B kind of worked. It displayed "BOOTMGR is missing" Is there anything I can do about that? |
Boot your computer with windows 7 dvd and use the repair feature. It will overwrite grub, but that's something that can be easily restored either with fedora dvd or even easier with supergrub cd.
|
Yeah, I just did that yesterday. It didn't overwrite the grub, it just put in a new bootmgr. I guess Windows 7 is famous for deleting its own bootmgr. All works fine now, thanks for the help.
|
All times are GMT -5. The time now is 03:39 AM. |