LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing Gentoo 2006.0 In Triboot (https://www.linuxquestions.org/questions/linux-newbie-8/installing-gentoo-2006-0-in-triboot-420172/)

cheetahman 02-27-2006 07:28 PM

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

MasterC 02-27-2006 07:31 PM

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

syg00 02-27-2006 07:54 PM

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.

cheetahman 02-27-2006 07:57 PM

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.

MasterC 02-27-2006 07:58 PM

+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

syg00 02-27-2006 08:13 PM

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.

cheetahman 02-27-2006 10:21 PM

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

Zmyrgel 02-28-2006 02:26 AM

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

cheetahman 02-28-2006 06:59 PM

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

Zmyrgel 03-01-2006 01:55 AM

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.

syg00 03-01-2006 02:13 AM

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.

cheetahman 03-01-2006 03:56 PM

Yes I am using the Gentoo 2006 Live cd to install

Zmyrgel 03-02-2006 02:14 AM

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.

Randux 03-02-2006 04:01 PM

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).

MasterC 03-05-2006 03:07 AM

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


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