On Sun, Jan 11, 2009 at 07:49:19PM -0600, Robert Citek wrote: > How do I clone a system that uses LVM? > > I have an old system that has two drives (8 GB and 10 GB) which I used > LVM to spread several "partitions" across the two drives (sort of like > RAIDO). Now I'd like to take that system and clone it to a new > machine with a single 20 GB drive. I was able to create a single > partition and copy all the files to it, but when I try to boot it > kernel panics: > > Kernel panic: No init found. Try passing init= option to kernel. > > I tried init=/bin/bash, but still no luck. > > Here's a screenshot of what it looks like at bootup: > > http://groups.google.com/group/cwelug/web/lvm.screenshot.png
I would think you would need to update your grub device.map (typically /boot/grub/device.map) and possibly the grub menu.lst to reflect the face that you have the system on a physical hard drive rather than a software RAID. device.map should likely map (hd0) to /dev/hda (since your drive is only 20 GB, I presume it is IDE). -- David Dooling http://www.politigenomics.com/ --~--~---------~--~----~------------~-------~--~----~ Central West End Linux Users Group (via Google Groups) Main page: http://www.cwelug.org To post: [email protected] To subscribe: [email protected] To unsubscribe: [email protected] More options: http://groups.google.com/group/cwelug -~----------~----~----~----~------~----~------~--~---
