How to create initrd.img to boot LVM-on-RAID0?

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

 



I'm having the devil of a time trying to boot off
an  "LVM-on-RAID0" device.

I've created a software RAID-0, defined a Volume Group on in with
(currently) a single logical volume, and copied my entire
installation onto it, modifying the copied fstab to reflect where
the new "/" is.

I created a new initrd with:

mkinitrd --preload raid0  --with=raid0 initrd_raid.img 2.6.22.5-76-fc7

Note: the LVM modules are getting included in the initrd "for free"
because I'm currently running on a non-raid LV-managed file system.

I added a stanza to grub.conf for the new initrd.img.

But the thing won't boot. From the boot messages it appears to not
be starting the array, so when it goes to scan for LVs it doesn't
find the one that's sitting on top of the array where root lives.

Are there instructions for how to make this work?  I've googled for
a couple of hours, tried a bunch of stuff, but can't get it to
work.  From what I've read I suspect I must hand-tweek the "init"
file in the initrd.

Surely there is "a right way" to do this.

Dean

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux