LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 07-09-2012, 12:53 AM   #1
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
Installing Gentoo from other linux (Debian)


I have installed Debian (dual-boot with XP).
Also I have one free partition and I thinking about how to install Gentoo at this free partition. As far as I know it's possible to install Gentoo from other linux.
But I'm not sure how to use my free space.
Should I create /boot and / partitions for Gentoo?
Or can I use existing grub installation and create only root / for Gentoo?
Currently I haven't separate boot partition for my Debian:

Code:
/dev/sda1 WinXP
/dev/sda2 File Storage Partition
/dev/sda5 swap (used by Debian)
/dev/sda6 free space
/dev/sda7 Debian root /
Also I'm not sure about swap: can I use existing sda5 swap for Gentoo as well as for Debian?

Thanks.
 
Old 07-09-2012, 08:47 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Also I'm not sure about swap: can I use existing sda5 swap for Gentoo as well as for Debian?
Yes, you can use the same swap partition for both Debain and Gentoo.

Separating /boot and / or having them on the same partition is your choice. It will run either way. I know some people recommend the separation, I have never done that.

How about your /home directory? I would separate it to a separate partition. When you re-install, you will not have to move all your user data if /home is on its own partition. If it is on the same partition as /, then re-installation is much more work.
 
Old 07-09-2012, 09:36 AM   #3
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Original Poster
Rep: Reputation: 142Reputation: 142
Thanks for reply!
Yes, I done one partition (/ only, without /boot). Also I never made separate /home.

So I walking through installation process and now I have kernel and initramfs built. Just one warning about /boot mount point. I think it could be solved later (or I'm wrong?).
Now I stopped at handbook chapter "7.e. Kernel Modules".
Find command shows a lot of built kernel modules and I'm not sure which of them I need to include into /etc/conf.d/modules file
 
Old 07-09-2012, 09:51 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Sorry, I have no experience with a Gentoo install.

Best of luck with it.
 
Old 07-09-2012, 10:36 AM   #5
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Original Poster
Rep: Reputation: 142Reputation: 142
OK, thanks!
 
Old 07-10-2012, 02:52 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
You shouldn't need to worry much about kernel modules nowadays. If you need, then you will notice

About Grub, well, it lives in your MBR usually, so you don't need to install it again, but you will need to know how it works and setup it correctly so it can find the kernels for all your distros. Sharing /boot can sometimes help with that. I find that kind of setup easier to maintain myself, but I guess it's a matter of personal preference.

Sharing /home is not difficult if you plan to use two non-matching user accounts, one for each distro. Using the same $HOME with the same UID is another matter, because different program versions will break the config files every once in a while. That's specially true if you will be using two different kde versions (even if only slightly different) across distros.
 
Old 07-12-2012, 11:49 AM   #7
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Original Poster
Rep: Reputation: 142Reputation: 142
OK, I have the base system installed and GRUB loading my system properly. I added new menuentry to GRUB menu manually and it works fine.
Now I'm ready to install x-server and desktop. But it is other topic.
 
  


Reply



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
Dual boot Debian and Gentoo - need to install Gentoo ZebraIzToronto Gentoo 2 02-08-2011 11:25 AM
KANOTIX , walkthough for installing gentoo portage & emerge on debian pure sid MaximalSbcYahoo Debian 2 04-01-2006 04:10 PM
How do I start installing stage 3 of gentoo from universal gentoo 2005-1? kazuya1977 Linux - General 1 11-11-2005 10:30 AM
Installing Gentoo Linux LiveCD happyman Linux - Distributions 2 04-14-2004 12:07 AM
Installing Gentoo Linux raid517 Linux - Newbie 4 06-18-2003 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 02:40 AM.

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