LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-04-2008, 12:13 PM   #16
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Rep: Reputation: 46

jay73

So when your computer starts you could freely choice Ubuntu, Debian, Fedora 9, FreeBSD7 or XP.

Is the above correct?
 
Old 09-04-2008, 03:40 PM   #17
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by Gins View Post
jay73

Did you connect Mandriva, FC8,open SUSE,Ubuntu,Debian and Windows XP sucessfully?

I gave up FC8. Some people in Fedora forum in vain helped me.

They ran out of ideas and I gave up.
I have all but Mandriva succesfully running on this PC.

I have Windows on one HDD (although this is not necessary) and all other distros on another HDD. On the second HDD, I have a small partition sdb1 that has grub and basically nothing else. On each linux partition I put a local version of grub and then simple chainload to this from the "main" grub.

The advantage of this is that when I install new kernels, the installer will generally update its "own" grub (ie local menu.lst/grub.conf) but not the version installed by another distro.

Note that OpenSuSe will cause a few problems because by default, grub-install will write to the drive's MBR, not just install grub on the loca partition (even if you specify this for grub-install). From memory, a simple edit to OpenSuSe's grub-install script fixed the problem.

Fedora caused all sorts of issues, but only F9, not F8. It was all to do with anaconda trying to make the Fedora partition bootable. Managed to get it working in the end.

Start a new thread if you want to get this setup up and running.
 
Old 09-04-2008, 04:35 PM   #18
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I've never installed a Linux distro which I could not add to the GRUB configuration---I don't even use the chainloader method.

I now make soft links in /boot such that my kernel and initrd files always have the same name. I never use a separate /boot partition. Thus, all my menu.lst entries look like this:

title somedistro
root (hdX,Y)
kernel /boot/vmlinuz root=/dev/sdWV ro
initrd /boot/initrd

W,V,X,Y Decoder:
sda1 hd0,0
sda2 hd0,1
sdb1 hd1,0
.
.
etc.

All I ever have to remember is:
which partition goes with which distro
which menu.lst to use (because GRUB is hard-coded to point to a particular partition)
 
Old 09-04-2008, 04:42 PM   #19
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Quote:
So when your computer starts you could freely choice Ubuntu, Debian, Fedora 9, FreeBSD7 or XP.
Yes, correct. You just need to be careful when an installer reaches the stage where it suggests installing GRUB. By default, it will install it to the MBR but that option can be overridden. Unfortunately, some distros have a tendency to hide this away from the user so you may need to look a bit closer. Here is part of my Ubuntu menu.lst (Ubuntu has its GRUB on the MBR) to show what it looks like:
Quote:
title Windows XP Professional x64 Edition
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

title Fedora 9 x86_64
root (hd3,1)
chainloader +1

title CentOS 5.2 i386
root (hd4,2)
chainloader +1

Last edited by jay73; 09-04-2008 at 04:44 PM.
 
Old 09-04-2008, 04:52 PM   #20
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
Gins I have 10 now going for 11 soon as I can get it downloaded. I chainload mine also with grub. That is the easiest (chainloading) especially if you are going to be changing distros. The only one that gave me a little trouble was puppy but once I understood it was no problem.
 
Old 09-04-2008, 05:26 PM   #21
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by pixellany View Post
I've never installed a Linux distro which I could not add to the GRUB configuration---I don't even use the chainloader method.

I now make soft links in /boot such that my kernel and initrd files always have the same name. I never use a separate /boot partition.
Interesting - I used to do the same thing, but found it a pain having to change symlinks every time I installed a new kernel (which can be pretty frequent with distros like Fedora).

I guess it's just a preference issue.
 
Old 09-04-2008, 07:15 PM   #22
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Chainloading:
Install GRUB in partition
Edit main menu.lst
Edit local menu.lst

Direct:
make 2 symlinks in /boot
Edit main menu.lst

Seems like it might be the same number of keystrokes.....also, I would find it annoying to have 2 GRUB menus pop up (but I guess that can be avoided.)
 
Old 09-04-2008, 07:25 PM   #23
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
Delete distro and install new with grub in /. Edit menu.lst timeout to 1 sec. Try and remember which one you replaced the next time you reboot or edit title on first boot menu.lst.
 
Old 09-05-2008, 07:18 AM   #24
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,861
Blog Entries: 51

Rep: Reputation: Disabled
I've done all my multibooting from Slackware's lilo. Just install whatever added distros bootloader in its partition, and add to lilo.conf:
Code:
other = /dev/hdan or sdan
  label = distroname
Then run lilo.
Easy.
 
Old 09-05-2008, 11:08 AM   #25
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Doesn't lilo need to be updated manuallly after a kernel update?
 
Old 09-05-2008, 12:01 PM   #26
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,861
Blog Entries: 51

Rep: Reputation: Disabled
Yeah. I mentioned running lilo after editing lilo.conf.
Oops, another case of me not reading previous post properly before replying
Huh, probably...

Last edited by brianL; 09-05-2008 at 12:07 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Three OSes - Is it possible? Jongi Linux - General 9 05-20-2005 12:21 PM
Organized Install/Boot of Multiple Linux OSes bardanes Linux - Software 5 10-24-2004 05:15 AM
Multiple OSes Solaris, BSD Linux sovietpower Linux - Newbie 6 09-25-2004 05:57 PM
Different OSes SnowSurfAir Linux - Software 10 04-17-2004 10:42 PM
Sharing printers over multiple OSes mopron Linux - General 0 05-07-2002 09:03 PM


All times are GMT -5. The time now is 09:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration