[opensuse-virtual] workaround for mkinitrd bug?
I'm unable to boot my guest with nfs root. I've compiled the kernel w/ nfs root. On boot it complains of no such device /dev/nfs I can see inside the initrd the fstab lists /dev/nfs I think I'm hitting hitting this bug: https://bugzilla.novell.com/show_bug.cgi?id=861218 They mention mkinitrd is dead, and I certainly generated the initrd parked on the dom0 with something like: mkinitrd -k vmlinuz-version-xen-nfsroot -i initrd-version-xen-nfsroot -f nfs The server is fully patched, is there a preferred work around for this? Should I be using something other than initrd w/ xen on opensuse 13.1? -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
My conf for this host has changed very little. I reference the newly named bridge interface, br0. I'm still including: root = '/dev/nfs' nfs_server = 'our_nfs_server_ip' nfs_root = '/vol/vm/previously_working_root' I see in via ip in the initrd that I'm getting the guest's IP and MAC are being passed in to eth0. Specifically I end up in the initrd with this output: device node not found fsck from util-linux 2.23.2 [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/nfs fsck.ext4: No such file or directory while trying to open /dev/nfs Possibly non-existent device? fsck failed. Mounting root device read-only. Mounting root /dev/nfs mount -o ro,defaults -t ext4 /dev/nfs /root mount: special device /dev/nfs does not exist On 12/17, Michael J Dur wrote:
Date: Wed, 17 Dec 2014 18:58:25 -0500 From: Michael J Dur <durm@seas.upenn.edu> To: opensuse-virtual@opensuse.org Subject: [opensuse-virtual] workaround for mkinitrd bug?
I'm unable to boot my guest with nfs root. I've compiled the kernel w/ nfs root. On boot it complains of no such device /dev/nfs I can see inside the initrd the fstab lists /dev/nfs
I think I'm hitting hitting this bug: https://bugzilla.novell.com/show_bug.cgi?id=861218
They mention mkinitrd is dead, and I certainly generated the initrd parked on the dom0 with something like:
mkinitrd -k vmlinuz-version-xen-nfsroot -i initrd-version-xen-nfsroot -f nfs
The server is fully patched, is there a preferred work around for this? Should I be using something other than initrd w/ xen on opensuse 13.1? -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Wed, Dec 17, Michael J Dur wrote:
Should I be using something other than initrd w/ xen on opensuse 13.1?
What is the kernel command line? Use root=server:/root instead of nfsroot=. Olaf -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (2)
-
Michael J Dur
-
Olaf Hering