If holding down the trackpad button while the computer is starting up didn't work, then depending on your model g4 their should be a tiny emergency eject hole to the right of the optical drive, use a paperclip while the computer is on or starting up to push that tiny button and the disc should eject.
Sorry if you have already tried these options, I wasn't sure.
you can also try the following Linx distro installed on a USB flash drive, al thou I am not sure that will work either. (booting from USB)....
You can boot from USB on a mac using the command line/ openfirmware prompt. Command+Option+o+f
This would require some command line stuff tying to find the USB device and it's name and then booting from the USB drive once you find it.
powerpc version:
http://cdimage.ubuntu.com/ports/releases...
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1
crwdns2947414:01crwdne2947414:0
Thanks, Scott Head, that's what I had to do: disassemble and remove the drive.
Thanks, Brian for trying.
crwdns2934271:0crwdnd2934271:0 einar3888 crwdne2934271:0