Re: Fedora Core 5 and Xen

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

 



Fong Vang wrote:
This is my grub.conf:

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
#password --md5 $1$s2SJHtjK$/6aIdbucGSdNSbzT2VhxE0
title Fedora Core (2.6.15-1.2054_FC5xen0)
        root (hd0,0)
        kernel /xen.gz-2.6.15-1.2054_FC5 noreboot
        module /vmlinuz-2.6.15-1.2054_FC5xen0 ro root=/dev/XenVol/MgtRootVol
        module /initrd-2.6.15-1.2054_FC5xen0.img
title Fedora Core (2.6.15-1.2054_FC5smp)
        root (hd0,0)
        kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=/dev/XenVol/MgtRootVol
        initrd /initrd-2.6.15-1.2054_FC5smp.img

This is /boot:

# ls -l /boot
total 12799
-rw-r--r-- 1 root root   63847 Mar 14 13:19 config-2.6.15-1.2054_FC5smp
-rw-r--r-- 1 root root   59663 Mar 14 13:49 config-2.6.15-1.2054_FC5xen0
-rw-r--r-- 1 root root   28213 Mar 14 13:58 config-2.6.15-1.2054_FC5xenU
drwxr-xr-x 2 root root    1024 Apr  7 16:50 grub
-rw-r--r-- 1 root root 1769662 Apr  7 12:12 initrd-2.6.15-1.2054_FC5smp.img
-rw-r--r-- 1 root root 1772055 Apr  7 15:51 initrd-2.6.15-1.2054_FC5xen0.img
-rw-r--r-- 1 root root 1599914 Apr  7 12:42 initrd-2.6.15-1.2054_FC5xenU.img
drwx------ 2 root root   12288 Apr  7 12:08 lost+found
-rw-r--r-- 1 root root   94600 Feb  8 07:39 memtest86+-1.65
-rw-r--r-- 1 root root  831559 Mar 14 13:19 System.map-2.6.15-1.2054_FC5smp
-rw-r--r-- 1 root root  814872 Mar 14 13:49 System.map-2.6.15-1.2054_FC5xen0
-rw-r--r-- 1 root root  637784 Mar 14 13:58 System.map-2.6.15-1.2054_FC5xenU
-rw-r--r-- 1 root root 1564844 Mar 14 13:19 vmlinuz-2.6.15-1.2054_FC5smp
-rw-r--r-- 1 root root 1529586 Mar 14 13:49 vmlinuz-2.6.15-1.2054_FC5xen0
-rw-r--r-- 1 root root 1232540 Mar 14 13:58 vmlinuz-2.6.15-1.2054_FC5xenU
-rw-r--r-- 1 root root  265925 Mar 14 12:45 xen.gz-2.6.15-1.2054_FC5
-rwxr-xr-x 1 root root  734680 Mar 14 14:22 xen-syms-2.6.15-1.2054_FC5

This is to listing of the ramdisk:

drwxr-xr-x   3 root     root            0 Apr  7 15:51 etc
drwxr-xr-x   2 root     root            0 Apr  7 15:51 etc/lvm
-rw-r--r--   1 root     root        10538 Apr  7 15:51 etc/lvm/lvm.conf
-rwxr-xr-x   1 root     root         1921 Apr  7 15:51 init
drwxr-xr-x   2 root     root            0 Apr  7 15:51 bin
-r-xr-xr-x   1 root     root      1577416 Apr  7 15:51 bin/lvm
-rwxr-xr-x   1 root     root       423428 Apr  7 15:51 bin/insmod
lrwxrwxrwx   1 root     root           10 Apr  7 15:51 bin/modprobe ->
/sbin/nash
-rwxr-xr-x   1 root     root      1353084 Apr  7 15:51 bin/nash
drwxr-xr-x   3 root     root            0 Apr  7 15:51 dev
crw-r--r--   1 root     root       1,   5 Apr  7 15:51 dev/zero
drwxr-xr-x   2 root     root            0 Apr  7 15:51 dev/mapper
crw-r--r--   1 root     root       4,   8 Apr  7 15:51 dev/tty8
crw-r--r--   1 root     root       4,   0 Apr  7 15:51 dev/systty
brw-r--r--   1 root     root       1,   1 Apr  7 15:51 dev/ram1
crw-r--r--   1 root     root       4,  64 Apr  7 15:51 dev/ttyS0
crw-r--r--   1 root     root       4,   4 Apr  7 15:51 dev/tty4
crw-r--r--   1 root     root       4,   1 Apr  7 15:51 dev/tty1
crw-r--r--   1 root     root      10, 135 Apr  7 15:51 dev/rtc
crw-r--r--   1 root     root       5,   1 Apr  7 15:51 dev/console
crw-r--r--   1 root     root       4,  11 Apr  7 15:51 dev/tty11
crw-r--r--   1 root     root       5,   0 Apr  7 15:51 dev/tty
crw-r--r--   1 root     root       4,   7 Apr  7 15:51 dev/tty7
brw-r--r--   1 root     root       1,   0 Apr  7 15:51 dev/ram0
crw-r--r--   1 root     root       4,   5 Apr  7 15:51 dev/tty5
crw-r--r--   1 root     root       4,   9 Apr  7 15:51 dev/tty9
crw-r--r--   1 root     root       4,  10 Apr  7 15:51 dev/tty10
crw-r--r--   1 root     root       4,   3 Apr  7 15:51 dev/tty3
crw-r--r--   1 root     root       4,  65 Apr  7 15:51 dev/ttyS1
crw-r--r--   1 root     root       4,   6 Apr  7 15:51 dev/tty6
crw-r--r--   1 root     root       4,   2 Apr  7 15:51 dev/tty2
crw-r--r--   1 root     root       4,  66 Apr  7 15:51 dev/ttyS2
crw-r--r--   1 root     root       5,   2 Apr  7 15:51 dev/ptmx
crw-r--r--   1 root     root       1,   3 Apr  7 15:51 dev/null
lrwxrwxrwx   1 root     root            4 Apr  7 15:51 dev/ram -> ram1
crw-r--r--   1 root     root       4,  67 Apr  7 15:51 dev/ttyS3
crw-r--r--   1 root     root       4,  12 Apr  7 15:51 dev/tty12
crw-r--r--   1 root     root       4,   0 Apr  7 15:51 dev/tty0
drwxr-xr-x   2 root     root            0 Apr  7 15:51 lib
-rw-r--r--   1 root     root        39972 Apr  7 15:51 lib/3w-9xxx.ko
-rw-r--r--   1 root     root        65920 Apr  7 15:51 lib/dm-mod.ko
-rw-r--r--   1 root     root       145020 Apr  7 15:51 lib/ext3.ko
-rw-r--r--   1 root     root         7788 Apr  7 15:51 lib/dm-zero.ko
-rw-r--r--   1 root     root       162352 Apr  7 15:51 lib/scsi_mod.ko
-rw-r--r--   1 root     root        24660 Apr  7 15:51 lib/sd_mod.ko
-rw-r--r--   1 root     root        72656 Apr  7 15:51 lib/jbd.ko
-rw-r--r--   1 root     root        24632 Apr  7 15:51 lib/dm-snapshot.ko
-rw-r--r--   1 root     root        29068 Apr  7 15:51 lib/dm-mirror.ko
drwxr-xr-x   2 root     root            0 Apr  7 15:51 proc
drwxr-xr-x   2 root     root            0 Apr  7 15:51 sysroot
lrwxrwxrwx   1 root     root            3 Apr  7 15:51 sbin -> bin
drwxr-xr-x   2 root     root            0 Apr  7 15:51 sys
7705 blocks


Hi Vang,

Sorry for delay in replying to you.

Thanks for including the contents of the ramdisk, too.

It all looks OK to me. The grub stanza is good; you're not missing any specified /boot files; the files in lib/* appear to be the ones needed for raid and lvm.

You should be able to use a "xenified" kernel to boot without the xen hypervisor. You might want to try that first to prove that it boots correctly before moving onto a xen hypervisor boot. Below is what that grub stanza should look like.

title Fedora Core (2.6.15-1.2054_FC5xen0)
      root (hd0,0)
      kernel /vmlinuz-2.6.15-1.2054_FC5xen0 ro root=/dev/XenVol/MgtRootVol
      module /initrd-2.6.15-1.2054_FC5xen0.img

That may help.  Sure hope so !-)



On 4/7/06, list user <vnstkxehgsznsq@xxxxxxxxxxxxxx> wrote:

Fong Vang wrote:

That prevented the system from rebooting.  Thanks for the tip.

For some reason the Xen0 kernel is unable to find the LVM volume.  Is
the xen0 kernel in FC5 compiled to support LVM?  This is the error
displayed on the screen:

Scanning logical volumes
  Reading all physical volumes.  This may take a while...
  No volume groups found
Activating logical volumes
  Unable to find volume group "XenVol"
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'

The originally installed kernel boots fine.

What am I missing?

It may be your /boot/grub/grub.conf file or you may need an initrd.

If you post the contents of your "/boot/grub/grub.conf" file and the
contents of /boot I'll take a look and see if I can help.




On 4/7/06, Datto <datto@xxxxxxxxxxx> wrote:


Is there a way to prevent the system from rebooting?

Put noreboot on the end of your kernel line of your grub.conf

Datto



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux