PDA

View Full Version : [ubuntu] Three Operating Systems



daniel014
February 20th, 2009, 09:44 AM
Hi. I have Windows XP and Ubuntu on my laptop (120GB).

How do I set up a tri-boot to add Archlinux to the HDD and boot menu.

I would go into GPartEd on the Live CD and make a new partition for Archlinux, but I would like Ubuntu to take control of GRUB.

Thanks for your help.

caljohnsmith
February 20th, 2009, 03:14 PM
I've never installed Arch Linux, but I would assume there is some way you can specify where Grub gets installed to when you install Arch. If that is true, just specify to have Grub installed to the boot sector of the partition you are installing Arch to, which is usually done by telling the installer to install Grub to the same partition as the distro you are installing. Then you can boot Arch from Ubuntu's Grub menu by adding an entry in the menu.lst like:

title Arch Linux
root (hdX,Y)
chainloader +1
And of course replace (hdX,Y) with the Arch partition. Good luck and let me know how it goes.

lha
February 21st, 2009, 09:46 AM
Herman has made a nice page on Grub settings: http://users.bigpond.net.au/hermanzone/p15.htm#Operating_System_Entries_for_Multiple_Boot ing_More_Linux_Systems. It's a good read, shows you three ways to get what you want. Just make sure you don't overwrite Ubuntu's Grub with Arch's.

philuwa
February 21st, 2009, 09:56 AM
Good Day House! I'm new to Ubuntu, Can anyone send me materials aside the official Ubuntu Guide, I want to become a ubuntu professional. Thanks!

daniel014
February 22nd, 2009, 11:07 AM
caljohnsmith, in your post you said


title Arch Linux
root (hdX,Y)
chainloader +1

but according to this page http://users.bigpond.net.au/hermanzone/p15.htm#Operating_System_Entries_for_Multiple_Boot ing_More_Linux_Systems
the 'chainloader' is only for proprietry operating systems like Windows.

caljohnsmith
February 22nd, 2009, 02:11 PM
caljohnsmith, in your post you said


title Arch Linux
root (hdX,Y)
chainloader +1

but according to this page http://users.bigpond.net.au/hermanzone/p15.htm#Operating_System_Entries_for_Multiple_Boot ing_More_Linux_Systems
the 'chainloader' is only for proprietry operating systems like Windows.
I think you might have misread that page, because you can use "chainloader" to boot a Linux OS if you first install the Linux's OS boot loader (Grub/Lilo) to its partition boot sector. From that web page regarding using "chainloader" for a Linux partition:

In order for this to work, the IPL or stage1 file for a boot loader needs to be installed in the boot sector of the other operating system's partition. Normally, Linux Operating Systems don't have anything installed it their boot sectors unless we install it there ourselves. If the other Linux distro uses GRUB, you can install GRUB to it's partition boot sector at installation time, or after installation with some GRUB commands or with Super Grub Disc, Re-install GRUB with a GRUB shell.
And then Herman gives an example of chainloading a Linux distro with:

Here's an example of a typical chainloader booting command,

title Ubuntu Edgy Eft
root (hd0,5)
chainloader +1
Where: Edgy Eft is a Linux operating system on partition number 6, and it has GRUB or LiLo or some other boot loader installed in the first sector of the partition.
So yes, it is possible to use "chainloader" with a linux distro, you just have to install Grub/Lilo to the partition boot sector first like I mentioned in my previous post. :)