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

Re: [Xen-users] xen 4.0-testing: cannot install grub in debian domU (bo

To: Niccolò Belli <darkbasic4@xxxxxxxxx>
Subject: Re: [Xen-users] xen 4.0-testing: cannot install grub in debian domU (both hvm and pv)
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Sat, 26 Jun 2010 08:51:06 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 26 Jun 2010 08:53:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=UWEO8/hJKcbLQ8CdYSEFJBWAR3BSQ+jk0cejT3gCUJY=; b=Ibr5OYW1RY4WnqR5HMXWqWNsKdBNdsuMLfLoSPqgrFjUvKfbSa9pL7YtEQ3L4de1bA t9bqmRhN+fgkeIg7FRXRqrTBwfBLucgUitxAZz79KAP/4zaFqvtMBD/FMop1/kF57XQO x8Bw9zs+n5p0idTRI6klfmVV+1R4ZTU8fdRxo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=F33PrN7x+RFt5s0OkxICfgKgoeDVU4r1VkzuNpg2/92EXx4cjYXJBSw+0RTcnwNmv7 g4C+J7ES0mEDYuMKDXGWgc3xBOiAdKbbGR3esmM5pPBXLXM6vJ0MwQAE9V4Fjgi7bEaj YyiZHI3M8KUEHDxucVHWYpGCqJbD8wCoOB3TY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimSgqOwwnsurIPKPhwsetwlfH1OqRoMeyuS5BCA@xxxxxxxxxxxxxx>
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: <AANLkTimSgqOwwnsurIPKPhwsetwlfH1OqRoMeyuS5BCA@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Isn't /dev/xvda just the notation for mapping drives in the .cfg file? 
I would assume you would need to mount the root .img via loopback, chroot into it, and install form there, or use the grub-install --rootdir option outside of it.

-Bruce


2010/6/26 Niccolò Belli <darkbasic4@xxxxxxxxx>
# dd if=/dev/zero of=/srv/xen/webserver.img oflag=direct bs=1M seek=4095 count=1
# dd if=/dev/zero of=/srv/xen/webserver.img oflag=direct bs=1M count=4096

root@debian:~# grub-install /dev/xvda
Searching for GRUB installation directory ... found: /boot/grub
The file /boot/grub/stage1 not read correctly.

Darkbasic

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users