Skip to contentSkip to conversation

Xen not booting !

Xen-devel Boris Derzhavets 2 participants 2 messages Jul 18, 2009

lore
Share & tools
lore
#0 lore raw

Marc wrote you. Check /boot folder for intrd-2.6.18-xen.img presence. It' s just names mismatching or you didn't install initrd  into /boot.

Boris.

--- On Sat, 7/18/09, Leena M. <[email protected]> wrote:

From: Leena M. <[email protected]>
Subject: Re: [Xen-devel] Xen not booting !
To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "xen-devel" <[email protected]>, [email protected], [email protected]
Date: Saturday, July 18, 2009, 12:00 PM

Do you think there is some problem with the way I did the installation ? Wrongly created the initrd file ??
are the /etc/fstab and the device.map entries are in sync with the grub/menu.lst and please find the config file attached if that is required.

On Sat, Jul 18, 2009 at 9:24 PM, Boris Derzhavets <[email protected]> wrote:

You are right. Only third file missing. My mistake.

Boris.

--- On Sat, 7/18/09, Marc - A. Dahlhaus <[email protected]> wrote:

From: Marc - A. Dahlhaus <[email protected]>
Subject: Re: [Xen-devel] Xen not booting !
To: "Leena M." <[email protected]>

Date: Saturday, July 18, 2009, 11:45 AM

Hello,

Quoted 7 lines · Leena M.

Hi All,
        I am not able to boot Xen .

My "/boot/grub/menu.lst"  has this entry

title           Xen 3.3.2-rc5 / Debian GNU/Linux, kernel

2.6.18.8-xen

Quoted 8 lines

root            (hd0,0)
kernel          /boot/xen-3.3.2-rc5.gz
module          /boot/vmlinuz-2.6.18.8-xen root=/dev/sda1 ro console=tty0 module          /boot/initrd.img-2.6.18.8-xen

savedefault

Quoted 8 lines

I am getting following error :
ERROR WHILE BOOTING =>
------------------------------
--------------------------------------------------------------------

Booting 'Xen 3.3.2-rc5 / Debian GNU/Linux, Kernel 2.6.18.8-xen'

root (hda0,0)

looks like a typo here you entered this by hand didn't you?!

Quoted 3 lines

Filesystem type is ext2fs, partition type 0x83
kernel /boot/xen-3.3.2-rc5.gz [Multiboot-elf,<0x100000:0xfd6b0:0x77950>,shtab=0x275078,entry=0

grub found the file

Quoted 1 line

module

/boot/vmlinuz-2.6.18.8-xen root=/dev/sda1 ro console=tty0

Quoted 1 line

    [Multiboot-module @ 0x276000,0x5419c0 bytes]

grub found the file

Quoted 3 lines

module /boot/initrd.img-2.6.18.8-xen

Error 15: File not found

grub found no such file /boot/initrd.img-2.6.18.8-xen on (hd0,0)... typo in filename?

on grubs prompt a "ls (hd0,0)/boot" should show what grub can load and what not...

Quoted 15 lines

press any key to continue ...
-----------------------------------------------------------------------------------------------------

Please Help me.

----
  I followed the following procedure from the
"Introduction to the Open Source Xen Hypervisor"
Zach Shepherd and Wenjin
taken from xen blog.

Quoted 4 lines

Install required packages

(e.g. apt-get install gawk libssl-dev libx11-dev gettext libncurses-dev build-essential

python-dev texlive-latex-base transfig tetex-extra

Quoted 16 lines

bcc bin86 pciutils-dev git-core curl texinfo libc6-dev mercurial bridge-utils graphviz)
Download the latest Xen release
(e.g. hg clone http://xenbits.xen.org/xen-3.3-testing.hg)

Compile and Install
(e.g. make world; make install)
Create a ramdisk
(e.g depmod 2.6.18.8-xen;mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen )
Configure the bootloader

(e.g update-grub)

Quoted 7 lines

Following are the entries in relevant files =>
-------------------------------------------------------------------------------------------------

# cat /etc/fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>

<options>       <dump>  <pass>

Quoted 9 lines

proc            /proc           proc    defaults        0       0 /dev/sda1       /               ext3    defaults,errors=remount-ro 0       1

/dev/sda5       none            swap    sw              0       0 /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
-----------------------------------------------------------------------------------------------------

# cat

/boot/grub/device.map

Quoted 10 lines

(hd0)   /dev/sda
(hd1)   /dev/sdb
-------------------------------------------------------------------------------------------------------

Regards,

Leena
------------------------------------------------------------------------

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#1 lore raw

God bless you Boris & Marc , It worked !

Regards,
Leena

Quoted 17 lines · Boris Derzhavets

Marc wrote you. Check /boot folder for intrd-2.6.18-xen.img presence. It' s just names mismatching or you didn't install initrd into /boot.

Boris.

--- On *Sat, 7/18/09, Leena M. <[email protected]>* wrote:

From: Leena M. <[email protected]>
Subject: Re: [Xen-devel] Xen not booting !
To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "xen-devel" < [email protected]>, [email protected], [email protected]
Date: Saturday, July 18, 2009, 12:00 PM

Quoted 139 lines

Do you think there is some problem with the way I did the installation ? Wrongly created the initrd file ??
are the /etc/fstab and the device.map entries are in sync with the grub/menu.lst
and please find the config file attached if that is required.

On Sat, Jul 18, 2009 at 9:24 PM, Boris Derzhavets <[email protected]<http://mc/[email protected]>

Quoted 129 lines

wrote:

You are right. Only third file missing. My mistake.

Boris.

--- On *Sat, 7/18/09, Marc - A. Dahlhaus <[email protected]<http://mc/[email protected]>

Quoted 1 line · * wrote:

From: Marc - A. Dahlhaus <[email protected] <http://mc/[email protected]>>
Subject: Re: [Xen-devel] Xen not booting !
To: "Leena M." <[email protected]<http://mc/[email protected]>

Quoted 1 line

Cc: "xen-devel" <[email protected]<http://mc/[email protected]>>, [email protected]<http://mc/[email protected]>, [email protected]<http://mc/[email protected]>
Date: Saturday, July 18, 2009, 11:45 AM

Hello,

Quoted 9 lines · Leena M.

Hi All,
I am not able to boot Xen .

My "/boot/grub/menu.lst" has this entry

title           Xen 3.3.2-rc5 / Debian GNU/Linux, kernel 2.6.18.8-xen
root            (hd0,0)
kernel          /boot/xen-3.3.2-rc5.gz
module          /boot/vmlinuz-2.6.18.8-xen root=/dev/sda1 ro

console=tty0

Quoted 11 lines

module /boot/initrd.img-2.6.18.8-xen
savedefault

I am getting following error :
ERROR WHILE BOOTING =>
------------------------------
--------------------------------------------------------------------
Booting 'Xen 3.3.2-rc5 / Debian GNU/Linux, Kernel 2.6.18.8-xen'

root (hda0,0)

looks like a typo here you entered this by hand didn't you?!

Quoted 3 lines

Filesystem type is ext2fs, partition type 0x83
kernel /boot/xen-3.3.2-rc5.gz
[Multiboot-elf,<0x100000:0xfd6b0:0x77950>,shtab=0x275078,entry=0

grub found the file

Quoted 2 lines

module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda1 ro console=tty0
[Multiboot-module @ 0x276000,0x5419c0 bytes]

grub found the file

Quoted 3 lines

module /boot/initrd.img-2.6.18.8-xen

Error 15: File not found

grub found no such file /boot/initrd.img-2.6.18.8-xen on (hd0,0)... typo in filename?

on grubs prompt a "ls (hd0,0)/boot" should show what grub can load and what not...

Quoted 3 lines

press any key to continue ...

-----------------------------------------------------------------------------------------------------

Quoted 27 lines

Please Help me.

----
I followed the following procedure from the
"Introduction to the Open Source Xen Hypervisor"
Zach Shepherd and Wenjin
taken from xen blog.

Install required packages
(e.g. apt-get install gawk libssl-dev libx11-dev gettext libncurses-dev build-essential python-dev texlive-latex-base transfig tetex-extra bcc bin86 pciutils-dev git-core curl texinfo libc6-dev mercurial bridge-utils graphviz)
Download the latest Xen release
(e.g. hg clone http://xenbits.xen.org/xen-3.3-testing.hg)
Compile and Install
(e.g. make world; make install)
Create a ramdisk
(e.g depmod 2.6.18.8-xen;mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen )
Configure the bootloader
(e.g update-grub)

Quoted 2 lines

Following are the entries in relevant files =>

-------------------------------------------------------------------------------------------------

Quoted 10 lines
# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext3    defaults,errors=remount-ro
0       1
/dev/sda5       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0

-----------------------------------------------------------------------------------------------------

Quoted 4 lines
# cat /boot/grub/device.map
(hd0)   /dev/sda
(hd1)   /dev/sdb

-------------------------------------------------------------------------------------------------------

Quoted 11 lines

Regards,
Leena
------------------------------------------------------------------------

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users