You are not logged in.

#1 2011-07-18 17:00:00

fuzymonkey
Member
From: Austin, TX
Registered: 2009-07-28
Posts: 20

Build Kernel with Arch Linux Logo

Recently the default kernel26 package no longer includes Arch Linux logo at boot. I don't particularly care about the ideological reasons for this change, I'd just like my arches back for the added eye candy.

I've read here that i could look into a patched kernel like kernel26-ck for how to patch the Arch Linux logo in, but I don't know enough about the linux kernel to do that. If anyone else knows how I can get the arches back, I'd be very grateful.


End of line

Offline

#2 2011-07-18 17:34:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Build Kernel with Arch Linux Logo

Try this:
http://aur.archlinux.org/packages/kernel26-ck/PKGBUILD

    ### Optionally replace the tux logo with the blue Arch logo
    if [ $_usearchlogo = "y" ]; then
        install -m644 ${srcdir}/logo_linux_clut224.ppm drivers/video/logo/
        install -m644 ${srcdir}/logo_linux_mono.pbm drivers/video/logo/
        install -m644 ${srcdir}/logo_linux_vga16.ppm drivers/video/logo/
    fi

and http://projects.archlinux.org/svntogit/ … 51b801a1ec

CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

in the kernel config.

Last edited by karol (2011-07-18 17:53:11)

Offline

#3 2011-07-21 08:13:22

DasFox
Member
Registered: 2010-11-24
Posts: 107

Re: Build Kernel with Arch Linux Logo

Will this look like Arch does when you first install it off the cd, also no more boot ticks on the screen? I have no need for the ticks....

To bad they killed the original look, it was nice and clean...


THANKS


12 Year Linux Vet, Don't Let The Post Count Fool Ya! But Sure I Don't Know Everything, Who Does? That's Why I Ask. smile

Offline

#4 2011-07-21 08:16:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Build Kernel with Arch Linux Logo

DasFox wrote:

Will this look like Arch does when you first install it off the cd, also no more boot ticks on the screen? I have no need for the ticks....

Errr, I've installed Arch over two years ago and I don't recall any images on boot (probably due to my graphics hardware). so I don't remember how does it look like ;P

Offline

#5 2011-07-21 08:31:55

DasFox
Member
Registered: 2010-11-24
Posts: 107

Re: Build Kernel with Arch Linux Logo

karol wrote:
DasFox wrote:

Will this look like Arch does when you first install it off the cd, also no more boot ticks on the screen? I have no need for the ticks....

Errr, I've installed Arch over two years ago and I don't recall any images on boot (probably due to my graphics hardware). so I don't remember how does it look like ;P


Blue Arch logo when it started...

And no kernel ticks so the text and everthing looked cleaner...

Now it looks like a mess... sad


12 Year Linux Vet, Don't Let The Post Count Fool Ya! But Sure I Don't Know Everything, Who Does? That's Why I Ask. smile

Offline

#6 2011-07-21 08:37:15

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,702
Website

Re: Build Kernel with Arch Linux Logo

karol wrote:

Try this:
http://aur.archlinux.org/packages/kernel26-ck/PKGBUILD

    ### Optionally replace the tux logo with the blue Arch logo
    if [ $_usearchlogo = "y" ]; then
        install -m644 ${srcdir}/logo_linux_clut224.ppm drivers/video/logo/
        install -m644 ${srcdir}/logo_linux_mono.pbm drivers/video/logo/
        install -m644 ${srcdir}/logo_linux_vga16.ppm drivers/video/logo/
    fi

Yeah, karol is right.  You just need those file and there is an entry needed in the .config when you compile.  Just look at the ones I provide in kernel26-ck and use a diff util like vimdiff against the ones from the current ARCH package to see it.

$ vimdiff /path/to/ARCH.config /path/to/kernel26-ck.config

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2011-07-27 01:39:26

gmesalazar
Member
From: Brazil
Registered: 2011-07-27
Posts: 14

Re: Build Kernel with Arch Linux Logo

DasFox wrote:

Will this look like Arch does when you first install it off the cd, also no more boot ticks on the screen? I have no need for the ticks....

Hi DasFox,
what do you mean by "boot ticks"? Maybe that can be solved by adding "quiet" (without quotes) after "ro", on the Arch Linux entry in menu.lst.

For example:

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img

Using that the boot will be more verbose than If we add quiet.

kernel /vmlinuz26 root=/dev/sda3 ro quiet

Regards,
Guilherme Salazar.


Guilherme Salazar

Offline

#8 2011-11-21 02:01:09

DasFox
Member
Registered: 2010-11-24
Posts: 107

Re: Build Kernel with Arch Linux Logo

NO worries on the ticks,  no longer there.

How can we get the old Arch logo back now for the 3.x kernels?


THANKS


12 Year Linux Vet, Don't Let The Post Count Fool Ya! But Sure I Don't Know Everything, Who Does? That's Why I Ask. smile

Offline

#9 2011-11-21 02:45:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Build Kernel with Arch Linux Logo

DasFox wrote:

NO worries on the ticks,  no longer there.

How can we get the old Arch logo back now for the 3.x kernels?


THANKS

https://bbs.archlinux.org/viewtopic.php … 4#p1016744

Offline

#10 2011-11-21 05:13:33

DasFox
Member
Registered: 2010-11-24
Posts: 107

Re: Build Kernel with Arch Linux Logo

karol wrote:
DasFox wrote:

NO worries on the ticks,  no longer there.

How can we get the old Arch logo back now for the 3.x kernels?


THANKS

https://bbs.archlinux.org/viewtopic.php … 4#p1016744


Are we talking about linux-ck 3.1.1-1?

http://aur.archlinux.org/packages.php?ID=50911

By the way what is tickless in the linux-ck all about?


THANKS

P.S. quite a bit of work needing to recompile the kernel just to get the logo, to bad in the repo-ck they don't just include it....

Last edited by DasFox (2011-11-23 02:06:54)


12 Year Linux Vet, Don't Let The Post Count Fool Ya! But Sure I Don't Know Everything, Who Does? That's Why I Ask. smile

Offline

#11 2011-12-30 01:23:06

bassu
Member
Registered: 2011-12-21
Posts: 90

Re: Build Kernel with Arch Linux Logo

Linux-ck in AUR has an option in its PKGBUILD which does the same to enable CONFIG_LOGO in kenel source

_usearchlogo="n"

But the sad part is, you cannot still see the Arches in your boot, because I assume their support has been removed from the source of Arch's Linux repository -- unless you know how to build a kernel from upstream kernel.org source with boot logos provided you are willing to!


The greatest threat to knowledge is not ignorance - it is the illusion of knowledge!

Offline

#12 2011-12-30 01:43:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,384

Re: Build Kernel with Arch Linux Logo

bassu wrote:

...But the sad part is, you cannot still see the Arches in your boot, because I assume their support has been removed from the source of Arch's Linux repository -- unless you know how to build a kernel from upstream kernel.org source with boot logos provided you are willing to!

Welcome to Arch Linux. Your assertion is not quite correct.  The logos are there, they just are not displayed because Arch enables early Kernel Mode Switching

See:
https://bbs.archlinux.org/viewtopic.php?id=130303
https://bbs.archlinux.org/viewtopic.php?id=87385

To make this work, you need to create a kernel that has your video drivers built in so they are available as soon as the kernel is loaded rather than having to wait for the modules to load.

Building a custom kernel is easy, there are several in the AUR.  You will need to use their mechanisms for modifying the configuration files for your system.

In any event, downloading and building a kernel from kernel.org is a good exercise.  If you are interested, Gentoo's forums has a wealth of information on how to do it.  It is mostly applicable to Arch.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#13 2011-12-30 03:11:42

bassu
Member
Registered: 2011-12-21
Posts: 90

Re: Build Kernel with Arch Linux Logo

ewaller wrote:
bassu wrote:

...But the sad part is, you cannot still see the Arches in your boot, because I assume their support has been removed from the source of Arch's Linux repository -- unless you know how to build a kernel from upstream kernel.org source with boot logos provided you are willing to!

Welcome to Arch Linux. Your assertion is not quite correct.  The logos are there, they just are not displayed because Arch enables early Kernel Mode Switching

See:
https://bbs.archlinux.org/viewtopic.php?id=130303
https://bbs.archlinux.org/viewtopic.php?id=87385

To make this work, you need to create a kernel that has your video drivers built in so they are available as soon as the kernel is loaded rather than having to wait for the modules to load.

Building a custom kernel is easy, there are several in the AUR.  You will need to use their mechanisms for modifying the configuration files for your system.

In any event, downloading and building a kernel from kernel.org is a good exercise.  If you are interested, Gentoo's forums has a wealth of information on how to do it.  It is mostly applicable to Arch.

Interesting.
So, the ATI Radeon modules may be missing from the kernel I built. I don't remember anything particular including into it though I see KMS has radeon builtin since 2.6.
Will try again with precompiled modules in kernel when I reboot next time but till then all I can say is thanks big_smile

Last edited by bassu (2011-12-30 03:12:23)


The greatest threat to knowledge is not ignorance - it is the illusion of knowledge!

Offline

Board footer

Powered by FluxBB