Bug#583071: initramfs-tools: initrd.img fails to boot with xen
Package: initramfs-tools
Version: 0.94.4
Severity: normal
Hi,
I am trying to boot xen with 2.6.32-5-xen-686 dom0 kernel using this grub2 entry.
menuentry "xen Debian GNU/Linux, with Linux 2.6.32-5-xen-686" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,3)'
multiboot /boot/xen-3.4-i386.gz dom0_mem=512M
module /boot/vmlinuz-2.6.32-5-xen-686 root=UUID=b3af1d44-5293-4d2f-a211-fcc23b88b7fc ro vga=0x317
module /boot/initrd.img-2.6.32-5-xen-686
}
The boot boot process ends here:
-------------------------------------------------------------------
Loading, please wait ..
mount: cannot read /etc/fstab: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or direcotry
mount: mounting /sys on /root/sys failed: No such file or direcotry
mount: mont /proc on /root/proc failed:No such file or direcotry
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg.
But, If I use the following grub entry to boot the dom0 kernel without xen.gz(same vmlinuz & initrd) the system boot sucessfully.
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-xen-686" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd1,3)'
search --no-floppy --fs-uuid --set b3af1d44-5293-4d2f-a211-fcc23b88b7fc
echo Loading Linux 2.6.32-5-xen-686 ...
linux /boot/vmlinuz-2.6.32-5-xen-686 root=UUID=b3af1d44-5293-4d2f-a211-fcc23b88b7fc ro noresume quiet
echo Loading initial ramdisk ...
initrd /boot/initrd.img-2.6.32-5-xen-686
}
I noticed that there is a similar bug without xen involved.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576677
I followed the suggestion to update the findutils(4.5.9-1) and (initramfs-tools 0.94.4).
But, the problem persists.
Kernel: Linux 2.6.32-5-xen-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.5.9-1 utilities for finding files--find,
ii klibc-utils 1.5.18-1 small utilities built with klibc f
ii module-init-tools 3.12~pre2-3 tools for managing Linux kernel mo
ii udev 154-1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
pn busybox | busybox-initramfs <none> (no description available)
initramfs-tools suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100525153825.2231.46845.reportbug@hjpc">http://lists.debian.org/20100525153825.2231.46845.reportbug@hjpc