LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2010, 07:09 AM   #1
magk
LQ Newbie
 
Registered: Mar 2010
Posts: 15

Rep: Reputation: 0
Fedora installation caused probs in windows


Hi
I installed fedora 10 recently in my lap which had Windows Vista Home Premium. And now there is a prob tat i could access only Fedora. If i try booting into Vista it says

"BootMgr is missing Press ctrl+alt+delete to restart"

I came to know tat I shud have actually installed fedora first before windows.

Now i wanted to know how to Get both fedora and windows in my laptop

Thank u in advance
 
Old 03-01-2010, 07:19 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Actually, the common advice is to install Windows first.

What do you see on the boot menu when the computer starts? (There should be at least two options--Fedora and Windows.)

While running in Fedora, open a terminal, enter "su" to become root, and run these commands:
Code:
sed '/^#/d' /boot/grub/menu.lst

fdisk -l
post the results here.
 
Old 03-01-2010, 07:20 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
I came to know tat I shud have actually installed fedora first before windows.
Incorrect - fedora should be installed after windows.

You need to boot fedora and alter the grub configuration file so the windows entry points to the correct partition.

please do not deliberately use those odd misspellings, it makes you look illiterate. If you are illiterate, there is no point trying to help you: you won't understand. The more you look like you can communicate, the more confident we are that we can help you without having to use baby language.
 
Old 03-01-2010, 07:28 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
sed '/^#/d' /boot/grub/menu.lst
Show off

But "menu.lst"? Not grub.conf? Oh well it should be a link anyway.

Didn't fedora 10 just get archived?
 
Old 03-01-2010, 07:48 AM   #5
magk
LQ Newbie
 
Registered: Mar 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany View Post
Actually, the common advice is to install Windows first.

What do you see on the boot menu when the computer starts? (There should be at least two options--Fedora and Windows.)

While running in Fedora, open a terminal, enter "su" to become root, and run these commands:
Code:
sed '/^#/d' /boot/grub/menu.lst

fdisk -l
post the results here.
This is what i got from tat sed command

default=0
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.41-170.2.117.fc10.i686.PAE)
root (hd0,5)
kernel /boot/vmlinuz-2.6.27.41-170.2.117.fc10.i686.PAE ro root=UUID=65b496d9-45e9-4dd0-a3f7-39c2441f8ef8
initrd /boot/initrd-2.6.27.41-170.2.117.fc10.i686.PAE.img
title Fedora (2.6.27.5-117.fc10.i686.PAE)
root (hd0,5)
kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686.PAE ro root=UUID=65b496d9-45e9-4dd0-a3f7-39c2441f8ef8
initrd /boot/initrd-2.6.27.5-117.fc10.i686.PAE.img
title Other
rootnoverify (hd0,1)
chainloader +1


And for fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00638cbf

Device Boot Start End Blocks Id System
/dev/sda1 1 5 40131 de Dell Utility
/dev/sda2 6 1918 15360000 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 * 1918 24904 184634548 7 HPFS/NTFS
/dev/sda4 24904 30402 44161024 f W95 Ext'd (LBA)
/dev/sda5 24904 27648 22041600 7 HPFS/NTFS
/dev/sda6 27649 29942 18426523+ 83 Linux
/dev/sda7 29943 30401 3686886 82 Linux swap / Solaris

Last edited by magk; 03-01-2010 at 07:50 AM.
 
Old 03-01-2010, 08:04 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
OK!!
This entry:
Quote:
title Other
rootnoverify (hd0,1)
chainloader +1
is pointing to partition #2 (sda2 in the fdisk listing), but #3 is actually marked as bootable. You have a total of 3 Windows (NTFS) partitions, not counting the Dell utility. Can you tell us what each one is for?

Assuming that Windows is on sda2, then try making that one bootable instead of sda3. You can do this with any partioning tool---On Fedora, see if "cfdisk" is installed.

Disclaimer: I have no experience with Vista--my suggestions may have some flaws.
 
Old 03-01-2010, 08:11 AM   #7
magk
LQ Newbie
 
Registered: Mar 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany View Post
OK!!
This entry:
is pointing to partition #2 (sda2 in the fdisk listing), but #3 is actually marked as bootable. You have a total of 3 Windows (NTFS) partitions, not counting the Dell utility. Can you tell us what each one is for?

Assuming that Windows is on sda2, then try making that one bootable instead of sda3. You can do this with any partioning tool---On Fedora, see if "cfdisk" is installed.

Disclaimer: I have no experience with Vista--my suggestions may have some flaws.
Hi
Ya i actually installed Windows 7 in sda3 and Windows Vista is in sda2.

That was my mistake instead of installing Windows 7 in place of vista i installed in another drive.

And How can i see if cfdisk is installed?

Thank You.
 
Old 03-01-2010, 08:14 AM   #8
magk
LQ Newbie
 
Registered: Mar 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany View Post
OK!!
This entry:
is pointing to partition #2 (sda2 in the fdisk listing), but #3 is actually marked as bootable. You have a total of 3 Windows (NTFS) partitions, not counting the Dell utility. Can you tell us what each one is for?

Assuming that Windows is on sda2, then try making that one bootable instead of sda3. You can do this with any partioning tool---On Fedora, see if "cfdisk" is installed.

Disclaimer: I have no experience with Vista--my suggestions may have some flaws.
And to add to my previous post. Actually I did use Fedora bootable disk to actually change the boot loader to point to windows in sda2 and then only I got that Error

"BootMgr is missing"
 
Old 03-01-2010, 08:21 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
So...Did you have Vista and Win7 running as dual-boot? In this event, I'm not sure where the bootloader winds up.

Regardless, try changing the grub config file to point to sda3---ie:
Code:
title Other
rootnoverify (hd0,2)
chainloader +1
To see if cfdisk is installed, type "cfdisk" (or "man cfdisk")
 
Old 03-01-2010, 08:27 AM   #10
magk
LQ Newbie
 
Registered: Mar 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany View Post
So...Did you have Vista and Win7 running as dual-boot? In this event, I'm not sure where the bootloader winds up.

Regardless, try changing the grub config file to point to sda3---ie:
Code:
title Other
rootnoverify (hd0,2)
chainloader +1
To see if cfdisk is installed, type "cfdisk" (or "man cfdisk")
Hi
I did not do any changes to the grub configuration file as yet

just used cfdisk

It said

Fatal Error:
Bad Primary partition 3:Partition ends in the final partial cylinder

thank you
 
Old 03-01-2010, 08:42 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Hmmmm---I wonder why fdisk did not complain about that?

One thing to try:
Boot up from your Windows CD (or DVD)---select rescue mode, and restore the Windows boot code. In older versions of Windows, it's "fixmbr". I'm not sure what they call it now.

Once you have confirmed that the Windows installs are working correctly, find out which partition has the Windows loader. Then you can put the Linux bootloader (GRUB) back by booting from the Linux CD.
 
Old 03-01-2010, 10:26 AM   #12
magk
LQ Newbie
 
Registered: Mar 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany View Post
Hmmmm---I wonder why fdisk did not complain about that?

One thing to try:
Boot up from your Windows CD (or DVD)---select rescue mode, and restore the Windows boot code. In older versions of Windows, it's "fixmbr". I'm not sure what they call it now.

Once you have confirmed that the Windows installs are working correctly, find out which partition has the Windows loader. Then you can put the Linux bootloader (GRUB) back by booting from the Linux CD.
Thank you for your suggestions. I will try that out and let u know whether the problem was solved
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql installation probs in Fedora core 5 sampath.d Linux - Server 0 05-07-2007 11:21 PM
Partition added in Windows caused kernel panic Rohan_mk1 Linux - Hardware 11 09-04-2006 10:36 AM
problems caused by Windows hibernation? newbiesforever Linux - General 4 06-16-2006 12:50 PM
installation fedora windows xp la_lepton Linux - Software 1 03-05-2005 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration