Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > The Dungeon > Archived (Click Header To See Sub-Forums) > F17 Development Forum
FedoraForum Search

Forgot Password? Join Us!

F17 Development Forum The proper place for all things "F17." This section has been archived since F17 reached final release.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th April 2012, 05:21 PM
jsandys Offline
Registered User
 
Join Date: Feb 2007
Location: Shoreline
Posts: 25
windows_7firefox
How to set up dual boot when installing F17-Beta with F16

I finally got the F17-Beta-DVD installed to the point where it asked for the reboot, but after reboot my only choices with grub were F16 kernels. How do I fix this?

My setup is a single disk:
sda1 ext3 1gb /boot (set as /boot during installation with no formatting)
sda2 ext4 LVM vg_odd /home /root swap (where I installed F17 Beta)
sda3 ext4 LVM vg_even /home /root swap (where F16 is installed)
sda4 set4 /data (where I keep media, documents and personal projects for both)

What is the correct answer for "Install boot loader on /dev/sda?" to get a dual boot of F16 and F17-Beta?

Why can't Anaconda see that I have F16 (or other linux with grub2) is installed and F17-Beta is being added, and suggest an answer? Or at least, how about a help file displayed with this question? It is impossible to pull up the installation guide (which doesn't answer this question) while Anaconda is running.

I hope I can fix this soon, I want to show off F17-Beta at LinuxFest NorthWest this weekend.
-- Jeff
Reply With Quote
  #2  
Old 24th April 2012, 10:04 PM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,099
linuxfirefox
Re: How to set up dual boot when installing F17-Beta with F16

Have you looked in sda1 to see if the F17 kernel and initramfs are there?
Maybe running "grub2-mkconfig -o /boot/grub2/grub.cfg" from F16 would pick them up.

Note - I've never dual-booted the way you are - with a single /boot partition - so I'm not familiar with the potential issues. I did once use a "leftover" /boot-mbr setup from a distro I had erased, but even then I gave each of my remaining installs its own /boot.

In order for your setup to work you have to assume that grubby and grub2-mkconfig are smart enough to keep /boot in proper order with respect to kernels and initramfs images ... I'm not real sure about that.
Reply With Quote
  #3  
Old 25th April 2012, 02:02 AM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 868
macoschrome
Re: How to set up dual boot when installing F17-Beta with F16

Quote:
Originally Posted by jsandys View Post

What is the correct answer for "Install boot loader on /dev/sda?" to get a dual boot of F16 and F17-Beta?
I would let the beta installer replace GRUB 1.99 from Fedora 16, with GRUB 2.00 ~beta2 or 3 or wherever it's at now, because its grub2-mkconfig is vastly better. (Although I admit I have not tried it with two Fedoras, only Fedora + Mac OS + Windows).

And the reason I'd do this is because two Fedora should co-habitat, and GRUB 2 should be agreeable. If not, it needs to get sorted out with a bug report, and since you're beta testing... you've sorta volunteered.

Why can't Anaconda see that I have F16 (or other linux with grub2) is installed and F17-Beta is being added, and suggest an answer?

Anaconda doesn't look. It runs grub2-mkconfig which is going to write out a new grub.cfg but only in the F17 beta vg-lv. So if you didn't replace the F16 GRUB with F17's GRUB, the old one is still looking for the F16 grub.cfg which will not have been updated to see F17.


Quote:
Or at least, how about a help file displayed with this question?
Oh sweet Jesus on a stick. I'm a Mac user and even I would never expect this. You're beta testing. Your help file is this forum.


Quote:
It is impossible to pull up the installation guide (which doesn't answer this question) while Anaconda is running.
Umm, docs are still being written...


Quote:
I hope I can fix this soon, I want to show off F17-Beta at LinuxFest NorthWest this weekend.
I know for sure single install with VBox and KVM work.

---------- Post added at 07:02 PM ---------- Previous post was at 06:47 PM ----------

Quote:
Originally Posted by jsandys View Post
What is the correct answer for "Install boot loader on /dev/sda?" to get a dual boot of F16 and F17-Beta?
Sorry. Leave it checked as default which should be /dev/sda.

If this isn't replacing old with new, I think that's a bug.
Reply With Quote
  #4  
Old 25th April 2012, 03:59 AM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,099
linuxfirefox
Re: How to set up dual boot when installing F17-Beta with F16

Quote:
Originally Posted by jsandys View Post
My setup is a single disk:
sda1 ext3 1gb /boot (set as /boot during installation with no formatting)
Unless I read this wrong, jsandys wants to use the same /boot partition for both F16 & F17. I've never seen that attempted.
Reply With Quote
  #5  
Old 25th April 2012, 04:24 AM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 868
macoschrome
Re: How to set up dual boot when installing F17-Beta with F16

Quote:
Originally Posted by sonoran View Post
Unless I read this wrong, jsandys wants to use the same /boot partition for both F16 & F17. I've never seen that attempted.
Umm, I think anaconda requires /boot to be formatted (fresh) at install time. And I don't recall ext3 even being an option. So, if he actually went through with this, his F16 kernels are blown away.
Reply With Quote
  #6  
Old 27th April 2012, 02:45 AM
jsandys Offline
Registered User
 
Join Date: Feb 2007
Location: Shoreline
Posts: 25
windows_7firefox
[Solved] How to set up dual boot when installing F17-Beta with F16

While logged into F16 and after checking that the F17 kernel and initramfs were in sda1, as root (sudo) I ran:
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
The hard part was picking out which of the multitude F17 listings in grub to use. The last one on the list labeled Beefy Miracle took me through the reboot dialog.

---------- Post added at 06:45 PM ---------- Previous post was at 05:50 PM ----------

Quote:
Originally Posted by sonoran View Post
Unless I read this wrong, jsandys wants to use the same /boot partition for both F16 & F17. I've never seen that attempted.
How would you use different /boot partitions? Doesn't grub live in the /boot partition? Which grub would run on boot up?

This computer has had this partition scheme since F14-F15 pair. For some reason I couldn't get 17 installed as I had F15 and F16. I like helping out on testing, but the main purpose of the computer is music with PlanetCCRMA which lags behind on releases. And I haven't figured out virtual boxes yet (something I must do obviously)

Thanks for your help Sonoran.
-- Jeff
Reply With Quote
  #7  
Old 27th April 2012, 02:56 AM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 868
macoschrome
Re: [Solved] How to set up dual boot when installing F17-Beta with F16

Quote:
Originally Posted by jsandys View Post
How would you use different /boot partitions? Doesn't grub live in the /boot partition? Which grub would run on boot up?
No the boot.img lives in the first 440 bytes of LBA 0. Then jumps to core.img which lives in the MBR gap (or in the BIOS Boot partition on GPT disks). That core.img looks for a particular grub.cfg in a particular /boot.

You could have either one or different /boot partitions. But I don't see how you get anaconda to point to an in-use /boot without it formatting that partition.

Last edited by chrismurphy; 27th April 2012 at 03:03 AM.
Reply With Quote
  #8  
Old 27th April 2012, 08:52 AM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,099
linuxfirefox
Re: [Solved] How to set up dual boot when installing F17-Beta with F16

Quote:
Originally Posted by chrismurphy View Post
But I don't see how you get anaconda to point to an in-use /boot without it formatting that partition.
That is indeed astonishing, but, at the same time, kind of elegant. As long as there is no confusion when either installation updates...

Quote:
Originally Posted by jsandys
How would you use different /boot partitions?
I've always given each installation its own /boot, either a partition or a directory under /. One grub will be installed to the mbr and will boot first, and its menu will have entries for the other systems. I used the "configfile" command in the menu entries so that I didn't have to manually update the "main" menu to point to updated kernels. With grub2 the "chainloader" command works the same way.

But if what you have works, I'd stick with it. Might even try it myself.
Reply With Quote
Reply

Tags
boot, dual, f16, f17beta, installing, set

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
[SOLVED] Problem installing boot loader in F16 beta broadstairs F16 Development 0 1st November 2011 11:10 AM
Dual boot Mac OS - Fedora F16 beta chrismurphy F16 Development 7 19th October 2011 07:08 AM
Dual Boot Windows XP(1st) and Fedora 13 Beta(2nd) - How? JeZLee Installation and Live Media 4 5th May 2010 03:18 AM
F10 Beta / Windows dual boot acidford Using Fedora 1 4th October 2008 12:50 AM
Dual Boot F8, F9 beta problem crainey69 Alpha - Beta (Fedora 9 Only) 47 26th April 2008 03:14 AM


Current GMT-time: 05:05 (Monday, 20-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