Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
installing boot splash kernel on lvm setup
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Apr 12, 2011 6:16 pm    Post subject: installing boot splash kernel on lvm setup Reply with quote

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 Sad Could you point me to what I am doing wrong?

thanks
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Apr 12, 2011 6:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Apr 12, 2011 7:18 pm    Post subject: Reply with quote

thanks for the help! I actually get it Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional