-
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

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k
$189.99

Seagate 6TB HDD ST6000NM0034 7.2K 3.5" SAS 12Gb/s (NOT FOR PC - FOR SERVER ONLY)
$87.00

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$329.99

HGST Ultrastar 6TB SATA 3.5" Enterprise HDD HUS726060ALA640 90-99% Health
$79.00

Western Digital WD WD4000FYYZ 01UL1B2 4TB SATA 3.5" HDD 64MB %100 Healthy
$68.99

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$299.00

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$669.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$49.00

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99