Fedora Core 5 and Xen

Fong Vang sudoyang at gmail.com
Fri Apr 7 23:52:23 UTC 2006


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



On 4/7/06, list user <vnstkxehgsznsq at mailinator.com> 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 at charter.net> 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 at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list