Fajar A. Nugraha schrieb:
> That can't be right, as I'm using it.
> Try this :
> - make sure the directory /var/run/xend/boot exists. If it's not,
No was not, created it.
> create it with mode 700, user/group xvm/xvm (creating a domU should
> also create this directory, if it doesn't exist)
~

saturn 10:41:35 # ls /var/run/xend/boot
/var/run/xend/boot: Datei oder Verzeichnis nicht gefunden
~
saturn 12:38:28 # mkdir /var/run/xend/boot
~
saturn 12:38:51 # chown xvm:xvm /var/run/xend/boot
~
saturn 12:38:54 # chmod 700 /var/run/xend/boot

> - run this
> 
> /usr/lib/xen/bin/pygrub /dev/dsk/c0t600A0B800049E902000007FD49B54652d0p0
> 
> (or whatever your block device is). It should bring up a pygrub menu
> and, afterwards print something like this

Sorry,
~
saturn 12:41:57 # /usr/lib/xen/bin/pygrub
/dev/dsk/c0t600A0B800049E902000007FD49B54652d0p1Traceback (most recent
call last):
  File "/usr/lib/xen/bin/pygrub", line 658, in ?
    chosencfg = run_grub(file, entry, fs)
  File "/usr/lib/xen/bin/pygrub", line 509, in run_grub
    g = Grub(file, fs)
  File "/usr/lib/xen/bin/pygrub", line 198, in __init__
    self.read_config(file, fs)
  File "/usr/lib/xen/bin/pygrub", line 388, in read_config
    raise RuntimeError, "couldn't find bootloader config file in the
image provided."
RuntimeError: couldn't find bootloader config file in the image provided.
~
saturn 12:41:59 # /usr/lib/xen/bin/pygrub
/dev/dsk/c0t600A0B800049E902000007FD49B54652d0p0
Traceback (most recent call last):
  File "/usr/lib/xen/bin/pygrub", line 658, in ?
    chosencfg = run_grub(file, entry, fs)
  File "/usr/lib/xen/bin/pygrub", line 509, in run_grub
    g = Grub(file, fs)
  File "/usr/lib/xen/bin/pygrub", line 198, in __init__
    self.read_config(file, fs)
  File "/usr/lib/xen/bin/pygrub", line 388, in read_config
    raise RuntimeError, "couldn't find bootloader config file in the
image provided."
RuntimeError: couldn't find bootloader config file in the image provided.

> If it doesn't work, try this :
> 
> - map the FC SAN LUN to a Linux dom0, and try it there
No linux next there.

> - post the content of your /boot/grub/menu.lst. Perhaps there's an
(attached and mounted in an other udom)
~
compute1 12:41:53 # mount /dev/xvdc1 /mnt/cdrom/
~
compute1 12:43:54 # cat /mnt/cdrom/boot/grub/menu.lst
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
#
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the
grub.conf.sample that
# is included with the Grub documentation.

default 0
fallback 1
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title  Gentoo Linux
root (hd0,0)
kernel (hd0,0)/boot/current root=/dev/xvda1 pcie_aspm.policy=powersave

title  Gentoo Linux Backup
root (hd0,0)
kernel /boot/backup root=/dev/xvda1

# vim:ft=conf:

> error in it. It will also be helpful to post your domU's partition
> table.
fdisk -l /dev/xvdc

Disk /dev/xvdc: 12.8 GB, 12884901888 bytes
255 heads, 63 sectors/track, 1566 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

    Device Boot      Start         End      Blocks   Id  System
/dev/xvdc1   *           1        1305    10482381   83  Linux
/dev/xvdc2            1306        1566     2096482+  83  Linux

Regards,
Florian

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to