HOWTO install YDL4 on OldWorld Macs - UPDATE

If you have problems installing YDL, or need some information before you start.

HOWTO install YDL4 on OldWorld Macs - UPDATE

Postby virgule » 29 Nov 2004, 14:22

I got YellowDog4 up and running on my OldWorld Mac. Thanks to shiner.info's kernel. Here is what you got to do:

these instrutions are subject to change. I improve it as I see fit and/or when I get a constructive feedback.

1- Get ready:
1a- Install BootX.
This is the boatloader you need. There is Quik and miboot as alternatives. I strongly recommend BootX: This is the easiest of all but NEED MacOS installed... at the least a minimal installation is enough. Get BootX from there - OR - from YDL3 CD1.

<http://penguinppc.org/~benh/>

Download the following kernel and place it in 'Linux Kernel' folder. The reason for this is because the kernel provided by TSS on these CDs will NOT boot on (any?) OldWorld macs...
This one must be placed IN System Folder (alongside Extentions, Preferences....) for bootx to use.

http://www.shiner.info/?files/Yellow%20 ... 204/kernel
filename= vmlinux-2.6.8-1.ydl.7
size= 4526K
date= 10-01-2004 04:54
description=This is the normal kernel for OW working with YDL4 try this with miboot install. Let us know if it works for you ???

1b- Copy 'ramdisk.image.gz' off YellowDog4 install CD1 into your MacOS System Folder - OR - wherever you want it.

2- Set!
2a- Setup bootx to use the new kernel and ramdisk.
2b- You'll want to put your video= configuration in the "More Kernel arguments" field. There is sooo many variables Im not going to detail'em all in here so I'll post a link instead 8)

<http://www.jonh.net/lppcfom-serve/cache/1043.html>

2c- Other BootX options:
Use the 'Grab G3 Cache Setting" mini-app if appropriate. You will find it within BootX's folder. Then check the corresponding checkbox in "Option" dialog.
I don't think you'll need/want any of the others (No video drivers, Force SCSI on.....)

A 'Guest' suggested to use these RAM Disk size setting:
---> Set RAM Disk size to 18192
I found that the default value does work fine with the "text-install" mode (and things goes faster...) Also, it seam to throw away some "Out of RAM" problems....To use this mode, insert "text" in the "More Kernel Arguments" field.


3- Go!
Insert CD1 in CD-ROM and click 'Linux' Anaconda will launch and guide you through the installation process. You may enjoy the "text-mode" install as its faster and use less RAM. This eam to throw away some "out of RAM" problems....

3a- Partitionning:
You WANT a /boot partition. 100MB will be just right. You can live without one but some kernel configurations (upon updating) could go kaboom.. Try to place swap at the END of the partition table, this will ensure good performance... Also, it is wise to setup a /home partition. This is what you are going to use to store your cool files and such.

NOTE: after anaconda is gone copying files to the HD, it will crash. Have no worry, its only because its looking for yaboot / macosx stuffs but there is none on a OldWorld mac so it crash...Its no big deal just reboot it'll be fine. After startup, you should meet the 'firstboot' setup dialog allowing you to perform the last steps of installations.

Post-Install Configurations:
1- [might not be necessary - try without this step first] Copy the initrd-2.6.8-1.ydl.7.img file from in /boot to the MacOS side of things. You can either mount the macos partition from within linux and copy it straight in -OR- you could email it to yourslef and retreive it from MacOS. Use this file as a RAMDISK in BootX. Make sure the version match the kernel's one (2.6.x-1 is the version)

2a- You will meet a text-mode login, login as root and add your 'user' account:
]# useradd <username> [ENTER]
]# passwd <username> [ENTER]

NOTE: If you have a /home partition and wish to 'restore' your user profile instead of wiping it all, append -d to useradd:
]# useradd -D <username> [ENTER]

2b- If you want a graphical login (GDM) instead of a DOS-like text login-prompt:

]# nano /etc/inittab [ENTER]

look for this line:

id:3:initdefault:

change '3' to '5' save and quit. Next boot will be all set!

6- Configure yum:
Replace /etc/yum.conf file for the one at:
[url]<http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/2004-December/017330.html>[/url]
NOTE: You may leave the freshrpms sections apart but I recommend you keep'em.


The GranFinal:
Since we (OldWorld users) don't use yaboot and since YDL4 is designed to be used with yaboot on NewWorld macs, updating the kernel invoke a few extra steps that the NewWorld (lucky) users dont have to do. Its just that we'll have to manually copy a file to the MacOS side of things. The file is vmlinux located in /boot:

- vmlinux-<KERNEL_VERSION>

vmlinux MUST be copied in "Linux Kernel" folder on the MacOS partition/disk so that BootX can use it.

UPDATE: kernel 2.6.10 is out. yum will update correctly after a minor modification to a config file. Append this line in the top section of /etc/yum.conf file(right under "pkgpolicy=newest" line)

exclude=kernel-g5 kernel-g5-smp

NEW NOTES:
*The 2.6.10 kernel produces some funky lines in the consoles but work fine in graphical mode. My card is a 'ATY Mach64'... I still use 2.6.9 for this reason.
*If using 2.6.10, some oldworld macs need to invoke a kernel module and add a line in /etc/modprobe.conf before using the bmac interface (ethernet adapter found in most beige G3s):

alias eth0 bmac in /etc/modprobe.conf
and
/sbin/modprobe bmac to invoke the kernel module

Thats all folks. Enjoy!
If you spot something wrong in this article (typos, eroneous informations... whatever) please let me know I'll update accordingly.
Last edited by virgule on 08 Jun 2005, 20:55, edited 16 times in total.
To Be or Not To Be?? --This is NOT even a question...
User avatar
virgule
ydl addict
ydl addict
 
Posts: 151
Joined: 25 Nov 2004, 02:52
Location: Quebec, Canada ( hey.. its not my fault..ok?)

Thanks! Keep us updated?

Postby Spence » 30 Nov 2004, 14:37

Thanks for posting that virgule. Will you keep us posted (perhaps in the Older Hardware section) on other problems/solutions that you run into?
Spence
ydl newbie
ydl newbie
 
Posts: 7
Joined: 09 Aug 2004, 17:47
Location: New York

Re: HOWTO install YDL4 on OldWorld Macs

Postby Guest » 30 Nov 2004, 18:28

virgule wrote:Alright! I got YellowDog4 up and running (very smoothly, by the way!!) on my OldWorld G3/300. Thanks to eddieb's vmlinux!

Here is what you got to do:

1a- Download this kernel and place it in 'Linux Kernel' folder (for bootx to use)
http://www.shiner.info/?files/Yellow%20 ... 204/kernel
filename= vmlinux-2.6.8-1.ydl.7
size= 4526K
date= 10-01-2004 04:54
description=This is the normal kernel for OW working with YDL4 try this with miboot install. Let us know if it works for you ???

1b- Copy 'ramdisk.image.gz' off YellowDog install CD1 into your MacOS System Folder.

2- Setup bootx screen to use the new kernel and ramdisk.
3- Insert CD1 in CD-ROM and click 'Linux'
...have fun installing!

NOTE: after anaconda is gone copying files to the HD, it will crash. Have no worry, its only because its looking for yaboot / macosx stuffs but there is none on a OldWorld mac so it crash...Its no big deal just reboot it'll be fine.

4- uncheck 'Use Specified ramdisk' in bootx, enter your root partition in the appropriate field , click 'save' et voila!

5- You will meet a text-mode login, login as root and add your 'user' account:
useradd <username> [ENTER]
passwd <username> [ENTER]

6- If you want a graphical login:
edit /etc/inittab and look for this line:

id:3:initdefault:

change '3' to '5' save and quit. Next boot will be all set!

[/url]


Virgule! Thanks! Excellent work!

Otherwise, it doesn't seem to be quite as straightforward as you've outlined above. I had to make many reboot attempts to get it to kick off an installation. The default RAMDisk size for BootX is 8192, which evidently doesn't hold the decompressed ramdisk.image.gz. The size is somewhat larger than 16284. I tested different values and ended up launching an install with a BootX ramdisk size of 18192. Too small, and the install fails and you get a text login prompt. Too large a ramdisk will cause graphic installation to fail and give a text installer which also seems to hang. Otherwise, with the 18192 value, I could get anaconda started and got through the whole process all the way to the end. You might want to add this note to your HOWTO in case others are still having problems.
Guest
 

performa 6400/200

Postby dsh » 30 Nov 2004, 20:38

after how-to step 3, the system goes to a text screen, says "welcome to linux, kernel ....", spits out some more text and then drops me at a "mon>" prompt. tried the latter suggestion, but got the same message. any ideas what i need to do to continue with the installation? thanks in advance. dean halter
dsh
 

Re: performa 6400/200

Postby virgule » 30 Nov 2004, 21:52

dsh wrote: after how-to step 3, the system goes to a text screen, says "welcome to linux, kernel ....", spits out some more text and then drops me at a "mon>" prompt. tried the latter suggestion, but got the same message. any ideas what i need to do to continue with the installation? thanks in advance. dean halter


sorry, i don't :cry: im not a tuxpert. Does that Performa's CD-ROM a SCSI or ATA one? It smell like it want a ATA... but I don't know.
Last edited by virgule on 30 Nov 2004, 22:03, edited 1 time in total.
To Be or Not To Be?? --This is NOT even a question...
User avatar
virgule
ydl addict
ydl addict
 
Posts: 151
Joined: 25 Nov 2004, 02:52
Location: Quebec, Canada ( hey.. its not my fault..ok?)

Re: Thanks! Keep us updated?

Postby virgule » 30 Nov 2004, 22:02

Spence wrote:Thanks for posting that virgule. Will you keep us posted (perhaps in the Older Hardware section) on other problems/solutions that you run into?


Im all for it but honestly, guys and girls, im not too much of a geek. I sure can report problems and provide suggestions and/or pointers to solutions but I wouldnt have been able to provide the kernel I used. I've hit it on the general mailing list :http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/2004-November/016739.html

[/url]
To Be or Not To Be?? --This is NOT even a question...
User avatar
virgule
ydl addict
ydl addict
 
Posts: 151
Joined: 25 Nov 2004, 02:52
Location: Quebec, Canada ( hey.. its not my fault..ok?)

Re: performa 6400/200

Postby Guest » 01 Dec 2004, 22:53

dsh wrote:after how-to step 3, the system goes to a text screen, says "welcome to linux, kernel ....", spits out some more text and then drops me at a "mon>" prompt. tried the latter suggestion, but got the same message. any ideas what i need to do to continue with the installation? thanks in advance. dean halter


Dean,

Are you sure that you are using the kernel vmlinux-2.6.8-1.ydl.7 from www.shiner.info/?files/Yellow%20Dog%20Linux%204/kernel ? The reason I ask is that you're describing the boot behavior of an Oldworld Mac with the kernel from the 4.0 install CD.
Guest
 

performa 6400/200

Postby dsh » 02 Dec 2004, 16:26

you are correct. i am using the kernel from the ydl4 cd. i will try the other, see what happens and let you know. thank you all for your responses. dean
dsh
 

Re: HOWTO install YDL4 on OldWorld Macs

Postby Randy Winchester » 02 Dec 2004, 21:25

After completing a YDL 4 install on my old Powerbook 3400c, I've got the following additions to Virgule's HOWTO. This may vary from machine to machine, but I finally got the poor old thing to install.

virgule wrote:Alright! I got YellowDog4 up and running (very smoothly, by the way!!) on my OldWorld G3/300. Thanks to eddieb's vmlinux!

Here is what you got to do:

1a- Download this kernel and place it in 'Linux Kernel' folder (for bootx to use)
http://www.shiner.info/?files/Yellow%20 ... 204/kernel
filename= vmlinux-2.6.8-1.ydl.7
size= 4526K
date= 10-01-2004 04:54
description=This is the normal kernel for OW working with YDL4 try this with miboot install. Let us know if it works for you ???

1b- Copy 'ramdisk.image.gz' off YellowDog install CD1 into your MacOS System Folder.

2- Setup bootx screen to use the new kernel and ramdisk.


2b - Set BootX Ramdisk size to 17192. (the default 8192 is too small for 'ramdisk.image.gz').

virgule wrote:3- Insert CD1 in CD-ROM and click 'Linux'
...have fun installing!

NOTE: after anaconda is gone copying files to the HD, it will crash. Have no worry, its only because its looking for yaboot / macosx stuffs but there is none on a OldWorld mac so it crash...Its no big deal just reboot it'll be fine.


The installer actually goes through some post-install configuration and hangs when it gets to "Installing Boot Files." I suspect that it actually creates the 800K New World Boot Partition on the drive, as checking the drive with fdisk shows a gap between my / and swap partitions that wasn't there before and my / partition is now of type Apple_Newworld_BOOT or something like that. It doesn't appear to be screwed up in any significant way, as the system boots and all the data appears to be there.


virgule wrote:4- uncheck 'Use Specified ramdisk' in bootx, enter your root partition in the appropriate field , click 'save' et voila!

5- You will meet a text-mode login, login as root and add your 'user' account:
useradd <username> [ENTER]
passwd <username> [ENTER]

6- If you want a graphical login:
edit /etc/inittab and look for this line:

id:3:initdefault:

change '3' to '5' save and quit. Next boot will be all set!



That's all for now!
Randy Winchester
ydl newbie
ydl newbie
 
Posts: 8
Joined: 23 Nov 2004, 23:43
Location: Cambridge MA 02139

Postby dsh » 02 Dec 2004, 23:12

thanks for the help, guys. it is now up and running, though i will have to work on the network and sound configurations. your guide was perfect, although, for whatever reason, my installation consistently failed until i swapped consoles. seem to remember something similar with an old suse ppc version. thanks again. dean
dsh
 

yellowdog 4.0 on a 5500 powermac

Postby macnewbie29 » 05 Dec 2004, 23:32

Can someone there please help me? I'm trying to get Yellowdog Linux 4.0 to install on my Powermac 5500. I've tried the HOWTO posted in this forum, but I only get as far as the anaconda installer startup. It's autoprobing (text based before the gui) and finds the video card, but comes up with monitor: unknown. After which, I'm unable to read anything off of the screen. I've passed variables through bootx like: video=atyfb;vmode=15 cmode=8 It's seems as though the Yellow Dog 4.0 anaconda installer won't recognize anything passed besides the ramdisk size. Any help would be greatly appreciated.
macnewbie29
 

Re: yellowdog 4.0 on a 5500 powermac

Postby Randy Winchester » 06 Dec 2004, 17:57

macnewbie29 wrote:Can someone there please help me? I'm trying to get Yellowdog Linux 4.0 to install on my Powermac 5500. I've tried the HOWTO posted in this forum, but I only get as far as the anaconda installer startup. It's autoprobing (text based before the gui) and finds the video card, but comes up with monitor: unknown. After which, I'm unable to read anything off of the screen. I've passed variables through bootx like: video=atyfb;vmode=15 cmode=8 It's seems as though the Yellow Dog 4.0 anaconda installer won't recognize anything passed besides the ramdisk size. Any help would be greatly appreciated.


You might try a lower res video mode. I think vmode=9 is probably a good place to start. That'll give you 800x600. Have you also tried checking the BootX "Ignore video settings" box? It took quite a bit of fiddling before I could get something running that I could see on my old world G3.
Randy Winchester
ydl newbie
ydl newbie
 
Posts: 8
Joined: 23 Nov 2004, 23:43
Location: Cambridge MA 02139

Postby Nick » 08 Jan 2005, 10:31

Hello,

this is my first post here.

I recently installed YDL 4.0 on a B&W G3 without an issue.

Just started to install YDL 4.0 on a
PM 8600/200, 320MB RAM, ATTO PSC (2x9GB Cheetahs), Initio MilesUW (5x4GB IBM's).

The drives connected to the Miles are not beeing listed so I installed an ATTO card and two Cheetahs.

Installation with the Shiner Kernel went smooth (thanx to virgule) but,
after installation (root partition is SDA1 checked again and again with Mac PDisk) I only get a message SDA1 0=rw restarting in 180 seconds after the devices and the network has bee checked ok.

I installed YDL 4.0 3 times (different configurations) and allways the same thing happened.

Some ineresting, after drive partitioning a message comes up with something like "drives partitionmap bla bla bla" fix or chancel.

Q: Do I need a Kernel argument?

Best Regards

Nick
Nick
ydl newbie
ydl newbie
 
Posts: 9
Joined: 08 Jan 2005, 10:15

Postby virgule » 21 Jan 2005, 21:05

Nick wrote:Some ineresting, after drive partitioning a message comes up with something like "drives partitionmap bla bla bla" fix or chancel.

Best Regards
Nick


I got this query too. I choosed 'fix'. What has been your answer?

I find it strange the root partition is known sda1 as it should be an Apple_partition_map as the first partition... I think thats what the 'fix' is all about. This can be an issue with the SCSI controler (ATTO ?!?!) as the installer installed in sda just fine but for some obscure reason it wrote sdb on fstab...

Also, check the jumpers... They must be jumped "PC style". MacOS can work with no jumpers at all (:!::!:) but GNU/Linux does not. Check these:

<http://www.yellowdoglinux.com/support/solutions/ydl_general/drive_jumpers.shtml>
<http://www.yellowdoglinux.com/support/solutions/ydl_general/old_firmware.shtml>
To Be or Not To Be?? --This is NOT even a question...
User avatar
virgule
ydl addict
ydl addict
 
Posts: 151
Joined: 25 Nov 2004, 02:52
Location: Quebec, Canada ( hey.. its not my fault..ok?)

Postby Nick » 22 Jan 2005, 03:33

Hello Virgule,

thank you for your reply.

I choose also fix.

The YDL installer did some crazy things when partitioning the drives, now it's SDA2.

Well by now it works untill I start X then black screen with X cursor nothing more.

I tried

Xautoconfig --safe no go
display-config-system or so it loads the YDL screen but no go if I start X again.

What else could I do?

Regards

Nick
Nick
ydl newbie
ydl newbie
 
Posts: 9
Joined: 08 Jan 2005, 10:15

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests