From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: Virtio with Debian GNU/Linux Etch Date: Fri, 17 Sep 2010 22:30:20 -0300 Message-ID: <20100918013020.GA19624@defiant.freesoftware> References: <20100917165601.GG9982@defiant.freesoftware> <4C93D99E.7000000@gmail.com> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" To: KVM General Return-path: Received: from mailout-de.gmx.net ([213.165.64.23]:37955 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1753008Ab0IRBa1 (ORCPT ); Fri, 17 Sep 2010 21:30:27 -0400 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id 6DF9A1B2 for ; Fri, 17 Sep 2010 22:26:51 -0300 (ART) Content-Disposition: inline In-Reply-To: <4C93D99E.7000000@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: --zhXaljGHf11kAtnf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Zdenek. El viernes 17 de septiembre del 2010 a las 23:11:58, Zdenek Kaspar escribi=F3: > > I have some installations with Debian GNU/Linux Etch I'm migrating > > to KVM. I just installed a kernel 2.6.26 from backports to use > > Virtio. > >=20 > > But when I try to boot the operating system, it can not find the vd* > > device to mount the root filesystem. I made sure to change the > > /etc/fstab using partitions vd* and using in the 'root' GRUB > > parameter the vd corresponding partition. Just in case it were not > > loading the module, I added 'virtioi-blk' in /etc/modules, but I > > keep getting the same problem. > >=20 > > What could be the problem? > 1) try put virtio_pci and virtio_blk into /etc/initramfs-tools/modules > and run update-initramfs Great! Following these steps, the kernel boots without problems! It draws attention to me that previous was not necessary to do with a stock kernel 2.6.26 of Debian GNU/Linux Lenny wanting to switch from using IDE disks to virtio disks. > BTW, for next kernel package updates you should modify grub menu.lst: > ie: # kopt=3Droot=3D/dev/vda1 ro otherwise next kernel update > (update-grub) will screw root parameter again if the entries were > automatically generated.. Thanks for the recommendation. Thanks to both for your replies. Regards, Daniel --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkyUFiwACgkQZpa/GxTmHTeuqACaAvp3dwb027AQy4fvGN94DYds X1AAn2eJYpaB1uzw5zKWBclMiRxgNw0t =+pZC -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--