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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-24-2012, 10:24 AM
|
#1
|
LQ Newbie
Registered: Sep 2010
Posts: 5
Rep:
|
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.
|
|
|
05-24-2012, 10:48 AM
|
#2
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
What does your grub.cfg or menu.lst (don't know which Ubuntu uses) look like?
|
|
|
05-24-2012, 02:08 PM
|
#3
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,845
|
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/
|
|
|
05-24-2012, 09:41 PM
|
#4
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,861
|
My earnest suggestion to you is ... virtual machines.
|
|
|
05-25-2012, 12:25 AM
|
#5
|
Member
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Rep:
|
|
|
|
05-25-2012, 02:45 AM
|
#6
|
LQ Newbie
Registered: Sep 2010
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
05-25-2012, 03:23 AM
|
#7
|
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
|
Quote:
Originally Posted by sundialsvcs
My earnest suggestion to you is ... virtual machines.
|
This still will not solve OP's problem, it maybe a work around.
|
|
|
05-25-2012, 03:31 AM
|
#8
|
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
|
as yancek says or use your ubuntu as a live cd and from terminal run
sudo update-grub
|
|
|
05-25-2012, 04:42 AM
|
#9
|
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230
|
Quote:
Originally Posted by edj1963
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 04:47 AM.
|
|
|
05-25-2012, 09:14 AM
|
#10
|
LQ Newbie
Registered: Sep 2010
Posts: 5
Original Poster
Rep:
|
@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
|
|
|
05-26-2012, 01:29 AM
|
#11
|
LQ Newbie
Registered: May 2012
Location: Varies, mostly USA
Distribution: Ubuntu 12.04, Fedora 16, Debian, Centos
Posts: 1
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 06:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|