-
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
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O
$99.00
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$47.35
Gigabyte Ultra Durable B550 GAMING X V2 Desktop Motherboard
$94.99
***NEW*** BCM RX67Q mATX Gaming Motherboard Combo | Intel i5-3470 | 16GB DDR3
$49.77
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$121.50