View previous topic :: View next topic |
Author |
Message |
thyrihad n00b


Joined: 17 Jun 2003 Posts: 45
|
Posted: Mon Sep 20, 2004 2:14 pm Post subject: HOWTO: bootsplash & root on EVMS. |
|
|
There is a small problem when you have your root partition on EVMS and you want a bootplash as well.
EVMS needs an initrd to activate your EVMS root partition, but bootsplash also needs an initrd so it can load it's images on boot.
The answer is to append the bootsplash initrd onto the end of the EVMS initrd, as the bootsplash code just scans the last 2 megs of the initrd for a unique signature that it embeds in it's initrd. However, there is plenty of room for error...
Assuming you are using the example EVMS initrd, uncompress it with:
Code: | gunzip evms-x.x.x-initrd.gz |
Then append the splash images to the end with:
Code: | /sbin/splash -s -f /path/to/your/bootsplash/config >>/path/to/evms-x.x.x-initrd |
Now, you should not gzip the initrd back up, because the bootsplash code won't find the bootsplash signature if it's been compressed. Just put the uncompressed EVMS/bootsplash initrd in /boot and point grub/lilo to it. I renamed mine to evms-x.x.x-bootsplash-initrd, where x.x.x is the version of EVMS.
You may be able to simply append the splash images to the end of a compressed EVMS initrd, but I didn't try this as I wasn't happy with how the kernel would handle uncompressing the file (with the extra crap on the end). Even if it does work, you won't be able to modify the EVMS initrd in the future, without losing your splash info, so I recommend not using compression at all. All you're losing is space on your boot partition, and not much at that.[/b] |
|
Back to top |
|
 |
irondog l33t


Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Tue Sep 21, 2004 9:04 am Post subject: |
|
|
There should be a way to do this when using gensplash. People needing an initrd for EVMS, LVM, DMRAID seem to be unable to use gensplash. _________________ Alle dingen moeten onzin zijn. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|