WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Full Virtualised Guest not booting with waiting for sda2 to

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Full Virtualised Guest not booting with waiting for sda2 to appear error
From: <peter.chiu@xxxxxxxxxx>
Date: Wed, 24 Mar 2010 19:14:24 -0000
Cc: peter.chiu@xxxxxxxxxx
Delivery-date: Wed, 24 Mar 2010 12:16:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EB1E7CB92F5B35459E0B926D2A614DB608A154E8@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4B88EEED.40803@xxxxxxx> <96b40cab1002271048n6a2b94b5n7134cf3305834d22@xxxxxxxxxxxxxx> <EB1E7CB92F5B35459E0B926D2A614DB608A154E8@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq33cyh0RrKcyG0SxCQqZuIvahqJQAChNtHBOa/PHA=
Thread-topic: Full Virtualised Guest not booting with waiting for sda2 to appear error

I would appreciate for some advice on how to resolve a DomU booting problem.

On an OpenSuse 11.2 (x86-64) server, I am trying to convert an OpenSuse 10.0 (x86-64) system as a full virtualised guest, using an image file.

The image file is produced by running dd if=/dev/sda | ssh xen_server “dd of=/disks/guest_image”.

This method has worked before on other OpenSuse 10.0 (x86_64) server, but not this time.

Basically when the guest os starts up, it seems to start up okay, but later complains

    “Waiting for /dev/sda2 to appear.... not found – exiting to /bin/sh”

and subsequently times out and returns a $ prompt, which does not seem to recognise any commands.

I am aware that I need to

a.       modify the guest config file so that the disk statement is referring to hda,

b.       the image itself needs to be modified in its /boot/grub/menu.lst so that all references on sda2 are replaced by hda2, and

c.       all references of sda2 in /etc/fstab are replaced by hda2.

This trick seems to work on another host (which incidentally uses sda1 / hda1, as oppose to sda2 / hda2).

But this time it does not.

Interesting enough, despite of the change of the /boot/grub/menu.lst file, it is still looking for /dev/sda2, rather than /dev/hda2.

During the boot up sequence, I can enter into the boot OS selection menu, select the boot entry, and edit the root device from /dev/sda2 to /dev/hda2.

Only this time, it fails with a similar error:

   “Waiting for /dev/hda2 to appear.... not found – exiting to /bin/sh”

Any idea how to recover from this situation?

Many thanks.

Peter


--
Scanned by iCritical.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Full Virtualised Guest not booting with waiting for sda2 to appear error, peter.chiu <=