Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quick Howto install - Beige G3 OldWorld Mac
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Elsifer
n00b
n00b


Joined: 06 Jun 2002
Posts: 10

PostPosted: Tue Jan 13, 2004 6:17 am    Post subject: Quick Howto install - Beige G3 OldWorld Mac Reply with quote

First off, some background info.
Beige G3 233mhz, 512mb Ram, 10gb IDE HD, stock 24x ide cdrom, integrated 10BaseT nic
Some linux knowledge, an understanding of Gentoo, and some patience to read, think, digest, and repeat! ;)

Unsure of OpenFirmware rev, will have to boot into OS9 to see. No big deal, didnt use Quik, quite happy with BootX.

Here are the detailed steps, all taken from the gentoo forums. All my searching streamlined into this doc

#1 - Reinstall os8 or 9 (MacOS) into the smallest hfs partition possible (Mine is 1Gb, I am ok with 9Gb left, you may not be, keep trying, there are other posts here that say about 200mb!)

#2 - Install bootx from -> http://penguinppc.org/projects/bootx/

#3 - Copy the extension file (read the FAQ, and reboot, and click MacOS once booting begins)

#4 - Copy the "Linux Kernels" folder (from the desktop BootX folder)to your System Folder on the MacOS disk

#5 copy the kernel from the livecd (vmlinux) and the initrd file (initrd.img.gz) to my 'Linux Kernels' directory; rename the vmlinux file to vmlinux-livecd

{BootX Config}

I then set BootX to use 'vmlinux-livecd' as the kernel. In the options window I set the copied 'initrd.img.gz' as the initrd image (In your fancy Linux Kernels folder) and set the initrd ram size to '11000'.
I also passed the following arguments to the kernel:
'root=/dev/ram init=/linuxrc'

{Boot Gentoo LiveCD}
Now, with the above settings, my box booted, and used the cd. Yours may be different, scsi settings (though if you check the Force SCSI option in BootX it might work, I dont have a scsi device in mine, so I cannot tell you) may or maynot work.

#6 follow the document outlined here -> http://www.gentoo.org/doc/en/gentoo-ppc-install.xml
I started with stage2, to make sure it all works ;) Yes, a longer download, but much less compile time (and currently distcc is not an option).

- my make.conf is as follows;
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=750 -O3 -pipe -fsigned-char -mpowerpc-gfxopt"
CXXFLAGS="${CFLAGS}"

!!!! Yours will be different about the CFLAGS part, the conf file has excellent documentation, you just have to know what processor is in your box Check here for more info http://www.apple-history.com/noframes/ !!!

- I used the ppc-sources-benh kernel (My choice, maybe not yours, I dont know the reason I chose it, but I did, out of scope of this doc anyways)

- Ignore the part about ADB raw keycodes in the install doc, they suck
As per the ppc FAQ, the following:
[*] Apple Desktop Bus (ADB) support
[ ] Include MacIO (CHRP) ADB driver doesn't matter
[*] Use input layer for ADB devices
[ ] Support for ADB raw keycodes turn this OFF
[*] Support for mouse button 2+3 emulation

When it comes time to copy your vmlinux and System.map files, copy them to /boot (for backup, and give them -gentoo extensions to the filenames, vmlinux-gentoo and System-gentoo.map. I didnt use a boot partition either, being an oldworld mac, its all in the excellent install doc), and mount your MacOS hfs partition. Copy the contents of /boot to /mnt/whatever/System Folder/Linux Kernels/.

Following install doc, unmount everything and reboot, or shutdown -r now.
You will come to the BootX popup (pre MacOS launch, once timedout, MacOS will continue booting, so type on the keyboard to stop the clock, or boot to MacOS, and do it again manually)
Modify your config for BootX as per the Install doc.

Enjoy!

Note that this is my experience with an oldworld mac, yours may not necessarily be the same. Stuff like partition schemes are not covered here, there are tons of posts and docs here on that. Same with anything else not covered here. If I didnt mention it, its in the install doc, if its not there, then its in the forums, if its not there, then you did something really wrong! ;)
Back to top
View user's profile Send private message
Kuhndog86
Apprentice
Apprentice


Joined: 20 Jul 2004
Posts: 271
Location: Central WI

PostPosted: Fri Jan 21, 2005 10:12 pm    Post subject: Reply with quote

How do you install bootx? I just got a freebee 5500 series mac. I installed MacOS 8.6 on it. Being a n00b to macs, I have no idea what to do with the bootx file that i downloaded from your link. When i click on the file it says that it cannot find the application that created it. What am I doing wrong?
_________________
"Don't you think that if Microsoft actually had some really foolproof patent, they'd just tell us and go, 'nyaah, nyaah, nyaah!'" -Linux Torvalds
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 653

PostPosted: Sat Jan 22, 2005 3:18 am    Post subject: Reply with quote

You would need to use Aladdin expander to extract the files from the sit file. There should be a README file in the extracted files, which explain where to put the extracted files. For example, the Bootx extension and control panel should be move to the system folder, in which MacOS would then move them to the apropriate locations. Then, you would need to move the Linux Kernel folder into the System folder and copy the linux kernel and initrd image into it. Finally, can you enable the bootx extension so Bootx load at startup or just use the Bootx control panel to boot into the linux environment.
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
Kuhndog86
Apprentice
Apprentice


Joined: 20 Jul 2004
Posts: 271
Location: Central WI

PostPosted: Mon Jan 24, 2005 6:10 pm    Post subject: Reply with quote

How do I start Aladdin expander??
How do I enable the BootX extension??

Thanks
_________________
"Don't you think that if Microsoft actually had some really foolproof patent, they'd just tell us and go, 'nyaah, nyaah, nyaah!'" -Linux Torvalds
Back to top
View user's profile Send private message
zzats
n00b
n00b


Joined: 01 Jul 2004
Posts: 59
Location: Nurmijärvi, Finland

PostPosted: Thu Jan 27, 2005 9:08 am    Post subject: Reply with quote

I just finished installing Linux on mac slightly before I got a chance to peek at your howto (which would've made things quite a much easier).

But after finishing my adventures, I'd have some commenting about the bootloaders..

Quik is a bad bootloader, it might work, it likely won't. Quik has a size-limit for kernels, I can't remember what, but AFAIK (rumour has it) that the most recent ones likely to fit into the memory quik allocates are the 2.2 -series kernels. I heard people couldn't run 2.4 on them, not to mention about 2.6.. Oh, and quick cannot boot from an ext3 partition, it requires and ext2 root.

Yaboot won't work with oldworld machines.

BootX is otherwise .. nice, but it requires MacOS, so you're machine won't be cool enough. and at least in my case, you're wasting space :)

miBoot, as if I understood something, this is a port of yaboot to oldworld machines, highly undocumented, very picky about the bootloader config (doesn't allow extra whitespaces or lines). miboot requires a minimal HFS-partition for /boot, too. I ended up using miboot, and it's quite cool to have a mac entriely without MacOS :)


Last edited by zzats on Thu Jan 27, 2005 9:11 am; edited 1 time in total
Back to top
View user's profile Send private message
zzats
n00b
n00b


Joined: 01 Jul 2004
Posts: 59
Location: Nurmijärvi, Finland

PostPosted: Thu Jan 27, 2005 9:10 am    Post subject: Reply with quote

Kuhndog86 wrote:
How do I start Aladdin expander??
How do I enable the BootX extension??

Thanks


I used the program available from stuffit.com, it's a "self-installing-file (the .hqx)" available freely. After that, just copy the BootX extension file on the Extensions directory on your hard disk. If you take this literally, you can't go too much wrong :)

And create a "linux kernels" directory to your system -folder and copy the initrd.tar.gz and G3G4Kernel from your livecd to that folder. You could always look into the "yaboot.conf" on the boot-directory to get the boot-parametres right.

edit:
Oh yeah, I had questions myself:

Has anybody got the Horizsycn/Vertrefresh - values for a 17" monitor coming with the Old G3 ? (m2935 is the family number)

And somehow my badly configured kernel doesn't really work with the keyboard.. the shift-key acts like an AltGR and there's no real shift even available, any hint on that one?
Back to top
View user's profile Send private message
Siftah
n00b
n00b


Joined: 16 Jun 2003
Posts: 39
Location: Manchester, UK

PostPosted: Tue Feb 01, 2005 7:48 pm    Post subject: Reply with quote

Shameless plug for my own website here but it's pertinent to the topic and maybe useful for those doing an OldWorld install: http://www.siftah.co.uk/article/10/index.html
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Thu Feb 10, 2005 8:27 am    Post subject: ALSA settings Reply with quote

Anyone gotten ALSA to work correctly on the oldworld G3's? In yellowdog it worked like a charm but now I dont even know who manufactured it and lspci doesnt show it (directly on mb not on pci i assume but still).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum