Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
experimenting on an old 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
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Tue Jul 13, 2004 6:30 pm    Post subject: experimenting on an old mac Reply with quote

I'm messing around trying to install Gentoo on an old world Mac

To be more specific a Nu-Bus based Mac :D

I know what i'm getting into here...so play along...and give me an idea

So far heres my progress
1. I've downloded and installed a modded BootX
2. Downloaded a pre-compiled kernel with nu-bus support from nubus-pmac.sourceforge.net
3. copied initrd.img.gz of the 2004.1 live cd...and renamed it ramdisk.image.gz so it'll work with bootx 1.1
4. setup up bootx to use the nubus kernel and root=/dev/ram0 ramdisk_size=32000 init=/linuxrc cdroot as the kernel arguments

So far so good, eh?

Well it appears i overestimated how simplistic the gentoo boot cd is
It appears that it "does" need to access files off my cdrom

My main question at this stage is...what files does it access and can these be place on the mac os partition

It's and SCSI drive and my kernel does recognize it...but apparent devfs fails too....not sure yet thought

I'm stuck at getting this error...honestly i may never get farther then it...but i'm going to try the impossible :wink:

Quote:
losetup: /mnt/live/mnt/cdrom/livecd.gcloop: No such file or directory
mount: Mounting /dev/loop/0 on /mnt/live/mnt/live-env failed: No such file or directory
cp: dev: No such file or directory
cp: home: No such file or directory
cp: root: No such file or directory
cp: tmp: No such file or directory
cp: etc: No such file or directory
....etc......
/linuxrc: 244: mount: not found
/linuxrc: 25: cannot open dev/console: No such file
Kernel panic: Attempted to kill init!
Back to top
View user's profile Send private message
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Tue Jul 13, 2004 9:53 pm    Post subject: Reply with quote

just replying to myself....made some progress here

appears my kernel doesn't support devfs

I gather the assumption the gentoo 1.2 cd didn't use devfs but i can't get it to boot either...

so now i'm down to trying a hacked version of knoppix...or taking the time of recompiling a nu-bus kernel....which i'm not sure how to do yet
Back to top
View user's profile Send private message
porodzila
Guru
Guru


Joined: 22 May 2004
Posts: 307
Location: Terrapin Station

PostPosted: Wed Jul 14, 2004 1:27 pm    Post subject: Reply with quote

I would recomment Yellow Dog Linux for old world macs.
_________________
ubi primum potero, me hinc subduco.
Back to top
View user's profile Send private message
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Wed Jul 14, 2004 6:37 pm    Post subject: Reply with quote

but wheres the fun in that :D

I've almost got it going...I'll need to finish recompiling a nu-bus patched kernel and try from there

I plan to post a guide on the internet for other people wanting to use gentoo on a nu-bus mac (6200-6300 series)
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Thu Jul 15, 2004 9:22 am    Post subject: Reply with quote

wonder how it would run on a 6100 w/72MB ram and a G3 upgrade?
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Thu Jul 15, 2004 12:33 pm    Post subject: Reply with quote

well some good news....

i'm getting ready to bootstrap the system from a stage1 install...

i couldn't find one live cd that would work so i had to install debian to a 250mb partition...from there i started the install...after the install i'll delete the debian partion and resize the gentoo to take up the remaining space with parted

i'll have to wait and see how the install goes etc...

so for everything i've used i got from http://nubus-pmac.sourceforge.net

like i said i'll try to make a decent guide for other nubus users :wink:

Quote:
wonder how it would run on a 6100 w/72MB ram and a G3 upgrade?


Well if you use the pre-compiled nubus kernel (pretty much your only choice, unless you want to do a lot of work) ....I'd say it should work...but accoring to the project's hompage some G3 cards may or may not work ...so who's to say....i say go for it
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Thu Jul 15, 2004 5:28 pm    Post subject: Reply with quote

Keep us informed of your progress. I wonder how many people would be interested in a LiveCD for this.

We have tons of old hardware that they ferus to let me throw out, or sell on ebay. There are about 40 6100's with that same config as above, several 6200's, and 16 loaded up 8100s. I could put them back in business with Linux.

Too bad the Linux clustering stuff doesn't work on sparc/ppc. I could set up those 6100s, on an old 48 port 10bT switch, and lay claim to the slowest supercomputer in the world!! LOL
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Sat Jul 17, 2004 1:43 am    Post subject: Reply with quote

got an error during the bootstrap process

i got 2 choices from here

do a stage2 or make a custom kernel somehow
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Sat Jul 17, 2004 2:00 am    Post subject: Reply with quote

rudefyet wrote:
got an error during the bootstrap process

i got 2 choices from here

do a stage2 or make a custom kernel somehow

What/where was the error, and how are your USE & CFLAGS set?
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Sat Jul 17, 2004 2:34 am    Post subject: Reply with quote

NewBlackDak wrote:
rudefyet wrote:
got an error during the bootstrap process

i got 2 choices from here

do a stage2 or make a custom kernel somehow

What/where was the error, and how are your USE & CFLAGS set?


the error was some illegal operation during the gcc compile....can't recall it exactly

i didn't set any USE variables

CFLAGS="-O3 -mcpu=603e -pipe -fomit-frame-pointer"

i think tonight i'm going to just try a stage2 install
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Sat Jul 17, 2004 2:43 am    Post subject: Reply with quote

I'll start Monday, and see if I can get one going using:

CFLAGS="-O3 -pipe -fomit-frame-pointer"
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Sat Jul 17, 2004 3:01 am    Post subject: Reply with quote

i'm making a mach kernel that supports devfs right now...i'm going to try and get a gentoo live cd to boot
Back to top
View user's profile Send private message
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Sat Jul 17, 2004 8:22 pm    Post subject: Reply with quote

just an update....i'm compiling 2 kernels for the mklinux boot loader

kernel #1...added devfs and reiserfs support to the nubus-kernel

kernel #2...used the same settings as above...but compiled in the the initrd image from the 2004.1 live cd

after they compile and i've tested that they do indeed work with the live cd and gentoo...i will post them on my webserver so everyone can compile gentoo on a nubus mac :D
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Sat Jul 17, 2004 10:07 pm    Post subject: Reply with quote

What kernel version?
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Sat Jul 17, 2004 10:57 pm    Post subject: Reply with quote

2.4.26
Back to top
View user's profile Send private message
rudefyet
n00b
n00b


Joined: 26 Dec 2003
Posts: 20

PostPosted: Fri Jul 23, 2004 5:46 am    Post subject: Reply with quote

i finally got around to restarting the install

i found out -mcpu=603e is broken in gcc still...the only mcpu flags that work are for the G3 or higher

also i was using -fomit-frame-pointer, which apparently has some issues on ppc processors...not positive though

i have the kernel i'm using on a temporary server (geocities...eww)

2.4.26 NuBus Powermac Kernel with DevFS and ReiserFS support - Mach Kernel for mklinux boot loader
http://www.geocities.com/rudefyet/kernel.zip

remove the zip extension...i just had to add it in order for geocities to accpet the file

i can't guarantee it will work yet until i finish a complete system build

but i do know one thing...there is no way to boot a live cd...for some reason the kernel will only mount ramdisks read-only (if anyone knows a solution let me know)

so you will either need to install debian or yellowdog to install gentoo

i'll finish my write-up later on using debian as the example

:wink:
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