[Ovirt-devel] Re: ovirt-appliance panic on boot
vignesh at atc.tcs.com
Fri Nov 28 12:23:47 UTC 2008
> On 11.11.2008, at 20:57, Alan Pevec wrote:
> Thomas von Steiger wrote:
> I get the same problem with version 0.95.
> On 11.11.2008, at 19:31, Dennis J. wrote:
> I just installed ovirt version 0.95 and when I start the appliance it panics with the following message:
> RAMDISK: Couldn't find valid RAM disk image starting at 0.
> VFS: Cannot open root device "sda2" or unknown-block(0,0)
> Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
> Is this a known issue and how can I get the appliance to boot up properly?
> is this i386 or x86_64 ?
> it's i386.
We were also facing the same problem. We solved the problem by
recreating the initrd file.
1. mount the ovirt-appliance image
# nohup qemu-nbd /var/lib/libvirt/images/ovirt-appliance.img &
# modprobe nbd
# nbd-client localhost 1024 /dev/nbd0
# kpartx -a /dev/nbd0
# mount /dev/mapper/nbd0p2 /mnt
# mount /dev/mapper/nbd0p1 /mnt/boot
2. do a chroot, backup the initrd image and recreate it
# chroot /mnt
# mv /boot/initrd-184.108.40.206-79.fc9.i686 /root
# mkinitrd /boot/initrd-220.127.116.11-79.fc9.i686 18.104.22.168-79.fc9.i686
# umount /mnt
# kpartx -d /dev/nbd0
# nbd-client -d /dev/nbd0
4. boot the machine
# virsh start ovirt-appliance
It solved our problem.
More information about the ovirt-devel