Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-04-2012, 05:07 AM   #1
LQ Newbie
Registered: Feb 2012
Location: Las Vegas, NV
Distribution: Ubuntu and Fedora
Posts: 6

Rep: Reputation: Disabled
Trying to dual boot with grub.

Hello all!

Kind of hit a snag here and could use a little help. I'm currently preparing for the Linux + certification in school. Over all I am moderately new to Linux, but do have general knowledge and can find my way around just fine.

Issue: I have an Acer Aspire One netbook. I partitioned as follows:

/dev/sda1: Fedora 16
/dev/sda2: Swap
/dev/sda3: Android 4.0 ICS i386 (found here)

However, Fedora 16 comes packaged with GRub2 (1.99) and the Android installation comes with GRub1 (0.97) Bootloaders. Both installations work just fine, however I do not no how to configure either version of grub to allow a dual boot. The Android installation either overwrites the boot loader with 0.97 or if told not to, it doesn't show up in 1.99. Installing Fedora overwrites with 1.99 but the Android installation is not detected.

I have never worked with GRub before and have not tried to edit the grub2.cfg file (I don't know exactly what to put in it).

Anybody willing to kind of walk me through it or give me some pointers? How can I manually add another entry in either bootloader (preferably GRub2) and direct it at the opposing OS? Thank you for your time.

Last edited by theupmost; 03-04-2012 at 05:09 AM.
Old 03-04-2012, 05:24 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,584

Rep: Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426
Read this - it is Ubuntu, but pretty generic. Look for the "sample entry for chainloading to another GRUB bootloader."
Old 03-04-2012, 08:46 AM   #3
LQ Newbie
Registered: Feb 2012
Location: Las Vegas, NV
Distribution: Ubuntu and Fedora
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you very much! Unfortunately, I wasn't able to get that to work. After doing the Fedora installation with Grub2, when I go to do the Android install, I only have 2 options for the grub1 bootloader, to install, or not to install. When I install, it only writes the bootloader to the MBR (/sda) instead of the partition (/sda3) which totally wipes out the grub2 bootloader.

I took an un-educated wack at manually creating an entry to the Android partition based off of the instructions in that article but I don't know how to get a UID for it and the "grub2-mkconfig -o /boot/grub2/grub.cfg" command says that I have invalid syntax and won't add the entry to the grub.cfg. I'm frustrated and tired of trying as of now. I will have to attempt again later today.
Old 03-04-2012, 10:02 AM   #4
Senior Member
Registered: Aug 2011
Posts: 1,077

Rep: Reputation: 43
It may be much easier to install grub (ver 1 or 0.97 or legacy) to mbr ie /sda and install grub2 to the partition like /sda1. Then edit /boot/grub/menu.lst file on sda3 to add following item to load grub2:

Title OS with grub2
root (hd0,0)
chainloader +1

The menu item should appear on booting and work. Note that the (hd0,0) means first disk, first partition.

Alternatively, you can install fedora with its bootloader to mbr (ie sda), and android without bootloader, then from a terminal in fedora give command as root or sudo: update-grub . This should find android installation and add it to its menu.

Last edited by rng; 03-04-2012 at 11:08 AM.


boot, dual, grub, loader

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub menu doesnt load at startup : dual boot : grub in the /boot partition jayesh.bhoot Linux - General 7 10-23-2010 03:58 AM
Grub stopping with dual HD dual boot arrangement CraigM Linux - Newbie 6 12-12-2007 11:17 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 10:56 AM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 03:38 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:29 AM.

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