Carl Robert Blesius
2005-Nov-09 09:27 UTC
[Xen-users] Installation Issues: VFS Floppy / Crash
New to Xen and having problems getting started. Hardware: 1.1 Hardware Notes: * HP ProLiant DL360 * 2 x 3.60 GHz/800 MHz (1MB L2) * 4 GB RAM * 2 x 146.8-GB ULTRA320 (10K) SCSI (HARDWARE RAID 1) Installation protocol: Fresh debian sarge webserver install apt-get emacs install hotplug twisted bridge-utils iproute iproute- dev bridge-utils libcurl3 libcurl3-dev bzip2 ncurses-dev python python2.3-dev latex cd /usr/src wget http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/ xen-2.0.7-src.tgz tar xzvf xen-2.0.7-src.tgz cd xen-2.0/ make world make install No problems so far. added this first portion to /boot/grub/menu.lst ############ title Xen 2.0 / XenLinux 2.6 root (hd0,0) kernel /boot/xen-2.0.gz dom0_mem=131072 module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0 savedefault boot title Debian GNU/Linux, kernel 2.4.27-2-386 root (hd0,0) kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/cciss/c0d0p1 ro initrd /boot/initrd.img-2.4.27-2-386 savedefault boot title Debian GNU/Linux, kernel 2.4.27-2-386 (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/cciss/c0d0p1 ro single initrd /boot/initrd.img-2.4.27-2-386 savedefault boot ########## reboot... everything looking good, but then the following happens during boot: Root-NFS: No NFS server available, giving up. VFS: Unable to mount root fs via NFS, trying floopy. VFS: Insert root floopy and press ENTER I press Enter and !!!!CRASH!!!! Reboot Looks like I am not alone: http://www.linuxformat.co.uk/index.php? name=PNphpBB2&file=viewtopic&t=613 I then tried adding an initrd ############ title Xen 2.0 / XenLinux 2.6 root (hd0,0) kernel /boot/xen-2.0.gz dom0_mem=131072 module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0 initrd /boot/initrd.img-2.4.27-2-386 savedefault boot ############ but that results in an error 19 (it complains about the initrd being loaded before the kernel which from the order in the grub file you see above does not make sense to me). Not sure what to try next... any tips? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ernst Bachmann
2005-Nov-09 09:40 UTC
Re: [Xen-users] Installation Issues: VFS Floppy / Crash
On Wednesday 09 November 2005 10:27, Carl Robert Blesius wrote:> New to Xen and having problems getting started....> No problems so far. > > added this first portion to /boot/grub/menu.lst > ############ > title Xen 2.0 / XenLinux 2.6 > root (hd0,0) > kernel /boot/xen-2.0.gz dom0_mem=131072 > module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0 > savedefault > boot > > title Debian GNU/Linux, kernel 2.4.27-2-386 > root (hd0,0) > kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/cciss/c0d0p1 ro > initrd /boot/initrd.img-2.4.27-2-386 > savedefault > boot...> ##########So, your root filesystem is on /dev/cciss/c0d0p1 or /dev/sda4 ?> reboot... > > everything looking good, but then the following happens during boot: > > Root-NFS: No NFS server available, giving up. > VFS: Unable to mount root fs via NFS, trying floopy. > VFS: Insert root floopy and press ENTER > > I press Enter and !!!!CRASH!!!!Well, thats not xen specific, you boot a linux kernel with wrong root= option, and it tries hard to find another root device, falling back to nfs and floppy...> Not sure what to try next... any tips?change> module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0into> module /boot/vmlinuz-2.6-xen0 root=/dev/cciss/c0d0p1 ro console=tty0and retry. If that doesn''t work, your vmlinuz-2.6-xen0 is missing the right drivers, you''ll need to recompile it. /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Carl Robert Blesius
2005-Nov-16 08:41 UTC
[Xen-users] Re: Installation Issues: VFS Floppy / Crash
Just wanted to let you know that your suggestions worked Ernst (I got sidetracked on something else and returned to this just now). Changing the kernel root option to point to an existing root device fixed my issue (I just stared up xend for the first time and am getting my bearings). The quick helpful response here is encouraging. Thanks, Carl> Date: Wed, 9 Nov 2005 10:40:31 +0100 > From: Ernst Bachmann <e.bachmann@xebec.de> > Subject: Re: [Xen-users] Installation Issues: VFS Floppy / Crash > To: xen-users@lists.xensource.com > Message-ID: <200511091040.32362.e.bachmann@xebec.de> > Content-Type: text/plain; charset="iso-8859-1" > > On Wednesday 09 November 2005 10:27, Carl Robert Blesius wrote: > >> New to Xen and having problems getting started. >> > ... > >> No problems so far. >> >> added this first portion to /boot/grub/menu.lst >> ############ >> title Xen 2.0 / XenLinux 2.6 >> root (hd0,0) >> kernel /boot/xen-2.0.gz dom0_mem=131072 >> module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0 >> savedefault >> boot >> >> title Debian GNU/Linux, kernel 2.4.27-2-386 >> root (hd0,0) >> kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/cciss/c0d0p1 ro >> initrd /boot/initrd.img-2.4.27-2-386 >> savedefault >> boot >> > ... > >> ########## >> > > > So, your root filesystem is on /dev/cciss/c0d0p1 or /dev/sda4 ? > > >> reboot... >> >> everything looking good, but then the following happens during boot: >> >> Root-NFS: No NFS server available, giving up. >> VFS: Unable to mount root fs via NFS, trying floopy. >> VFS: Insert root floopy and press ENTER >> >> I press Enter and !!!!CRASH!!!! >> > > Well, thats not xen specific, you boot a linux kernel with wrong > root= option, > and it tries hard to find another root device, falling back to nfs and > floppy... > > >> Not sure what to try next... any tips? >> > > change > >> module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0 >> > into > >> module /boot/vmlinuz-2.6-xen0 root=/dev/cciss/c0d0p1 ro >> console=tty0 >> > > and retry. If that doesn''t work, your vmlinuz-2.6-xen0 is missing > the right > drivers, you''ll need to recompile it. > > /Ernst > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users