I was thinking about which OS to install on iBook yesterday. I just got over a pretty frustrating experience in that department and was looking for something not too easy but more enjoyable. So Jessie is now stable and since my iBook is my "testing" machine why not install Stretch on it? The freeze is probably lifted for testing so I want to see how long I can ride before my sudo apt-get update && sudo apt-get upgrade results in me getting hit with a serious bug. This is what a "testing" machine is for right? ;-) So I went and got the netinst iso from Debian and began the install. When the cd boots it asks how you want to install and I chose the options install desktop=xfce. I really like XFCE, it is not as lightweight as LXDE but it has some more features that I prefer on my DE. The rest is pretty much what you would expect on a Debian install. It just worked. Once your system reboots remember you need to enable KMS if you have any desire for a good DE experience. I use the following setting on my iBook:
Linux radeon.modeset=1 video=offb:off video=1024x768-32 video=radeonfb:off radeon.agpmode=-1
Then when your login to the desktop you will need to make the changes permanent. Sudo does not come installed you can su to root and install it or you could just run nano -w /etc/yaboot.conf as root and add those parameters like below:
image=/boot/vmlinux
label=Linux
read-only
initrd=/boot/initrd.img
append="quiet splash radeon.modeset=1 video=radeonfb:off video=offb:off video=1024x768-32 radeon.agpmode=-1"
image=/boot/vmlinux.old
label=old
read-only
initrd=/boot/initrd.img.old
append="quiet splash radeon.modeset=1 video=radeonfb:off video=offb:off video=1024x768-32 radeon.agpmode=-1"
label=Linux
read-only
initrd=/boot/initrd.img
append="quiet splash radeon.modeset=1 video=radeonfb:off video=offb:off video=1024x768-32 radeon.agpmode=-1"
image=/boot/vmlinux.old
label=old
read-only
initrd=/boot/initrd.img.old
append="quiet splash radeon.modeset=1 video=radeonfb:off video=offb:off video=1024x768-32 radeon.agpmode=-1"
If you want to find out what screen resolution you need to set for your machine it can be fount at the everymac website. Remember to run this command after you finish editing to apply your changes sudo ybin -v. Setting up wireless was pretty straight forward. You will need to add contrib and non-free to the /etc/apt/sources.list file and run sudo apt-get update. Since I have Broadcom BCM4318 chip I just need to install the firmware-b43-installer package and reload the b43 module. On G4 iBooks and PowerBooks to get sound to work you will need to manually load the snd-aoa-i2sbus module and add it to the /etc/modules file. Then run the command alsamixer to set the PCM channel to 80. You need to install the pauvcontrol package as well. I also added the pmu_battery module so I can have a working battery indicator. This basically what I did to get a working system. The only issue I ran across was the xfdesktop4 service was consuming 100% cpu when I would right click on the desktop. There was already a related bug that I added my comments. I spent the rest of the evening theming my desktop. I am huge fan of Numix themes and icons so below are some screenshots. BTW does anyone want to take a guess as to how long I can ride in testing before an upgrade really hurts me?
Huge thanks for this post!! The boot parameter you spelled out here allowed me to successfully boot my iBook G4 into Jessie for the first time... even the 3D graphics are up. Thank you!
ReplyDeleteTo whether or not you are using hardware accelerated graphics see Dan's post here.
Deletewhat's the benefit?
ReplyDeleteSorry, Debian, I don't have a lot of time on my hands these days and am still trying to get Jessie to play nice with my ATI Radeon 9000 Pro graphics card. Guess I'll stick with Wheesy.
ReplyDeletedid you try the boot options I used? Do you have G3 machine?
DeleteTom,
DeleteI thought your Debian machine was headless? That was the last you told me at least. I have Jessie stable running very well on my dual 450mhz Mystic with a Radeon 7500. Out of the box also.
What type of install did you do?
I was running my Quicksilver headless with Wheezy, but tried to install Jessie numerous times with a monitor attached to see if there were any changes in Debian's GUI. Each time I ended up with a blank screen upon boot. Other than "install desktop=lxde", I went with a standard install. What other boot options should I be using to make this work?
DeleteThe boot parameter above beginning with Linuix.
DeleteI tried the boot parameter you suggested... still no go. So, I swapped out my graphics card with a Radeon 7500 and Jessie installed and worked just fine. Thanks, Zen, for the suggestion. I like OSs that just work "out of the box".
DeleteGlad you got things working. Of all the ATI cards, the Radeon 9000 GPU is the most troublesome one they ever made. It has many issues with many games also; command and conquer generals is one example.
DeleteThe 9000 and 9200 are both based on an underpowered 8500, but out of those 3 very similar GPU, the 9000 is the only one I have ever known to have issues with it.
Hi!
ReplyDeleteGreat article! I'm currently using MintPPC on an iBook 800mhz with LXDE desktop environment.
Can I use this pmu_battery module that you mentioned?
THX
Dave
Yes you can
DeleteThanks!
DeleteI tried it. Added to /etc/modules, too.
But nothing had happened.
I looked the System profiler and it said No batteries found on this system.
Why? Sorry, I'm a totally linux newbie.
THX
Dave
did you run sudo modprobe pmu_battery?
ReplyDeleteYes. But it says nothing after the password.
DeleteYou need to add the battery indicator applet on lxpanel
DeleteAdded but it's a blank field...
DeleteI certainly don't speak for rican, but you need to figure out some of this stuff on your own. Have you even bothered looking for a solution yourself?
DeleteIf you get spoon-fed every little step then you will take little to nothing from the experience, and will need to be spoon-fed everything after that.
Linux is very much a DIY OS, and what you're trying to do here is an extremely remedial task, so it shouldn't be this difficult for you.
Again, I don't speak for rican; only myself.
I should add... I'm all for helping people, but just not to the extent that I (or rican in this case) am doing all the work for the one in need of help.
DeleteIt's for your own good that you learn at least a decent portion of things on your own.
Remember, you're not using Windows or Mac OS; it's Linux. Win and Mac are checkers, and Linux and UNIX are like playing 6 games of chess at once when you're first learning things. You can't learn it in a few days like the mainstream OS.
Patience, dedication and fearlessness are the best skills you can possibly have with Linux.
Thanks Zen. As I mentioned, I'm a beginner.
ReplyDeleteJust love powerpcs. I've got four. Sawtooth, Mini, TiBook, iBook.
I would like to use them, and looking for how can I use them.
Then I've found Linux. I've found MintPPC. Then searched the net to find useful PPC linux links. I've found this site and PPC Luddite. Great sites!
Finally I've got a useful working iBook with Debian Wheezy on it.
So, I just want to thank you for your work. Keep on and I try to learn more and more from it.
Dave
Dave,
DeleteThere are plenty of great on-line resources that will help you with Linux on PowerPC. Here is one that still use often. If you are willing to take the time and learn you can bring new life into your machines!
Hi rican-linux,
ReplyDeleteThanks for the post, was very helpful by installing Jessie. Only the sound has not yet succeeded, it's still a problem, unfortunately.
Cheers,
Lucas
Hi rican-linux,
ReplyDeleteI'd love to know where to find the wallpaper you're using in these screenshots.
I'm not getting a smooth display experience. I followed the suggestions, sound is working but watching videos are not running as should. I have my G4 Mini connected to a HDTV. I may have to go back to OSX.
ReplyDelete