Re: BootSplash With RedHat9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anyone willing to share that already made kernel, with say a kernel RPM
and a bootsplash rpm?  PLEASEEEEE



On Mon, 2003-07-28 at 10:34, Mr. Adam ALLEN wrote:
> On Fri, 2003-07-25 at 13:02, Neil Bird wrote:
> > Around about 24/07/2003 17:46, Chris Bice typed ...
> > > Is it possible to install the bootsplash features in RedHat 9??
> > > ANy help would be greatly appreciated.
> ..
> >    Install your new kernel RPM (leave old one just in case), install a 
> > theme into it's initrd & reboot ...
> 
> I opted for hacking a little with the mkinitrd source so that instead of
> manually having to modify the initrd image and grub config- mkinitrd
> would take care of it when the newly built kernel was installed. 
> 
> diff -Naur sbin_original/mkinitrd sbin_new/mkinitrd
> --- sbin_original/mkinitrd  2003-07-23 00:38:57.000000000 +0100
> +++ sbin_new/mkinitrd 2003-07-23 01:28:36.000000000 +0100
> @@ -504,6 +504,18 @@
>  mkdir -p $MNTIMAGE/lib
>  mkdir -p $MNTIMAGE/bin
>  mkdir -p $MNTIMAGE/etc
> +
> +if [ -e "/etc/bootsplash/splash.cfg" ]
> +then
> + mkdir -p $MNTIMAGE/etc/bootsplash/themes/plex
> + cp -f /etc/bootsplash/themes/plex/boot*.jpg $MNTIMAGE/etc/bootsplash/themes/plex
> +  cp -f /etc/bootsplash/splash*.cfg $MNTIMAGE/etc/bootsplash/
> + cp -f /sbin/fbresolution $MNTIMAGE/bin/fbresolution
> +#cp -f /sbin/getkey $MNTIMAGE/bin/getkey
> + cp -f /sbin/progress $MNTIMAGE/bin/progress
> + cp -f /sbin/splash $MNTIMAGE/bin/splash
> +fi
> +
>  mkdir -p $MNTIMAGE/dev
>  mkdir -p $MNTIMAGE/loopfs
>  mkdir -p $MNTIMAGE/proc
> @@ -572,6 +584,15 @@
>                                                                                                                              
>  echo "echo Mounting /proc filesystem" >> $RCFILE
>  echo "mount -t proc /proc /proc" >> $RCFILE
> +if [ -e "/etc/bootsplash/splash.cfg" ]
> +then
> + echo "/sbin/splash -s -u0 -n /etc/bootsplash/splash.cfg" >> $RCFILE
> + echo "/sbin/splash -s -u1 -n /etc/bootsplash/splash_booted.cfg" >> $RCFILE
> + echo "/sbin/splash -s -u2 -n /etc/bootsplash/splash_booted.cfg" >> $RCFILE
> + echo "/sbin/splash -s -u3 -n /etc/bootsplash/splash_booted.cfg" >> $RCFILE
> + echo "/sbin/splash -s -u4 -n /etc/bootsplash/splash_booted.cfg" >> $RCFILE
> + echo "/sbin/splash -s -u5 -n /etc/bootsplash/splash_booted.cfg" >> $RCFILE
> +fi
> 
> And also mkinitrd-3.4.42/grubby/new-kernel-pkg - around line 84 to
> automatically add the vga=XXX for grub.


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux