[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen 4.0-testing: cannot install grub in debian domU (both hvm and pv)


  • To: Niccolò Belli <darkbasic4@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.