LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware64 current LVM (http://www.linuxquestions.org/questions/slackware-14/slackware64-current-lvm-4175472855/)

tuxbg 08-10-2013 02:36 AM

Slackware64 current LVM
 
My question is why i can't install Slackware with LVM.
I use this
Every time when reboot my computer i get kernel panic.I use huge kernel not generic,but with generic kernel is the same situation

tuxbg 08-10-2013 03:09 AM

Hm that is very strange.I miss -L to mkinitrd and now generic kernel works.But with huge kernel i got kernel panic

Stephen Morgan 08-10-2013 05:02 AM

You can't use an initrd with the huge kernel, so you can't use the huge kernel with LVM.

tuxbg 08-10-2013 05:04 AM

No i dont use initrd with huge kernel.
Huge kernel wont boot.Only generic kernel work.

GazL 08-10-2013 05:27 AM

If you have your rootfs on an lvm lv then you will need an initrd with lvm support ('-L') before the rootfs can be mounted. I don't know why Stephen believes you can't use an initrd with a huge kernel, but if you're going to need an initrd you might as well use the 'generic' kernel anyway.

Stephen Morgan 08-11-2013 12:52 AM

Quote:

Originally Posted by GazL (Post 5006718)
If you have your rootfs on an lvm lv then you will need an initrd with lvm support ('-L') before the rootfs can be mounted. I don't know why Stephen believes you can't use an initrd with a huge kernel, but if you're going to need an initrd you might as well use the 'generic' kernel anyway.

From README_CRYPT:

Quote:

We also need to change the kernel file to a generic kernel, because lilo
is unable to combine the 'huge' kernels in Slackware 14.0 with an initrd
image - it will complain about "The initial RAM disk is too big to fit
between the kernel and the 15M-16M memory hole" if you try a 'huge'
kernel. We can live with that, since the 'huge' kernels are not meant
for day-to-day use anyway.

TommyC7 08-11-2013 02:49 AM

One could always just add "large-memory" to /etc/lilo.conf somewhere.


All times are GMT -5. The time now is 06:51 PM.