Fedora Linux Support Community & Resources Center
  #1  
Old 1st June 2012, 02:18 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 994
linuxfirefox
Dua boot Fedora 16 and Mint 12

Hi,

I want to dual boot Fedora 16 32 bit and Mint 12 32 bit. I have created 3 primary partitions, one for swap, one for Fedora 16 and one for Mint 12. I installed Fedora to sda1 and its Grub to the MBR. Then I installed Mint to sda3 and its Grub to sda3. Now when the pc boots, it does not show Mint on the boot menu and it only shows Fedora, why so? I think Mint 12 also uses Grub2, right? Here is the page on Distrowatch web site that says so.

http://distrowatch.com/table.php?distribution=mint

Here, sda1 is for Fedora and sda3 is for Mint. While sda2 is swap partition. I installed Fedora first and then Mint.
Please help me, thanks. Here is what I see in Fedora in a terminal.


Code:
[root@localhost john]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000db6d0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   634882047   317440000   83  Linux
/dev/sda2       634882048   645367807     5242880   82  Linux swap / Solaris
/dev/sda3       645367808   976773119   165702656   83  Linux
Code:
[root@localhost john]# df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          298G  3.2G  280G   2% /
devtmpfs        2.0G     0  2.0G   0% /dev
tmpfs           2.0G   92K  2.0G   1% /dev/shm
tmpfs           2.0G   40M  2.0G   2% /run
/dev/sda1       298G  3.2G  280G   2% /
tmpfs           2.0G   40M  2.0G   2% /run
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs           2.0G     0  2.0G   0% /media
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

Last edited by tech291083; 1st June 2012 at 08:23 AM.
Reply With Quote
  #2  
Old 1st June 2012, 02:29 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 994
linuxfirefox
Re: Dua boot Fedora 16 and Mint 12

Here are the screen shots of a tool called Disk Utility, so that you can have a proper idea, thanks. As per he second screen shot, Mint is not mounted, is it what is wrong?
Attached Thumbnails
Click image for larger version

Name:	Fedora16.png
Views:	24
Size:	125.2 KB
ID:	23149   Click image for larger version

Name:	Mint12.png
Views:	25
Size:	124.0 KB
ID:	23150  
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

Last edited by tech291083; 1st June 2012 at 02:36 AM.
Reply With Quote
  #3  
Old 1st June 2012, 06:27 AM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,136
linuxfirefox
Re: Dua boot Fedora 16 and Mint 12

Try running
Code:
# grub2-mkconfig -o /boot/grub2/grub.cfg
and see if os-prober finds Mint.

I'm not familiar with Mint, but there are some issues with installing grub2 to a partition (instead of mbr). It's possible something went awry there.
Reply With Quote
  #4  
Old 1st June 2012, 08:22 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 994
windows_7ie
Re: Dua boot Fedora 16 and Mint 12

Quote:
Originally Posted by sonoran View Post
Try running
Code:
# grub2-mkconfig -o /boot/grub2/grub.cfg
and see if os-prober finds Mint.

I'm not familiar with Mint, but there are some issues with installing grub2 to a partition (instead of mbr). It's possible something went awry there.
Thanks, but I need to run that command in a Fedora terminal, right?
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo
Reply With Quote
  #5  
Old 1st June 2012, 08:30 AM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,136
linuxfirefox
Re: Dua boot Fedora 16 and Mint 12

Yeah, as root. So sudo if you've configured that, or
Code:
su -
<enter root password>
Reply With Quote
  #6  
Old 1st June 2012, 09:24 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 994
windows_7ie
Re: Dua boot Fedora 16 and Mint 12

ok, here it is in Fedora.

Code:
[root@localhost john]# grub2-mkconfig -o /boot/grub2/grub.conf
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.3.7-1.fc16.i686.PAE
Found initrd image: /boot/initramfs-3.3.7-1.fc16.i686.PAE.img
Found linux image: /boot/vmlinuz-3.1.0-7.fc16.i686.PAE
Found initrd image: /boot/initramfs-3.1.0-7.fc16.i686.PAE.img
No volume groups found
Found Linux Mint 12 Lisa (12) on /dev/sda3
done

Here is some content of the /boot/grub2/grub.conf file in Fedora, which I have not modified at all. Here is the content of a portion/paragraph called /etc/grub.d/30_os-prober


Code:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda3) (on /dev/sda3)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos3)'
        search --no-floppy --fs-uuid --set=root 791c77e5-5819-442d-9199-7a6fd0543056
        linux /boot/vmlinuz-3.0.0-12-generic root=UUID=791c77e5-5819-442d-9199-7a6fd0543056 ro quiet splash vt.handoff=7
        initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry "Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda3) -- recovery mode (on /dev/sda3)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos3)'
        search --no-floppy --fs-uuid --set=root 791c77e5-5819-442d-9199-7a6fd0543056
        linux /boot/vmlinuz-3.0.0-12-generic root=UUID=791c77e5-5819-442d-9199-7a6fd0543056 ro recovery nomodeset
        initrd /boot/initrd.img-3.0.0-12-generic
}
 
### END /etc/grub.d/30_os-prober ###
I think I have done the installation right, but there seems to be some little modification that I need to and you please help me do so, thanks a lot for your help so far.
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo
Reply With Quote
  #7  
Old 1st June 2012, 10:19 AM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,136
linuxfirefox
Re: Dua boot Fedora 16 and Mint 12

Does the option to boot Mint appear in the grub2 menu now when you reboot? The "recovery mode" part is suspicious.

If Mint doesn't boot properly, but puts you into some sort of recovery shell, there are a couple things you can try. The first is to enter
Code:
grub2-install --force /dev/sda3
which works in Fedora but might not in Mint.

Reboot into Fedora and run the "grub2-mkconfig -o /boot/grub2/grub.cfg" again, then reboot and see if Mint works.

If it doesn't, and you're back in recovery mode again, I would run
Code:
grub2-install hd0
That should put Mint's grub2 onto the mbr. It really makes no difference which grub2 controls the booting as long as you can boot both systems. If you really want to you could then do the same thing in Fedora (grub2-install hd0), so you would get Fedora's grub2 again.

Assuming I'm right about all that, what happened is that the attempt to install Mint's grub2 to the sda3 partition didn't work. Grub2 really doesn't like being on a partition, so the --force option is required.
Reply With Quote
  #8  
Old 1st June 2012, 06:04 PM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 994
windows_7ie
Re: Dua boot Fedora 16 and Mint 12

Oh, it works now ie Mint boots and so does Fedora. I made a silly mistake. I typed the following command in fedora.


Code:
grub2-mkconfig -o /boot/grub2/grub.conf
In fact the right command is, the one that you have given me.


Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
What an idiot I am. Apologies for the trouble I have caused you. Thanks a lot.

If I want to check Grub version in Mint, then the command should be..

Code:
grub --version
right?
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

Last edited by tech291083; 1st June 2012 at 06:07 PM.
Reply With Quote
  #9  
Old 1st June 2012, 08:06 PM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,136
linuxfirefox
Re: Dua boot Fedora 16 and Mint 12

Great that you got it working - nice job. I've never tried Mint, but I think they use some different commands with grub2 than Fedora does. You can check by running "man grub" or "man grub2" in a Mint terminal.
Reply With Quote
  #10  
Old 1st June 2012, 10:28 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,734
linuxfirefox
Re: Dua boot Fedora 16 and Mint 12

Quote:
Originally Posted by tech291083 View Post
If I want to check Grub version in Mint, then the command should be..

Code:
grub --version
right?
If I remember right, mint used grub2. To check the grub2 version,

Code:
grub2-install -v
grub2-install (GRUB) 2.00~beta4
This is from Fedora of course but this is the command you would need to use. If not, use grub-install -v.

To work more with GRUB management in Mint, I would recommend looking at this thread. It might be interesting .... Cheers.
Reply With Quote
Reply

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
How to dual boot Fedora 16 with Linux Mint asifnaz Installation and Live Media 5 14th January 2012 01:28 AM
Boot Linux Mint Debian 64bit After fedora 15 installation problem frozenwolves Using Fedora 4 19th August 2011 01:26 AM
sees network, but won't connect-in either Fedora or Mint (dual boot) pottzie Servers & Networking 1 1st January 2011 12:35 AM
Fedora/Mint dual boot issues: edit grub.cfg? nickmild Using Fedora 11 15th May 2010 02:52 PM
Dual boot Fedora 9 and Ubuntu 8.04/ Linux Mint 5 viperskunk Using Fedora 1 30th June 2008 01:18 PM


Current GMT-time: 22:44 (Wednesday, 19-06-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