-
Senior Member
registered user
graphical boot - solution
Now, finally, there is my solution for the graphical boot process. I tested all of this and it works like a charm. Graphical boot with just the tools that are already on the CD.
The user should be given the maximum freedom to customize this, so I usggest having a separate script /cdrom/KNOPPIX/preinit.sh that gets executed just before the INIT process is started.
Klaus Knopper should add the following to linuxrc inside miniroot.gz just before INIT is given control:
Code:
exec /cdrom/KNOPPIX/preinit.sh
This is the eqivalent of knoppix.sh except that is executed *before* the INIT process.
Then, we can have a /cdrom/KNOPPIX/preinit.sh which contains
Code:
fbi -q /usr/share/apps/ksplash/pics/splash_top.png &
and voila - we have a graphical Knoppix boot splash screen. The big advantages of this solution:
* you can press "esc" to see the boot messages
* no kernel patches are necessary
* user then can delete or modify his preinit.sh and change the splash to what he wants - including custom images, animations (using userland applications), etc.
* no messing around with miniroot.gz once the line above is included by default by KK
* no remastering of the compressed 700 MB file
Now it would be great if KK could incorporate this. And it would be even greater if he could replace that penguin with an invisible black box.
-
Senior Member
registered user
Re: graphical boot - solution

Originally Posted by
probono
Now, finally, there is my solution for the graphical boot process. I tested all of this and it works like a charm. Graphical boot with just the tools that are already on the CD.
The user should be given the maximum freedom to customize this, so I usggest having a separate script /cdrom/KNOPPIX/preinit.sh that gets executed just before the INIT process is started.
Klaus Knopper should add the following to linuxrc inside miniroot.gz just before INIT is given control:
Code:
exec /cdrom/KNOPPIX/preinit.sh
This is the eqivalent of knoppix.sh except that is executed *before* the INIT process.
Then, we can have a /cdrom/KNOPPIX/preinit.sh which contains
Code:
fbi -q /usr/share/apps/ksplash/pics/splash_top.png &
and voila - we have a graphical Knoppix boot splash screen. The big advantages of this solution:
* you can press "esc" to see the boot messages
* no kernel patches are necessary
* user then can delete or modify his preinit.sh and change the splash to what he wants - including custom images, animations (using userland applications), etc.
* no messing around with miniroot.gz once the line above is included by default by KK
* no remastering of the compressed 700 MB file
Now it would be great if KK could incorporate this. And it would be even greater if he could replace that penguin with an invisible black box.
Nice, I like this idea, but why must this be before init ? (Just question)
And for the penguin, I think there was some kernel-cheatcode or framebuffer-operation that could hide it.
KK will have questions though:
"What will happen on a system, that does not have FBdev-support ?
Will it try to switch to some mode and make booting unusable ?"
I think it does not and my tests did show that, but I think we need some more proof as KK of course is right, that it's an system critical feature and should not break systems.
I think we could persuade him though to add it first with some cheatcode so that you can do:
knoppix splash
to boot with graphical splash screen.
This way many users can test this feature and if it does work, it can be made default.
But I think as time is at the moment really pressing for KK, he'll not come do this before the LinuxTag-DVD is in the pressing company.
cu
Fabian
PS: Really good work!
-
Senior Member
registered user
Re: graphical boot - solution

Originally Posted by
Fabianx
Nice, I like this idea, but why must this be before init ? (Just question)
Simply because after the init process it's too late
Since we want the splash screen to show as early as possible in the boot process, it should definitely go before the init process, so that it can hide all the colorful hardware detection messages which can confuse some types of users.

Originally Posted by
Fabianx
And for the penguin, I think there was some kernel-cheatcode or framebuffer-operation that could hide it.
Yes, but that's something only KK can decide and do. But I think hiding the penguin will have no negative side effects on any system.

Originally Posted by
Fabianx
"What will happen on a system, that does not have FBdev-support ?
Let's test: Just start with knoppix vga=normal and see what happens... Unfortunately, I have only a limited number of computers to test it on 

Originally Posted by
Fabianx
I think we could persuade him though to add it first with some cheatcode so that you can do: knoppix splash
excellent idea!
Some areas that need work (unfortunately, my shell script knowledge is very limited so we'll need your help):
* Shutdown pictures. I don't know how to rewrite the shutdown/reboot script so that my processes don't get killed. We should definitely have this in userlandsplash v1.0!
* Animation instead of static picture. Could be done in preinit.sh using bootsplash.org userland binaries and a bit of shell scripting. Perhaps something for userlandsplash v1.1
* Progress bar and graphics/animations for fsck. Could be done using bootsplash.org userland binaries, but not in the way they intended it. Would require all initscripts to be modified. Probably something for userlandsplash v2.0
-
Senior Member
registered user
Fabian, would you now (as the Linuxtag is over....) like to ask Klaus to include this?
-
Senior Member
registered user

Originally Posted by
probono
Fabian, would you now (as the Linuxtag is over....) like to ask Klaus to include this?
I have already made a patch, but it is against knoppix-autoconfig ... I found it cleaner ...
However you can find a modified boot-floppy (which replaces knoppix-autoconfig in boot-stage) for 06-06 and earlier at:
http://debian.tu-bs.de/knoppix/2003-...Patch/boot.img
(beware its a german one)
This was alreasy as patch announced on debian-knoppix and will find with additional parameter of "knoppix splash" its way into the next iso ...
cu
Fabian
-
Senior Member
registered user

Originally Posted by
Fabianx
will find with additional parameter of "knoppix splash" its way into the next iso ...
great
thanks Fabian!
-
Senior Member
registered user
well, is it goin' to be in *any* new iso?
I like the idea...
-
Senior Member
registered user

Originally Posted by
Superstoned
well, is it goin' to be in *any* new iso?
I like the idea...
It is in the iso now! just boot with "knoppix splash"
-
Senior Member
registered user
I saw that 
really nice...
Similar Threads
-
By peteyjared3 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-02-2004, 12:03 PM
-
By knulle in forum General Support
Replies: 3
Last Post: 03-18-2004, 12:03 PM
-
By Tiggs in forum Hdd Install / Debian / Apt
Replies: 17
Last Post: 02-21-2004, 09:50 PM
-
Replies: 4
Last Post: 01-09-2004, 03:28 PM
-
By pj in forum Knoppix DVD
Replies: 1
Last Post: 09-12-2003, 08:18 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11
$400.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS
$144.98

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W
$29.00

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS
$189.98

DELL PRECISION 5820 TOWER | INTEL XEON W-2235 3.80GHZ | 512GB | 16GB | NO OS
$299.99

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW
$94.99

Intel Xeon Gold 6230R SRGZA 2.10GHz 35.75MB 26-Core LGA3647 Server CPU Processor
$138.00

Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core
$36.00