Hi Ed,

Gentoo is a bit of a different beast. The main thing is that, to my
knowledge, you won't be able to boot directly off of a Gentoo CD. At
least, I couldn't think of any way to do it -- trying to use the kernel
on the Gentoo CD for PowerPC lead to a freeze shortly after MMU
initialization.

What I did was create three partitions from Drive Setup:
- One 10 MB partition for the miBoot minimal system (boot loader,
essentially)
- One 256 MB partition (intended for swap space)
- One partition to take up the remaining volume space (in my case,
roughly 5.1 GB)

Then, I installed miBoot on the 10 MB partition along with the latest
nubus-pmac 2.4 kernel, and configured it to boot off of /dev/hda2.

Next, I installed a minimal Debian system (essentially, just enough to
boot and run useful commands without any of the additional packages
typically installed during Debian setup) on the 256 MB partition. I used
that to format the 5.1 GB partition, and then followed the Gentoo
handbook steps for installing from a Stage3 tarball. I performed all of
the necessary steps to prepare the Gentoo partition before chrooting
into it, finalizing the install, and rebooting into it.

NOTE: I was unable to use the latest Gentoo tarballs/CD (2007.1 I
believe it was at the time), as the tools and libstdc in the stage3
archive were compiled to use the NPTL thread model of kernel 2.6. When I
tried that release, the chroot into the Gentoo partition failed with
"Kernel too old". I ended up using 2004.3 or 2005.1 I believe, but since
portage was seriously out-of-date in that release, I had to unpack the
newest portage after unpacking the stage3. After that, the "emerge
--sync" worked and I was able to upgrade the system to the latest
versions of all system components; YMMV. You will need to ensure you use
a "no-nptl" profile; I can send you mine if you'd like. 

After all that, I formatted the Debian partition as swap. You're going
to need to download the nubus-pmac sources and unpack them to a new
folder under /usr/src, symlink /usr/src/linux to it, and add
"vanilla-sources-2.4" to the package.provided file so that portage knows
about them. Until we can sort out why we're unable to use the nubus-pmac
kernel sources to make a usable kernel with the latest sources, you
won't actually be able to build a new kernel image. I think you'll still
need to do "make nubus_defconfig" at the source root so that packages
that read the kernel source config know what options are enabled in the
running kernel.

--Guy Paddock
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ed
Stafford
Sent: Tuesday, October 23, 2007 9:10 AM
To: For users of Linux on NuBus PowerMacs
Subject: Re: [Nubus-pmac-users] PB 1400 and kernel mods

Thanks!  Should be a big help!

On 10/22/07, Toby Dylan Hocking <[EMAIL PROTECTED]> wrote:
> Hi Ed,
>
> I wrote up a install procedure for Debian on my 1400 a while back:
>
> http://www.ocf.berkeley.edu/~tdhock/pb1400/pb1400-debian.pdf
>
> It should be a good start for you at least. Just substitute your
Gentoo CD
> for my Debian CD.
>
> Sincerely,
> Toby Dylan Hocking
> http://www.ocf.berkeley.edu/~tdhock
>
> On Mon, 22 Oct 2007, Ed Stafford wrote:
>
> > Hey folks,
> >
> > I finally got around to getting a replacement A/C adapter for my
> > PB1400cs/117.  I used to have Red Hat 6.1 running on it, but I've
> > gotten bitten by the Gentoo bug lately and am installing it on
> > everything I get my mitts on.
> >
> > Anyhow, it sounds like there's been some success on that front, so
I'd
> > really appreciate it if someone could provide a good walk-through on
> > how you got it to install.
> >
> > Secondly, I was wondering if there's any place I could pick up the
> > latest kernel patches for all the NuBus mods.  I'd like to see what
> > has transpired since the old MkLinux days...  Thanks a lot, folks!
> >
> > Ed
> >
> >
------------------------------------------------------------------------
-
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a
browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Nubus-pmac-users mailing list
> > Nubus-pmac-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users
> >
>
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Nubus-pmac-users mailing list
> Nubus-pmac-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users
>

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users

Reply via email to