LinuxQuestions.org
Review your favorite Linux distribution.
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 05-24-2012, 11:24 AM   #1
edj1963
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Rep: Reputation: 0
Dual boot /triple boot


Hello all,

I am very much a noob and am in need of some help.
My goal: triple boot my laptop with ubuntu 12.04/Fedora 16/centos6

I am pretty sure i have already jacked this up, I thought I was proceeding correctly but i think my inexperience has got the better of me.

I installed ubuntu no fuss no muss, well except my LT only runs on BAT
I then ran the Centos live DVD, resized my partion, installed and foolishly believed that on reboot I'd have my option in grub...nope all I get is Ubuntu...centos is no where to be found and I don't have a clue as to where to go.

here is the output for update grub:
Code:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-24-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-24-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
done
and the output for fdisk:
Code:
Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 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: 0x0002e90a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    12290047     6144000   83  Linux
/dev/sda2       237492222   250068991     6288385    5  Extended
/dev/sda3        12290048    13314047      512000   83  Linux
/dev/sda4        13314048   237490175   112088064   8e  Linux LVM
/dev/sda5       237492224   250068991     6288384   82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/mapper/cryptswap1: 6439 MB, 6439305216 bytes
255 heads, 63 sectors/track, 782 cylinders, total 12576768 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: 0x71289498

Disk /dev/mapper/cryptswap1 doesn't contain a valid partition table
lost

Thank you.
 
Old 05-24-2012, 11:48 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
What does your grub.cfg or menu.lst (don't know which Ubuntu uses) look like?
 
Old 05-24-2012, 03:08 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
The most useful information you could get to post here would be by running the bootinfoscript. Download from the site at the link below and run it after reading the instructions:

http://sourceforge.net/projects/bootinfoscript/
 
Old 05-24-2012, 10:41 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,183

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
My earnest suggestion to you is ... virtual machines.
 
Old 05-25-2012, 01:25 AM   #5
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
U can achieve ur thing with ease by opensource virtualbox.



Try using these link

http://www.howtoforge.com/installing...u-9.04-desktop

https://www.virtualbox.org/
http://www.vmware.com/
 
Old 05-25-2012, 03:45 AM   #6
edj1963
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
yeah, I get the VM choice and have it installed. It's (managing the sys) is still a skill I need to develop and be comfortable with.
 
Old 05-25-2012, 04:23 AM   #7
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by sundialsvcs View Post
My earnest suggestion to you is ... virtual machines.
This still will not solve OP's problem, it maybe a work around.
 
Old 05-25-2012, 04:31 AM   #8
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
as yancek says or use your ubuntu as a live cd and from terminal run

sudo update-grub
 
Old 05-25-2012, 05:42 AM   #9
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by edj1963 View Post
My goal: triple boot my laptop with ubuntu 12.04/Fedora 16/centos6
I have been multi booting several Linux distros with or without Windows for several years now. Here is how I would do this:

1. Install Ubuntu to a 20GB root partition. You will choose manual partitioning from the Ubuntu installer. Also create a 20GB partition for the Fedora root partition and another 20GB partition for Centos root partition. (You could use as little as 10GB for each distros root partition if you are using a small hard drive).
2. Create a 1GB swap partition while you are installing Ubuntu.
3. Use the rest of the hard drive for a /data partition when you install Ubuntu. This will be for all of your data that all 3 distros will share. This is to avoid all of the hidden config files that are stored in your home directories from getting all mixed up together in a common home partition. This could potentially cause conflicts.
4. Install Ubuntu's grub to the MBR.
5. Then install Fedora and Centos to their respective partitions. When you get to the part where you install grub on Fedora and Centos, either choose to not install grub or install grub to the root directory of each distro. This way Ubuntu's grub will control the MBR. When installing Fedora and Centos be sure to select the partition for your /data partition as mount point /data. All 3 distros will share the /data partition for storing and accessing files.
6. After all 3 distros are installed, run sudo update-grub from Ubuntu and (hopefully!!!) Fedora and Centos will be added to Ubuntu's grub menu so you can choose which OS to boot when you boot up the computer.

I have been multi booting several Linux distros for many years using this method and I have never had a problem with it.

Last edited by tommcd; 05-25-2012 at 05:47 AM.
 
Old 05-25-2012, 10:14 AM   #10
edj1963
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
@Yancek That's a great utility, it will help immensely in the learning process, thank you.

@TOMMCD: Perfect! A real starting point that's going to be invaluable to my learning this bit. I went and got gparted to help in this, I would rather have the skill to do this without a GUI, but that will happen in time I suppose.

Learning by breaking!

Thanks for all the responses, guess what I'll be doing this weekend
 
Old 05-26-2012, 02:29 AM   #11
kehawes
LQ Newbie
 
Registered: May 2012
Location: Varies, mostly USA
Distribution: Ubuntu 12.04, Fedora 16, Debian, Centos
Posts: 1

Rep: Reputation: Disabled
How to "Install Ubuntu's grub to the MBR"

@tommcd, thanks for such a great reply/post!

I'm a complete noob too and am, curiously enough, trying to do the same thing... plus adding Debian to the mix, on a 500GB HDD. Yes, I'm going for a quad-boot setup.

You lost me with:
4. Install Ubuntu's grub to the MBR.

How is this done?

I've been able to get Ubuntu and Fedora to play nicely together, more or less, after a few rounds/installations; beginning with Ubuntu, then Fedora, and lastly Ubuntu once more. Debian was a brute, ignoring the Ubuntu/Fedora combo completely and taking over the full HDD on installation. With Debian on board, Centos wouldn't play at all after three tries; giving me error messages, mostly along the lines of, "panic occurred, switching to text console."

Ideally, I'd like to tinker with all four OS installations, to see/compare/learn... and I have much to learn! I'll settle for the Ubuntu/Fedora combo but am now determined to figure out this multi-boot, Pandora's box I've opened. I'm reading a lot on GRUB, MBR, gparted tutorials, etc... so any amount of detail is very much appreciated!

Thanks!
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple Boot or Dual with Fedora, no CD boot muckybucket Linux - Newbie 17 06-04-2010 10:59 AM
GRUB2 - FreeBSD-8.0 does not show up in triple boot menu, dual boot menu it does.. wiliweld *BSD 7 05-03-2010 02:05 PM
Dual - Triple Boot OS? pepperwood Linux - Software 2 11-29-2007 01:04 AM
First dual boot, now triple! diablo_ Slackware 3 12-10-2006 06:06 PM
from dual boot to triple and quadruple boot theory_prof Linux - Newbie 10 10-06-2005 02:28 PM


All times are GMT -5. The time now is 08:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration