-
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
Samsung Galaxy Tab A8 10.5" SM-X200 128GB Wifi Only Tablet Open Box
$149.99
Samsung Galaxy Tab A 8.0" 2019 SM-T290 32GB WiFi Tablet Open Box
$94.99
Samsung S24H851QFN 23.8'' Widescreen QHD PLS LCD LED Monitor With Stand
$49.99
SAMSUNG M393A2G40DB0-CPB 16GB PC4-17000P DDR4-2133 2RX4 ECC
$14.95
Samsung Book Cover Keyboard/Cover Case for Galaxy Tab S9, S9 5g, S9 FE, S9 FE 5g
$120.00
Samsung 860 Evo 250GB MZ7LH250HAHQ SSD
$11.95
Genuine Samsung Book Cover Keyboard for 14.6" Galaxy Tab S8 Ultra | S8 Ultra 5G
$89.99
Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)
$129.99
512GB SAMSUNG EVO Plus Micro SD MicroSDXC Flash Memory Card w/ SD Adapter
$21.99
Samsung 16GB 2Rx4 PC3-12800R M393B2G70BH0-CK0 DDR3 RDIMM - SERVER RAM
$8.90