LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   making debian looking nicer (https://www.linuxquestions.org/questions/debian-26/making-debian-looking-nicer-285942/)

leotorjeman 02-03-2005 05:43 PM

making debian looking nicer
 
as a part of my efforts to make debian sid look a bit nicer i want to make a nice bootsplash, is it a complicated thing to do in debian? is there a howto for debian sid kernel 2.6.10?

thanks

Dead Parrot 02-03-2005 07:11 PM

Actually I've only compiled the 2.6 kernel like once or twice (I prefer to use the Debian kernel images and they come with bootsplash disabled), but I seem to recall that in 2.6 kernels there's an in-built bootsplash option. Just download the kernel source with apt-get and follow the instructions in the sticky thread at the top of this forum. If you already have a Debian kernel image installed, I think you can use the /boot/config-<kernel_version> file to get a usable kernel configuration and just change the bootsplash option and then compile a kernel with bootsplash. There's probably more info about this in the thread I mentioned.

ch_music 02-03-2005 07:21 PM

Hmphz, you can try reading:

http://www.desktop-linux.net/bootsplash.htm

It tells the step-by-step installationg of bootsplash program from http://www.bootsplash.de . The instructions should work fine with kernel-source-2.8.*. It involves patching and recompiling kernel though. If you are fine with that, go for it! As the previous post suggest, you could read the sticky post on re-compiling kernel in debian.

leotorjeman 02-04-2005 03:42 AM

Quote:

Originally posted by ch_music
Hmphz, you can try reading:

http://www.desktop-linux.net/bootsplash.htm

It tells the step-by-step installationg of bootsplash program from http://www.bootsplash.de . The instructions should work fine with kernel-source-2.8.*. It involves patching and recompiling kernel though. If you are fine with that, go for it! As the previous post suggest, you could read the sticky post on re-compiling kernel in debian.

thanks, i am compiling the kernel-source-2.6.10 but when i type make xconfig i get the following error:

Code:

  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  HOSTCC  scripts/kconfig/zconf.tab.o
/usr/share/qt3/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
  HOSTCXX scripts/kconfig/qconf.o
  HOSTLD  scripts/kconfig/qconf
scripts/kconfig/qconf arch/i386/Kconfig
qconf: cannot connect to X server
make[1]: *** [xconfig] Error 1
make: *** [xconfig] Error 2

what can i do about this?

also i tryed to type make menuconfig but the i get:

Code:

/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>> You must install ncurses-devel in order
>> to use 'make menuconfig'

make[2]: *** [scripts/lxdialog/ncurses] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2

how can i fix both problems?

Moloko 02-04-2005 06:14 AM

To run anything graphical as root in the user environment try:
cp /home/someuser/.Xauthority /root/
and rerun 'make xconfig'

The second, apt-get install ncurses-dev. (I only have ncurses-base, ncurses-bin and ncurses-term installed, not the dev...)

leotorjeman 02-04-2005 06:52 AM

well make xconfig still doesn't work, the same error but make menuconfig does work. i compiled the kernel and install the .deb but when i run:
apt-get install bootsplash
i get the following error:

Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up bootsplash (3.1-6) ...
Gtk-WARNING **: cannot open display: at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 47.
debconf: unable to initialize frontend: Gnome
debconf: (DISPLAY problem?)
debconf: falling back to frontend: Dialog
Building bootsplash initrd image...
cp: cannot stat `.orig': No such file or directory
cp: cannot stat `': No such file or directory
dpkg: error processing bootsplash (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bootsplash-theme-debian-wave: bootsplash-theme-debian-wave depends on bootsplash (>= 3.0.7-5); however:
Package bootsplash is not configured yet.
dpkg: error processing bootsplash-theme-debian-wave (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bootsplash
bootsplash-theme-debian-wave

also, what can i delete from /usr/src? do i still need the kernel source?
here is my /usr/src content:
kernel-doc-2.6.10_Custom.1_all.deb
kernel-headers-2.6.10
kernel-headers-2.6.10_Custom.1_i386.deb
kernel-headers-2.6.8-2
kernel-headers-2.6.8-2-k7
kernel-image-2.6.10_Custom.1_i386.deb
kernel-kbuild-2.6-3
kernel-source-2.6.10
kernel-source-2.6.10.tar.bz2
kernel-source-2.6.10_Custom.1_all.deb
kernel-source-2.6.10_Custom.1_i386.changes
linux

linux points to the new kernel source

thanks

DaWallace 02-04-2005 07:08 AM

sorry...

ch_music 02-04-2005 11:11 AM

I'm sorry for the previous typo. It was supposed to be kernel 2.6.*.

Hmphz, I tried that on my system just now. I got the same problem. So I guess you're not alone this time. I'll try to solve it during weekend (no promise I can though =S). It's 1 am at my place now.. need to zZz first.. :D

Anyone else can help?

Cheers (zZz),
Chris

leotorjeman 02-04-2005 02:32 PM

it's OK, i guessed you meant 2.6 and not 2.8..
another thing, when 2.6.11 will released, i will have to compile everything again? all the bootsplash patch and the kernel itself?
also which kernel folders can i safely delete from /usr/src and can i delete the .deb's?

thanks and have a good night ;)

ch_music 02-04-2005 07:14 PM

Morning!

Erm, yes unfortunately. That's the safest thing to do anyway. Get the source from debian! Ah yes, if you try to get the pristine source (the one from www.kernel.org), you have to apply debian patches (for the cramfs). So just get the source from debian. Actually it's quite fun compiliing a kernel. You can copy the configuration file .config from the previous kernel directory to the new one so that you don't have to reconfigure the whole thing from scratch, but always do make xconfig (or menuconfig) to make sure you know what changes and whether they are important. And configuring a kernel is kinda fun! ;) I'm trying different configuration to see how slim my kernel can get... =)

I still can't get bootsplash installed, tell me if you can! =)

And, you can delete everything in that folder. You can do apt-get remove kernel-source-2.6.10 to remove the file kernel-source-2.6.10.tar.bz2. Then you can delete everything else. You may want to keep the .deb of the most recent kernel if you want and the most recent kernel-source directory (I guess keeping the file .config is basically what you need to do if you really want to delete everything ;)).

Okay, all the best for the next kernel! =)

Cheers!
Chris

leotorjeman 02-05-2005 05:38 PM

hi, sorry it took me so long to answer, just tried bootsplash again but none, same error, hope it get fixed soon, can wait to see bootsplash in debian.

thanks for all your help and good night! (1:40 AM here in Israel...)

short101 02-06-2005 03:10 AM

Had the same problem today, except using synaptic. Fixed it by unmarking everything (for you bootsplash-debian-wave) Then just apt-get bootsplash. It will then install bootsplash with the linux-new theme. Then you can apt-get whatever you want. Took me a while to get it to work, but finally got bootsplash installed.

leotorjeman 02-06-2005 03:50 AM

Quote:

Originally posted by short101
Had the same problem today, except using synaptic. Fixed it by unmarking everything (for you bootsplash-debian-wave) Then just apt-get bootsplash. It will then install bootsplash with the linux-new theme. Then you can apt-get whatever you want. Took me a while to get it to work, but finally got bootsplash installed.
just tried that, still not working, same error.

leotorjeman 02-08-2005 07:25 AM

hi, is there any progress with bootsplash? is it working for you? still not working for me, same error like before.

yanik 02-08-2005 11:40 AM

Quote:

I found that there seems to be a bug in the vesafb.c code. I also found this fix: replace the Debian kernel-source-2.6.9/drivers/video/vesafb.c with the vesafb.c from the vanilla 2.6.9 kernel source.
Supposed to be true for 2.6.10 too. Hope this helps.

Yanik


All times are GMT -5. The time now is 03:00 AM.