Re: lvm and initrd

2004-11-22 Thread Tony Middleton
I did this recently so it can be done. Not sure it is the answer to your problem but I had to use the -r flag to mkinitrd. Benedict Verheyen wrote: Hi, i installed Sarge and opted to have all partitions including root on lvm2. /boot is not on lvm2 but plain ext2. However when i try to compile my

lvm and initrd

2004-11-05 Thread Benedict Verheyen
Title: lvm and initrd Hi, i installed Sarge and opted to have all partitions including root on lvm2. /boot is not on lvm2 but plain ext2. However when i try to compile my own kernel, the kernel is unable to mount /root. After i compile the kernel, i do this: mkinitrd -k -o /boot

Re: lvm and initrd

2004-11-05 Thread Richard Weil
Does the system run on LVM2 w/o a custom compiled kernel? If so, then this comment will not be helpful. If not, then ... As I understand it, by default the Debian mkinitrd will create an initrd based on the current root device. So, if you're using a non-LVM2 root device to build an initrd