LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-03-2006, 09:20 AM   #1
brian15
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Rep: Reputation: 0
dual instances of linux


is it possible to install two different versions of linux at the same time? i tried not realizing that they are both dependant on the "/" folder. i want to boot windows xp, ubuntu, and mandriva, i have the first 2 installed already
 
Old 08-03-2006, 09:22 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yes of course you can have two (or more) distributions installed. They should each have their own partition(s).
 
Old 08-03-2006, 09:25 AM   #3
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
you can have grub as a loader for that. search google for 'grub howto' for more info.
 
Old 08-03-2006, 09:27 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Yes. Probably the best way would be to put each OS on its own hard drive. However, most people (including myself) put each OS on its own partition. If you don't have a "spare" partition laying around on your hard drive, you need to repartition or install a second drive.

I have no experience with installing Mandriva, but I'll assume there is a step in the installation where the hard drive is partitioned. Choose to do this manually and select your new partition for the Mandriva /. You can use the same swap space as Ubuntu. Sharing /home, /boot, and other things is possible too, but a little trickier.
 
Old 08-03-2006, 09:27 AM   #5
brian15
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
so it's completely fine that both partitions are called "/"
 
Old 08-03-2006, 09:29 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Your root partition for, say Mandriva won't be mounted on / in Ubuntu. Both distros will have their own root (/) partition, but if you want to access the files from one distro in the other, that partition will be mounted somewhere else.
 
Old 08-03-2006, 09:31 AM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Yes. When you use Ubuntu, it won't mount the Mandriva partition and vice versa. Therefore, there will only be one / that each distro "sees."

Edit: Nylex beats me to the punch again!
 
Old 08-03-2006, 10:12 AM   #8
brian15
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
everyone thanks for your help, now i am at the screen where it asks me to choose a boot device, do i chose the partition that i wrote monandriva on? here are the options

/dev/hda (windows xp)
/dev/hda5 (ubuntu)
/dev/hda6 (linux swap)
/dev/hda7(now mandriva)xp
 
Old 08-03-2006, 10:19 AM   #9
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by brian15
everyone thanks for your help, now i am at the screen where it asks me to choose a boot device, do i chose the partition that i wrote monandriva on? here are the options

/dev/hda (windows xp)
/dev/hda5 (ubuntu)
/dev/hda6 (linux swap)
/dev/hda7(now mandriva)xp
I'm not sure I understand your question. Are you in the middle of the Mandriva installation and it is asking you where you want to install it? If so, then choose /dev/hda7.

Or have you already installed Mandriva and you are at a menu asking which OS you want to boot? From what you've posted, this is the impression I get.
 
Old 08-03-2006, 10:25 AM   #10
brian15
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
well i am at the part where it has already copied the cd content to the harddrive partition. it asked me to choose a boot manager and i chose grub but now it's asking to choose a boot device
 
Old 08-03-2006, 10:54 AM   #11
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
It sounds like it's asking you where you want to install the boot loader (GRUB). Does the installer say something like "Where do want to install the bootloader?" And does it give you choice like the first sector of the drive, Master Boot Record, or MBR?

If that's where you're at, I would pick the MBR which is probably the first choice in the list you provided. If not, I would you to clarify exactly where you are.
 
Old 08-03-2006, 12:57 PM   #12
brian15
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
thats that worked but when i reboot my pc, ubuntu isn't on the grub boot options anymore, i then tried reinstalling ubuntu but after doing this Mandriva isn't on the Grub boot list
 
Old 08-03-2006, 01:28 PM   #13
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,119

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Mandriva generally uses lilo as the boot manager, ubuntu uses grub.
This can be a PITA.

The solution is to find out which partitions your different distros are on, then modify the grub.lst file or lilo.conf (depending on which you have ended up with) to add a section to make the other distro known to the boot manager.

Oh, and please make sure you are not installing the different distros to the same partition! You can only have one distro per partition, and then whichever partition gets mounted on / runs the distro that is on that partition.
You can list your partitions with the fdisk -l command (and that is minus-ell, not minus-one)

HTH

Last edited by tredegar; 08-03-2006 at 01:30 PM.
 
Old 08-03-2006, 02:01 PM   #14
brian15
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
thanks, i am installing them on different partitions, how do i edit the grub.lst, where would it generally be located
 
Old 08-03-2006, 04:09 PM   #15
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
It is found at /boot/grub/menu.lst.
Code:
 # nano -w /boot/grub/menu.lst
Look at the other Linux distro entry in this file as a guide. You'll have to edit this as root. Here is the manual for GRUB that you can use as a reference. Here is an example of my menu.lst.
Code:
# Default kernel is the first Fedora Core 5 kernel in the
# list below.
default=2

# Give me 30 seconds to make a choice before booting the
# default kernel.
timeout=30

# Use a pretty picture for the boot selection menu
# background.
splashimage=(hd0,0)/grub/scientific_splash.xpm.gz

#-------------------------------------------------------#
# Following are the Fedora Core 5 kernels on this       #
# machine.  The Fedora Core 5 installation is on hda5.  #
#-------------------------------------------------------#
title ___________________________________________________
root
title Fedora Core Kernels
root

title Fedora Core 5.0 (2.6.17-1.2145_FC5)
        root (hd0,0)
        kernel /vmlinuz-2.6.17-1.2145_FC5 ro root=/dev/hda5
        initrd /initrd-2.6.17-1.2145_FC5.img

title Fedora Core 5.0 (2.6.17-1.2139_FC5)
        root (hd0,0)
        kernel /vmlinuz-2.6.17-1.2139_FC5 ro root=/dev/hda5
        initrd /initrd-2.6.17-1.2139_FC5.img
        savedefault 2

#-------------------------------------------------------#
# Following are the Gentoo 2006.1 kernels on this       #
# machine.  The Gentoo installation is on hda7.         #
#-------------------------------------------------------#
title ___________________________________________________
root
title Gentoo Kernels
root

title Gentoo 2006.0 (2.6.16-DAR-6 nVidia)
        root (hd0,0)
        kernel /gentoo/gentoo-2.6.16-DAR-6 ro root=/dev/hda7
        savedefault 2

title Gentoo 2006.0 (2.6.16-DAR-7 nVidia)
        root (hd0,0)
        kernel /gentoo/gentoo-2.6.16-DAR-7 ro root=/dev/hda7
        savedefault 2
 
  


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
New instances of X? nagromo Linux - Software 2 04-16-2005 02:42 AM
why are there two instances of the kernel? denning Slackware 9 02-06-2005 11:19 AM
Two instances of Firefox? subnet_rx Linux - Software 3 07-17-2004 02:51 PM
2 instances of same printer fredws Mandriva 4 08-26-2003 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:09 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
Open Source Consulting | Domain Registration