Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to change the penguin logo that appears on boot. I looked into it and found this command:

pngtopnm nelogo.png | ppmquant -fs223| pnmtoplainpnm > logo_linux_clut224.ppm

But when I tried it I got this error message:

unrecognized option `-fs223'
pnmtoplainpnm: EOF / read error reading magic number

What did I do wrong? How can I replace the boot logo?

share|improve this question
up vote 3 down vote accepted

According to my (interpretation of, at least) manpages, the -fs option on ppmquant doesn't take an argument; the ncolors argument is separate. Separate the -fs 223. Not sure whether that will take care of the magic number error too.

share|improve this answer
Hi Kevin, you are correct. when I seperate -fs and 223 it worked fine. thanks a lot. – gosk Oct 24 '11 at 19:14

I have used jpegtopnm and a jpg pic, works like charm

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.