Re: booting from LVM2 in 2.6.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-02-24 at 09:14 +1100, Ganga Varatharajan wrote:
> I downloaded and compiled the 2.6.10 source, including some DVB drivers.
> 
> My boot parition is an LVM2 partition, /dev/mapper/VolGroup00-LogVol00.
> 
> I am able to reboot from this parition under the 2.6.10-1.766FC3 kernel and 
> the 2.6.9-1.667FC3 kernels. But under my 2.6.10 kernel (2.6.10-mythtv) I get 
> errors with the device mapper finding any logical paritions in the LVM 
> parition.
> 
> grub.conf reads:
> 
> default=0
> timeout=5
> splashimage=(hd1,1)/grub/splash.xpm.gz
> hiddenmenu
> title Windows XP
>         rootnoverify (hd0,0)
>         chainloader +1
> title Fedora Core (2.6.10-mythtv)
>         root (hd1,1)
>         kernel /vmlinuz-2.6.10-mythtv ro root=/dev/VolGroup00/LogVol00 rhgb 
> quiet
>         initrd /initrd-2.6.10-mythtv.img
> title Fedora Core (2.6.10-1.766_FC3)
>         root (hd1,1)
>         kernel /vmlinuz-2.6.10-1.766_FC3 ro root=/dev/VolGroup00/LogVol00 
> rhgb quiet
>         initrd /initrd-2.6.10-1.766_FC3.img
> title Fedora Core (2.6.9-1.667)
>         root (hd1,1)
>         kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb 
> quiet
>         initrd /initrd-2.6.9-1.667.img
> 
> 
> Do I need to build my initrd*.img with LVM2 support? I thought it is already 
> provided in mkinitrd-4.1.18-2.
> 
> Any clues would be appreciated. Thanks,

Have you tried comparing the contents of the various initrds?

$ gunzip -c /boot/initrd-2.6.10-1.760_FC3.img | cpio -t
etc.

When you say you downloaded and compiled the 2.6.10 source, do you mean
the kernel.org (vanilla) source, or did you take a Fedora kernel SRPM
and add your DVD driver patches to that? The latter approach would
probably achieve better compatibility as it would include whatever
patches the regular Fedora kernels have.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux