LinuxQuestions.org
Help answer threads with 0 replies.
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 02-27-2006, 08:28 PM   #1
cheetahman
Member
 
Registered: Feb 2005
Distribution: SuSE Linux 10/Windows XP
Posts: 208

Rep: Reputation: 30
Installing Gentoo 2006.0 In Triboot


I have a dualboot with Windows XP and SuSE Linux 10 and I was wondering if antother entry can added to the MBR or if Gentoo can be installed on the Gentoo Partition
 
Old 02-27-2006, 08:31 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You can add as many entries as you want to a bootloader (well I'm sure there is a restriction, but you can certainly add at least 10...).

Gentoo CAN be installed to a partition you've created for it's installation. However, you will hit a brick wall when you go to boot it. You need the kernel's all in one location, that may be a seperate /boot partition, or a copy of all your kernels in 1 of your distro's /boot directory (the one that holds the lilo.conf or grub.conf you'll be using as the default).

HTH

Cool
 
Old 02-27-2006, 08:54 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,491

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Quote:
Originally Posted by MasterC
However, you will hit a brick wall when you go to boot it. You need the kernel's all in one location, that may be a seperate /boot partition, or a copy of all your kernels in 1 of your distro's /boot directory (the one that holds the lilo.conf or grub.conf you'll be using as the default).
Not true.
Just use specific pathing in the grub stanza.
 
Old 02-27-2006, 08:57 PM   #4
cheetahman
Member
 
Registered: Feb 2005
Distribution: SuSE Linux 10/Windows XP
Posts: 208

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by MasterC
You can add as many entries as you want to a bootloader (well I'm sure there is a restriction, but you can certainly add at least 10...).

Gentoo CAN be installed to a partition you've created for it's installation. However, you will hit a brick wall when you go to boot it. You need the kernel's all in one location, that may be a seperate /boot partition, or a copy of all your kernels in 1 of your distro's /boot directory (the one that holds the lilo.conf or grub.conf you'll be using as the default).

HTH

Cool
Currently my bootloader is GRUB and the Gentoo kernels are you refering to could I place them in the Gentoo Partition seperate from SuSE and Windows then add the Gentoo Line to the SuSE GRUB bootloader.
 
Old 02-27-2006, 08:58 PM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
+1 for grub! I didn't know that. So I guess I posted a half truth With Lilo, that is true. Thanks for the update!

Cool
 
Old 02-27-2006, 09:13 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,491

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Quote:
Originally Posted by cheetahman
Currently my bootloader is GRUB and the Gentoo kernels are you refering to could I place them in the Gentoo Partition seperate from SuSE and Windows then add the Gentoo Line to the SuSE GRUB bootloader.
Yes - just add (hd?,?) to the kernel (and initrd if you use genkernel) line.
 
Old 02-27-2006, 11:21 PM   #7
cheetahman
Member
 
Registered: Feb 2005
Distribution: SuSE Linux 10/Windows XP
Posts: 208

Original Poster
Rep: Reputation: 30
SuSE uses GRUB and these three ones grub.conf,menu.lst and device.map both of which are very out of date since I have SuSE 10 and Windows XP has been reinstalled.

I'll just have to resize my SuSE parition put the kernel images in /home which is on the SuSE partition correct and can you give me an example of a Gentoo Entry and I am going to install It using the new live cd.

Menu.lst

# Modified by YaST2. Last modification on Thu Jul 21 22:28:40 EDT 2005

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.3
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 vga=0x314 selinux=0 splash=silent resume=/dev/hda5 showopts
initrd (hd0,5)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,1)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
root (fd0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.3
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd0,5)/boot/initrd


grub.conf

setup --stage2=/boot/grub/stage2 (hd0) (hd0,5)
quit


device.map

(fd0) /dev/fd0
(hd0) /dev/hda
 
Old 02-28-2006, 03:26 AM   #8
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
You simply install Gentoo on a separate partition, conf the Gentoo's /etc/fstab to use the existing swap partition (no need to create a new one). No need for separate boot partition either. Just put all gentoos files on same partition.

If I remember correctly, you only need to put this kind of line to grub:
title Gentoo
root (hd0,2) #wherever you installed gentoo
chainloader +1 #loads the Gentoo from it's partition
 
Old 02-28-2006, 07:59 PM   #9
cheetahman
Member
 
Registered: Feb 2005
Distribution: SuSE Linux 10/Windows XP
Posts: 208

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Zmyrgel
You simply install Gentoo on a separate partition, conf the Gentoo's /etc/fstab to use the existing swap partition (no need to create a new one). No need for separate boot partition either. Just put all gentoos files on same partition.

If I remember correctly, you only need to put this kind of line to grub:
title Gentoo
root (hd0,2) #wherever you installed gentoo
chainloader +1 #loads the Gentoo from it's partition
Wouldn't Gentoo detect the swap and I'll I have to do is resize my suse parition since its in the extended and ext3 with QTParted and what do you mean by on same parition why not put them on SuSE /boot
 
Old 03-01-2006, 02:55 AM   #10
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
Quote:
Originally Posted by cheetahman
Wouldn't Gentoo detect the swap and I'll I have to do is resize my suse parition since its in the extended and ext3 with QTParted and what do you mean by on same parition why not put them on SuSE /boot
I think all you need to do is start using the existing swap partiotion "swapon /dev/hda4/" as far as I know, gentoo doesn't do any detections. Though I heard the new 2006.0 LiveCD features graphical installer but I haven't yet tested that one.

And then make some room for gentoo in your hard disk. Then you could install all your gentoo files on a one gentoo specific partition. No need to mix with SuSE. Keeps things tidy.

You can even skip emerging of grub as you can use your SuSE's grub to load up the gentoo as I pointed before. Just make sure the paths are correct in the grub.conf file.
 
Old 03-01-2006, 03:13 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,491

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
I too haven't used the GUI installer on Gentoo.

However, if you are expecting everything "automagically" done for you like some other distros, I suspect Gentoo really isn't for you.
 
Old 03-01-2006, 04:56 PM   #12
cheetahman
Member
 
Registered: Feb 2005
Distribution: SuSE Linux 10/Windows XP
Posts: 208

Original Poster
Rep: Reputation: 30
Yes I am using the Gentoo 2006 Live cd to install
 
Old 03-02-2006, 03:14 AM   #13
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
Yep, just finished testing the new 2006.0 liveCD and it wasn't nice. I couldn't get connected to internet at all. Luckily the older 2005.1 universal CD works as it should. I just installed Gentoo beside my Slamd64 installation and WinXP and it works as it should. Took little below 10 hours to emerge kde-meta Long process.
 
Old 03-02-2006, 05:01 PM   #14
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
Quote:
Originally Posted by MasterC
+1 for grub! I didn't know that. So I guess I posted a half truth With Lilo, that is true. Thanks for the update!

Cool
With lilo you can put kernels anywhere also.

I triple boot linux machines with lilo (also win xp).
 
Old 03-05-2006, 04:07 AM   #15
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally Posted by Randux
With lilo you can put kernels anywhere also.

I triple boot linux machines with lilo (also win xp).
AFAIK, Lilo doesn't use device options in the image loading section. So, unless there is something really fancy going on, I'd like to know how you do that. I'm reading your response to mean that you have kernels in different /boot directories on different partitions and lilo somehow sees them. If this is what you mean, could you post up your lilo.conf(s), disk structure (hda1, hda2, hdb1...), filesystem layout on those structures (where's windows, /dev/hda1 has Debian, hdb2 has Gentoo...) and lilo version, I'd be happy to learn more about this.

Thanks!

Cool
 
  


Reply

Tags
lilo, liloconf, multiboot


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
DISCUSSION: How To Triboot A Computer XavierP LinuxAnswers Discussion 14 10-02-2009 03:36 PM
LXer: Release Announcement: Gentoo Linux 2006.0 LXer Syndicated Linux News 0 02-26-2006 08:01 PM
Triboot Questions cheetahman Linux - Newbie 1 11-17-2005 09:03 PM
Triboot Setup Help cheetahman Linux - Newbie 11 09-13-2005 04:01 PM
Triboot system problems Torizo Linux - Newbie 1 03-15-2004 06:13 PM


All times are GMT -5. The time now is 08:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration