[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] pv-grub installation problem
Hello, I am trying to install pv-grub for my guest domains and I am facing some troubles with that. I followed the steps as provided on the wiki - http://wiki.xen.org/wiki/PvGrub, or more like http://backdrift.org/xen-pvgrub-howto I tried to manually install the kernel packages in guest - linux-headers-3.13.5-031305-generic_3.13.5-031305.201402221823_amd64.deb linux-headers-3.13.5-031305_3.13.5-031305.201402221823_all.deb linux-image-3.13.5-031305-generic_3.13.5-031305.201402221823_amd64.deb sudo dpkg -i linux-header-*deb linux-image-*deb and I get the following output: (Reading database ... 24775 files and directories currently installed.) Preparing to replace linux-headers-3.13.5-031305-generic 3.13.5-031305.201402221823 (using linux-headers-3.13.5-031305-generic_3.13.5-031305.201402221823_amd64.deb) ... Unpacking replacement linux-headers-3.13.5-031305-generic ... Preparing to replace linux-headers-3.13.5-031305 3.13.5-031305.201402221823 (using linux-headers-3.13.5-031305_3.13.5-031305.201402221823_all.deb) ... Unpacking replacement linux-headers-3.13.5-031305 ... Selecting previously unselected package linux-image-3.13.5-031305-generic. Unpacking linux-image-3.13.5-031305-generic (from linux-image-3.13.5-031305-generic_3.13.5-031305.201402221823_amd64.deb) ... Done. Setting up linux-headers-3.13.5-031305 (3.13.5-031305.201402221823) ... Setting up linux-image-3.13.5-031305-generic (3.13.5-031305.201402221823) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.5-031305-generic /boot/vmlinuz-3.13.5-031305-generic update-initramfs: Generating /boot/initrd.img-3.13.5-031305-generic run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.5-031305-generic /boot/vmlinuz-3.13.5-031305-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.5-031305-generic /boot/vmlinuz-3.13.5-031305-generic Generating grub.cfg ... cat: /boot/grub/video.lst: No such file or directory /usr/sbin/grub-probe: warn: disk does not exist, so falling back to partition device /dev/xvda2. Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. /usr/sbin/grub-probe: warn: disk does not exist, so falling back to partition device /dev/xvda2. Found linux image: /boot/vmlinuz-3.13.5-031305-generic Found initrd image: /boot/initrd.img-3.13.5-031305-generic /usr/sbin/grub-probe: warn: disk does not exist, so falling back to partition device /dev/xvda2. Found linux image: /boot/vmlinuz-3.13.5-guest Found initrd image: /boot/initrd.img-3.13.5-guest /usr/sbin/grub-probe: warn: disk does not exist, so falling back to partition device /dev/xvda2. done Setting up linux-headers-3.13.5-031305-generic (3.13.5-031305.201402221823) ... There is no /boot/grub/device.map file. Also, I manually tried to install grub on /dev/xvda2, but it gives me similar messages: root@u3:~# grub-install --boot-directory=/ /dev/xvda2 /usr/sbin/grub-probe: warn: disk does not exist, so falling back to partition device /dev/xvda2. /usr/sbin/grub-setup: warn: disk does not exist, so falling back to partition device /dev/xvda2. /usr/sbin/grub-setup: error: cannot guess the root device. Specify the option `--root-device'. root@u3:~# mount /dev/xvda2 on / type ext3 (rw,noatime,nodiratime,errors=remount-ro) Clearly, the MBR is not properly set up. So, of course when I try to boot the guest domain I get the "grubdom>" prompt, and I am not able to boot. Can somebody let me know what is going wrong and how I can fix it? Thanks, Aastha _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |