View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Apr 12, 2011 6:16 pm Post subject: installing boot splash kernel on lvm setup |
|
|
I created lvm partitions and installed SMS. Everything goes fine with install and it reboots. However, on installing the kernel from 'extra' iso and running lilo, when I reboot it does not boot but hangs and says 'this could be trouble'. Looks like it can not find new kernel.
Obviously, I am leaving out a step Could you point me to what I am doing wrong?
thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Apr 12, 2011 6:31 pm Post subject: |
|
|
If you follow the tutorial for LVM setup you should have a generic kernel installed.
Navigate to /boot and copy initrd.splash (or your bootsplash) to initrd-tree
Code: | cp /boot/initrd.splash /boot/initrd-tree/bootsplash |
and recreate the initrd.gz but this time don't add "-c" as it's clears the initrd-tree and create a new one e.g.
Code: | mkinitrd -k 2.6.35.11-smp -m ext4 -f ext4 -r /dev/sms/root -L |
If you don't have a generic kernel, install the bootsplash one from extra, and don't forget in /etc/lilo.conf to list the initrd.gz e.g.
Code: | image = /boot/vmlinuz-generic-2.6.35.11-smp
root = /dev/sda1
label = SMS
initrd = /boot/initrd.gz
read-only
|
Type 'lilo' and reboot.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Apr 12, 2011 7:18 pm Post subject: |
|
|
thanks for the help! I actually get it |
|
Back to top |
|
|