Re: LVM2 and custom kernel

2006-04-16 Thread Manoj Srivastava
On 14 Apr 2006, Morten O. Hansen wrote: > I tried to recreate the initrd-image using mkinitrd (it says that > volume group "main" is found), but still it doesn't boot. > > Any more suggestions? my initrd-file is about half the size of the > 2.6.16 one, but i guess thats just because I have less mo

Re: LVM2 and custom kernel

2006-04-14 Thread Morten O. Hansen
Aaaah, finally, it works. :) I had to enable ramdisk-support, since I have the root on LVM. (ramdisk- and initrd-support). Thanks for your help! - Morten -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: LVM2 and custom kernel

2006-04-14 Thread Morten O. Hansen
On Fri, 2006-04-14 at 11:00 -0400, David Clymer wrote: > That sounds right... You could try starting with > your /boot/config-2.6.16-x-foo file from the debian kernel (since that > should have the required options selected) and customizing from there. I didn't really see anything I have missed..

Re: LVM2 and custom kernel

2006-04-14 Thread David Clymer
On Fri, 2006-04-14 at 14:49 +0200, Morten O. Hansen wrote: > > Which kernel are you compiling? Is it a debian kernel or a vanilla one > > from kernel.org? > > What version of debian are you running? > > What bootloader are you using? > > Do you have the lvm2 package installed? > > I'm trying 2.

Re: LVM2 and custom kernel

2006-04-14 Thread Morten O. Hansen
> Which kernel are you compiling? Is it a debian kernel or a vanilla one > from kernel.org? > What version of debian are you running? > What bootloader are you using? > Do you have the lvm2 package installed? I'm trying 2.6.15.7 now, from kernel.org. This is debian unstable, with GRUB, and yes

Re: LVM2 and custom kernel

2006-04-13 Thread David Clymer
On Thu, 2006-04-13 at 23:15 +0200, Morten O. Hansen wrote: > Hi there, > > I'm trying to build a custom kernel, and everything works except LVM2. > When the kernel is booting, and the lvm-script is trying to mount the > discs, it gives me a kernel-panic. I have googled it a bit, and I tried > addi