Fedora Linux Support Community & Resources Center
  #1  
Old 17th June 2012, 09:47 PM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
linuxfirefox
Anaconda fails to install grub.conf on dual boot

I used the custom option in Anaconda to set mount points and preserve my original Luks and Lvm pre-installer set-up. After selecting the mount points in Anacoda, the next screen selects the boot partition. by custom, I selected the second partition sda2 (hd0,1) 500mb as boot since this is a dual boot install.

When the system rebooted, I got blinking cursor. there is nothing to unlolck Luks. With some more looking from the installer cd, I see there is no grub.conf in grub/ directory.

whats going on?

this is the second attempt. the first install did the same thing only a mistake with Luks masked the problem. in that case, the system boots to the grub prompt. now that I sorted Luks, the grub problem is still the same only there is nothing to unlock Luks.
Reply With Quote
  #2  
Old 18th June 2012, 12:01 AM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Anaconda fails to install grub.conf on dual boot

See if https://fedoraproject.org/wiki/GRUB#..._2_boot_prompt helps (right till the end of the page).

Also check https://fedoraproject.org/wiki/Anaconda

Last edited by secipolla; 18th June 2012 at 12:05 AM.
Reply With Quote
  #3  
Old 18th June 2012, 08:52 PM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
windows_xp_2003ie
Re: Anaconda fails to install grub.conf on dual boot

"Starting with Fedora 16, GRUB 2 is the default bootloader on x86 BIOS systems."

Oh. With this reinstall, I have Luks working so the system doesn't boot the the grub prompt. In my previous "borked" install, I did boot to the grub prompt, but grub said it was 0.9.

I will look at the other link. Thank You.
Reply With Quote
  #4  
Old 19th June 2012, 11:42 AM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Anaconda fails to install grub.conf on dual boot

From what I see from this post and your other one at http://forums.fedoraforum.org/showth...ub#post1585839 , it didn't fail to install, it's just that you asked it to install to /dev/sda2 instead of to the MBR.
So you can either boot into rescue mode in the CD and try to install grub2 form there (I think there's an option for that, otherwise here's how to mount your system: http://forums.fedoraforum.org/showpo...31&postcount=4 ) or re-install but choosing to install GRUB to the MBR.
Reply With Quote
  #5  
Old 19th June 2012, 03:40 PM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
windows_xp_2003firefox
Re: Anaconda fails to install grub.conf on dual boot

@secipolla: I can't install on MBR because Windows won't operate properly and this is documented in the Fedora Docs. In short, I recreated the same steps from my F15 install (I believe). I didn't have to do a separate Grub install then, so why now? Did I miss a step or is there a change in the installer which borks the install when performed in these steps.

For those who have not read this post, let me summarize the principal problem I encountered during this install. The task was upgrading the Fedora 15 install on my laptop. This included dual boot to Windows and Luks encryption for the Fedora sda3 (hd0,2) partition.

The goal was to upgrade without erasing the /home partition. I found many examples of Luks install and multiple LVM partition installations "from scratch", but I could not find examples of posts or help guides for upgrading. It wasn't as easy as taking the instructions for a "from scratch" install and skipping the Luks and LVM setup steps. There were a few steps necessary including the command vgchange which I was unfamiliar with. The net result was my own mistakenly believing I had mounted the Luks partitions correctly, only to find the Luks opened (to allow the installation) but destroyed during the installation.

After three attempts at installation performing the same steps and experiencing the same results (save for the one install without Luks), I've sorted out what I need to do to preserve the Luks setup. And I'm experiencing the same repeated problem with Anaconda borking the boot install.

I keep notes and local copies of guides I gather from past installs and I have not experienced this problem before. I don't know why the situation has changed since installing Fedora 15 when I used the instructions (linked in the forum post referenced by member secipolla) without any fault with grub.

Last edited by xtian; 19th June 2012 at 03:48 PM.
Reply With Quote
  #6  
Old 19th June 2012, 04:34 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Anaconda fails to install grub.conf on dual boot

So you have GRUB-legacy in the MBR?
You installed GRUB2 from F17 at sda2, the grub you had on the MBR isn't installed anymore, only the files are there but the new Fedora doesn't have anything to do with them.
Maybe you should use the instructions to enter your installed system from the live-CD and then uninstall grub2 (grub won't see it anyway, AFAIK) and install grub (not grub2) to the MBR again, but this time from the new system.
Reply With Quote
  #7  
Old 19th June 2012, 06:56 PM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
windows_xp_2003ie
Re: Anaconda fails to install grub.conf on dual boot

Quote:
Originally Posted by secipolla View Post
So you have GRUB-legacy in the MBR?
No. As per the Fedora Documentation:
"During installation, Microsoft's DOS and Windows installation programs completely overwrite the MBR, destroying any existing boot loaders. If creating a dual-boot system, it is best to install the Microsoft operating system first. " [1]

My notes from the last install expressly stated to install the boot mount point at the first sector of sda2, but this was for grub 0.9.


[1]: http://docs.fedoraproject.org/en-US/...ub-whatis.html
Reply With Quote
  #8  
Old 19th June 2012, 07:14 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Anaconda fails to install grub.conf on dual boot

That means that if you install Windows after Fedora, it will overwrite the MBR and you'll either have to re-install grub or use easy-bsd (or something like that) to boot fedora using Windows' boot loader.

The impression I have is that when you installed F15 (which used grub legacy) you did in fact install grub to the MBR and that's why you can't boot anything now. Or can you boot into Windows?

You can install grub2 to the MBR and it should detect Windows normally. Many people have that set-up and we don't see anyone here having trouble about grub2 not detecting their Windows installation.
Reply With Quote
  #9  
Old 20th June 2012, 12:38 AM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
windows_xp_2003firefox
Re: Anaconda fails to install grub.conf on dual boot

Quote:
Originally Posted by secipolla View Post
The impression I have is that when you installed F15 (which used grub legacy) you did in fact install grub to the MBR and that's why you can't boot anything now.
I am upgrading from Fedora 15 to Fedora 17. In this post from July 2011 (quoted in the previous post), I learned from user michaaa62 how to install Fedora 15 with Luks. And it worked perfectly installing entirely from Anaconda

In this post I'm installing Fedora 17, and skipping Fedora 16. For this installation, now, that I am posting about, I have Windows installed from last year on (hd0,0) I've not touched it. The machine does not boot into Windows automatically. I am attempting to install Fedora 17 on (hd0,1) and (hd0,2). I hope that clarifies for you what I'm doing.


Quote:
You can install grub2 to the MBR and it should detect Windows normally.
OK. This is a change then since Fedora 15.

Since the machine does not boot, then its your recommendation I boot from Live media and manually install grub2 to the /boot partition using, I guess, the rpm package? Or reinstall the entire system and this time option the MBR instead of the first sector of sda2?

Last edited by xtian; 20th June 2012 at 12:44 AM.
Reply With Quote
  #10  
Old 20th June 2012, 12:52 AM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Anaconda fails to install grub.conf on dual boot

Quote:
Originally Posted by xtian View Post
Since the machine does not boot, then its your recommendation I boot from Live media and manually install grub2 to the /boot partition using, I guess, the rpm package? Or reinstall the entire system and this time option the MBR instead of the first sector of sda2?
Not to the boot partition, to the MBR (/dev/sda).
Boot the live-CD and I think that there's an option to install grub only or to recover the system.
Reply With Quote
  #11  
Old 21st June 2012, 03:58 PM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
windows_xp_2003firefox
Re: Anaconda fails to install grub.conf on dual boot

I've put the steps I used for the install into a pastebin:
http://pastebin.com/n5PJWXTe
Reply With Quote
Reply

Tags
anaconda, boot, dual, grub, xfce

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wanted:Help writing grub.conf for dual boot F10&F11 PoppaMurph Using Fedora 15 5th June 2009 02:31 PM
what is wrong with my grub.conf for dual boot? evilinux Using Fedora 33 14th March 2007 04:20 PM


Current GMT-time: 06:57 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat