LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-27-2005, 10:49 AM   #1
LittlesnowLinux
Member
 
Registered: Nov 2004
Location: China
Distribution: Debian
Posts: 30

Rep: Reputation: 15
how can I enable bootplash and framebuffer?


I have patched bootsplash patch to kernel-2.6.11.10 and compiled the kernel?How?
 
Old 05-29-2005, 11:18 AM   #2
OmegaBlac
Member
 
Registered: Aug 2003
Location: California
Distribution: Ubuntu
Posts: 172

Rep: Reputation: 31
Lightbulb Re: how can I enable bootplash and framebuffer?

Quote:
Originally posted by LittlesnowLinux
I have patched bootsplash patch to kernel-2.6.11.10 and compiled the kernel?How?
I was pretty successful in getting this to work (after some trial & error of course) with the following links to guide me along and use as reference. Hopefully they can be of some help to you also.

Read these pages:

http://www.bootsplash.org/
Graphic boot with bootsplash and progress bar in Debian a lil outdated but may still work.
Bootsplash mailing-list if you need more help
http://www.bootsplash.de/
The following two gentoo threads can provide some good reference material:
The Gentoo Framebuffer, Bootsplash & Grubsplash How-To
Gentoo Framebuffer, Bootsplash & Grubsplash - SUPPORT
 
Old 07-15-2005, 06:08 AM   #3
eqxro
Member
 
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203

Rep: Reputation: 30
I've been looking for a newer bootsplash patch for ages. 10q OmegaBlac for the links (especially bootsplash.de) Can't wait to get home and stuff the 2.6.12 patch in my kernel. Wish me luck (gentoo-ck3 with libata-dev1 patch)
 
Old 08-16-2005, 08:07 AM   #4
dapheonix
LQ Newbie
 
Registered: Jan 2005
Distribution: debian sarge or sid and knoppix
Posts: 8

Rep: Reputation: 0
initrd troubles

Hi, after reading this and the bootsplash.de instructions i am more than ready to put that boot splash in my debain SID. At one point it seems initrd is required, when I run mkinitrd it does nothing. Can anyone tell me why this might be. I made my kernel with make-kpkg kernel_image
--thanks
 
Old 08-16-2005, 04:54 PM   #5
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
This is a good bootsplash resource for Debian: DebBlue.
 
Old 08-17-2005, 06:17 AM   #6
Markup
LQ Newbie
 
Registered: Feb 2005
Distribution: RHEL4, SLED10, Ubuntu, Solaris
Posts: 26

Rep: Reputation: 15
Re: initrd troubles

Quote:
Originally posted by dapheonix
Hi, after reading this and the bootsplash.de instructions i am more than ready to put that boot splash in my debain SID. At one point it seems initrd is required, when I run mkinitrd it does nothing. Can anyone tell me why this might be. I made my kernel with make-kpkg kernel_image
--thanks
Hi, try using "dpkg-reconfigure bootsplash" and then when it asks you to choose an initrd if you select none it will make one for you.
 
Old 09-10-2005, 04:14 PM   #7
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
Hello there! I am in the middle, or so I think at least, of setting up my bootsplash kerenl but I am running into a bit of a problem:

I am working from one of the sites provided: http://debblue.debian.net/faq.php#faq3

This is where I am at:

cd /usr/src
tar -jxvf kernel-source-2.6.6.bz2
cd kernel-source-2.6.6
cp /boot/config-2.6.6-1-686 .config
../kernel-patches/all/apply/bootsplash
cp /boot/config-2.6.6-1 .config

linuxbox:/usr/src/kernel-source-2.6.8# cp /boot/config-2.6.8-2-386 .config ../kernel-patches/all/apply/bootsplash
cp: copying multiple files, but last argument `../kernel-patches/all/apply/bootsplash' is not a directory
Try `cp --help' for more information.

Any ideas as to what I am doing wrong?

Thanks
Eric.
 
Old 09-10-2005, 04:58 PM   #8
yanik
Member
 
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Rep: Reputation: 30
just add vga=791 to your kernel line in grub.conf, then get splashy from debian experimental. simple as that. No kernel module.
 
Old 09-10-2005, 05:37 PM   #9
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
Just to make sure:

title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro
initrd /boot/initrd.img-2.6.8-2-386

should be changed to:

title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro vga=791
initrd /boot/initrd.img-2.6.8-2-386

Is that it? How would I go about selecting a splash image then?

Thanks for the help,
Eric.
 
Old 09-10-2005, 05:50 PM   #10
yanik
Member
 
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Rep: Reputation: 30
here are the themes:
http://splashy.alioth.debian.org/themes/

The included readme tells how to install them. You can make your own pretty easily too.
 
Old 09-11-2005, 05:45 PM   #11
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
Sorry, though still having a bit of a problem:

I should note that I am working off of the http://splashy.alioth.debian.org/#FAQ
site, the "During boot I get the error: vesafb: probe failed ....."

eric@linuxbox:~$ dmesg | grep fb
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080
PCI: PCI BIOS revision 2.10 entry at 0xfbbbf, last bus=1
vesafb: probe of vesafb0 failed with error -6

Alright, so the problem is the frame buffer. The battle plain is to copy the vesafb.ko located in /kernel/drivers/video -> /initrd replacing the current vesafb.ko file. To accomplish this I will be entering:

cp /lib/modules/`uname -r`/kernel/drivers/video/vesafb.ko /lib/modules/`uname -r`/initrd/vesafb.ko
rm /lib/modules/`uname -r`/initrd/vesafb.ko

Does this look right to you?

Thanks,
Eric
 
Old 09-11-2005, 10:29 PM   #12
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by revenge80200
linuxbox:/usr/src/kernel-source-2.6.8# cp /boot/config-2.6.8-2-386 .config ../kernel-patches/all/apply/bootsplash
cp: copying multiple files, but last argument `../kernel-patches/all/apply/bootsplash' is not a directory
Try `cp --help' for more information.

Any ideas as to what I am doing wrong?
Sure, I can help you out here.
First do the copy .config command:
Code:
# cp /boot/config-2.6.8-2-386 .config
If you haven't created a symlink to the kernel-source,
you need to do so now:

Code:
# cd /usr/src
# ln -s kernel-source-2.6.8-2 linux
Then you need to apply the kernel patch w/next command.
Afterwards, just carry on with the remainder of the How-To.

Code:
# cd /usr/src/kernel-patches/diffs/bootsplash
# gzip -d bootsplash-3.1.4-sp3-2.6.8.1.diff.gz
# cd /usr/src/linux
# patch -p1 < /usr/src/kernel-patches/diffs/bootsplash/bootsplash-3.1.4-sp3-2.6.8.1.diff
And read the Jazz Up Your Debian System Boot.

Last edited by Xian; 09-11-2005 at 10:30 PM.
 
Old 09-12-2005, 10:21 AM   #13
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
Hello there Xian,

Thanks for helping, but I am sorry to say that I am still a bit confused, well, actually, I am just lost...

I was doing well, or so I think, until the last entry:

linuxbox:/home/eric# cp /boot/config-2.6.8-2-386 .config
linuxbox:/home/eric# cd /usr/src/
linuxbox:/usr/src# ln -s kernel-source-2.6.8-2 linux
linuxbox:/usr/src# cd /usr/src/kernel-patches/diffs/bootsplash
linuxbox:/usr/src/kernel-patches/diffs/bootsplash# gzip -d bootsplash-3.1.4-sp3- 2.6.8.1.diff.gz
linuxbox:/usr/src/kernel-patches/diffs/bootsplash# cd /usr/src/linux
bash: cd: /usr/src/linux: No such file or directory
linuxbox:/usr/src/kernel-patches/diffs/bootsplash# patch -p1 < /usr/src/kernel-p atches/diffs/bootsplash/bootsplash-3.1.4-sp3-2.6.8.1.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.6.8.1/drivers/char/keyboard.c linux-2.6.8.1-bootsplash/driver s/char/keyboard.c
|--- linux-2.6.8.1/drivers/char/keyboard.c 2004-08-14 12:56:26.000000000 +0 200
|+++ linux-2.6.8.1-bootsplash/drivers/char/keyboard.c 2004-08-15 10:36:26.0000 00000 +0200
--------------------------
File to patch:

Again, thanks for helping.
Eric.
 
Old 09-12-2005, 10:37 PM   #14
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by revenge80200
linuxbox:/usr/src# ln -s kernel-source-2.6.8-2 linux
linuxbox:/usr/src# cd /usr/src/kernel-patches/diffs/bootsplash
linuxbox:/usr/src/kernel-patches/diffs/bootsplash# gzip -d bootsplash-3.1.4-sp3- 2.6.8.1.diff.gz
linuxbox:/usr/src/kernel-patches/diffs/bootsplash# cd /usr/src/linux
bash: cd: /usr/src/linux: No such file or directory
linuxbox:/usr/src/kernel-patches/diffs/bootsplash# patch -p1 < /usr/src/kernel-p atches/diffs/bootsplash/bootsplash-3.1.4-sp3-2.6.8.1.diff
can't find file to patch at input line 4
Most likely your kernel-source file is named differently from kernel-source-2.6.8-2. Check the /usr/src directory on your system. I'd image its actual name is probably kernel-source-2.6.8. So, you need to remove that symlink and then create a new one to the proper folder.

Code:
# rmdir /usr/src/linux
# cd /usr/src
# ln -s kernel-source-2.6.8 linux
Now continue on with patching the kernel.

Code:
# cd /usr/src/linux
# patch -p1 < /usr/src/kernel-patches/diffs/bootsplash/3.1.4-sp3-2.6.8.1.diff

Last edited by Xian; 09-12-2005 at 10:38 PM.
 
Old 09-14-2005, 04:36 PM   #15
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
Hay there Xian, thanks for sticking around to help, this is where I am at now:

linuxbox:/usr/src/linux# patch -p1 < /usr/src/kernel-patches/diffs/bootsplash/3.1.4-sp3-2.6.8.1.diff
bash: /usr/src/kernel-patches/diffs/bootsplash/3.1.4-sp3-2.6.8.1.diff: No such file or directory
linuxbox:/usr/src/linux# ls /usr/src/kernel-patches/diffs/bootsplash/
bootsplash-3.0.7-2.4.18-vanilla.diff.gz bootsplash-3.1.4-2.6.4-r3.diff.gz
bootsplash-3.0.7-2.4.20-vanilla.diff.gz bootsplash-3.1.4-2.6.5.diff.gz
bootsplash-3.0.7-2.4.22-vanilla.diff.gz bootsplash-3.1.4-2.6.6.diff.gz
bootsplash-3.0.7-2.4.23.diff.gz bootsplash-3.1.4-2.6.7-r2.diff.gz
bootsplash-3.0.7-2.4.24-vanilla.diff.gz bootsplash-3.1.4-sp3-2.6.8.1.diff
bootsplash-3.1.3-2.6.0-test9.diff.gz bootsplash-3.1.4-sp3-2.6.9-rc4.diff.gz
bootsplash-3.1.4-2.6.10.diff.gz bootsplash-3.1.6-2.6.11.diff.gz
bootsplash-3.1.4-2.6.1.diff.gz bootsplash-3.1.6-2.6.12.diff.gz
bootsplash-3.1.4-2.6.2.diff.gz drivers
bootsplash-3.1.4-2.6.3.diff.gz
linuxbox:/usr/src/linux#

I tried to remove everything and start anew, though still no luck. I am using kernel 2.6.8-2-686.
I am not sure as to the error: "No such file or directory," I can list the contents of the folder and the file is there.

Any suggestion or ideas are much appreciated
Eric.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable framebuffer to have read/write access vidhyapria Red Hat 0 08-11-2005 07:26 AM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 03:21 PM
about the framebuffer? aesahaettr Linux - General 5 04-18-2004 03:49 PM
Framebuffer nrunge Linux - Newbie 4 11-05-2003 12:50 PM
framebuffer spank Linux - Newbie 1 09-05-2003 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration