I’ve not quite done this before, so I wasn’t sure if the rules were the same or not. There have been times that I’ve relied on chroot to fix a dual-booted machine, but not to install an OS from a booted Operating System.
So, what I did was install Gentoo on a spare hard drive from my existing OS, Ubuntu. I used the same method that I would have had I used the minimal installer, which seems to be the only method that works, despite the graphical installer on the 2007.0 CD.
What prompted me to do this? I’ve missed the snappiness that I had with my Gentoo system before (this system, actually) and i wanted to try Gnome on Gentoo, as I’ve never done so. I did try the CD installer but it really messed things up big time, and the screen was nearly unusable on that super slow frame buffer driver that the Live CD used. So, surfing the net, etc, was unbearable while doing the install. Once installed, X was not working (apparently the video drivers aren’t even on the CD) and the system was full of unneeded packages. The only way that I’ve been able to quickly get a Gentoo system up and running was to do it from the command prompt, which was fine with me.
After finding a little tidbit in the Gentoo Alternate Install Doc regarding installing from another operating system. It turns out that if you have the normal toolchain required to compile code and the chroot tool, you’re in business.
This is a basic install so far, just to see if I remembered the right modules to compile into my kernel. I could have used Genkernel, but I wanted to go leaner than that. My old P-III doesn’t have SATA or SCSI, for example. So, I didn’t compile them in. I know that there’s still more to yank out, but I wanted to get it up and running first.
I chose to use the bootloader that I had installed already (which was actually on the drive I installed Gentoo to), so I added a stanza to my /boot/grub/menu.lst to include Gentoo and I was off.
Perhaps, I’ll update the news when I have more installed. I’m curious as to how much I can do in the chroot.