Hi,
after a previous thread I start & some feedback you gave to me, about
creating xen VM I ask you for your help.
Here is the problem : `mount`. It was unable to find the disk/device
to mount it as root (/). After the linux kernel bootup (domU)
I create the VM by theses steps:
i''m on fedora 8 with xen 3.1.0-13
a) #fdisk /dev/sda		create a new part (sda4) type linux
b)format it with
   #mkfs.ext3 /dev/sda4
c)Copy on it all files from my distrib with :
   #cp -a / /mnt/sda4
  Edit the /mnt/sda4/etc/fstab to meet the reqs for the VM.
d)Start the vm from config file (see below).
   #xm create testvm.conf -c
	Booom! failed :''(	
I check every thing i can, fstab, VM config file & test several
things... But i was unable to fix the problem.
Someone can help me, point out whats wrong ?
Thanks,
---
Guillaume
---begin of xenVM config file---
kernel = "/boot/vmlinuz-2.6.21-2950.fc8xen"
ramdisk = "/boot/initrd-2.6.21-2950.fc8xen.img"
root = "root=/dev/sda1 ro"
#extra = "1"
memory = "128"
name = "Fedora-8-Guest"
disk = [ ''phy:sda4,sda1,w'' ]
---EOF---
---begin of boot---
#xm create testvm.conf -c
Using config file "./testvm.conf".
Started domain Fedora-8-Guest
                             Linux version 2.6.21-2950.fc8xen
(kojibuilder@xenbuilder2.fedora.redhat.com) (gcc version 4.1.2
20070925 (Red Hat 4.1.2-32)) #1 SMP Tue Oct 23 12:24:34 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000008800000 end:
0000000008800000 type: 1
 Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
  DMA             0 ->    34816
  Normal      34816 ->    34816
  HighMem     34816 ->    34816
early_node_map[1] active PFN ranges
    0:        0 ->    34816
ACPI in unprivileged domain disabled
Detected 2001.289 MHz processor.
Built 1 zonelists.  Total pages: 34544
Kernel command line: root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 1024 (order: 10, 4096 bytes)
Xen reported: 2000.198 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-f4ffe000, maxmem 2d7fe000
Memory: 118016k/139264k available (2071k kernel code, 12968k reserved,
1080k data, 188k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xf5315000 - 0xf57fe000   (5028 kB)
    pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
    vmalloc : 0xc9000000 - 0xf4ffe000   ( 703 MB)
    lowmem  : 0xc0000000 - 0xc8800000   ( 136 MB)
      .init : 0xc1319000 - 0xc1348000   ( 188 kB)
      .data : 0xc1205e5e - 0xc1313fd4   (1080 kB)
      .text : 0xc1000000 - 0xc1205e5e   (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4070.78 BogoMIPS (lpj=8141572)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking ''hlt'' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 98304 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 7064k freed
audit: initializing netlink socket (disabled)
audit(1194965135.393:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Linux version 2.6.21-2950.fc8xen
(kojibuilder@xenbuilder2.fedora.redhat.com) (gcc version 4.1.2
20070925 (Red Hat 4.1.2-32)) #1 SMP Tue Oct 23 12:24:34 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000008800000 end:
0000000008800000 type: 1
 Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
  DMA             0 ->    34816
  Normal      34816 ->    34816
  HighMem     34816 ->    34816
early_node_map[1] active PFN ranges
    0:        0 ->    34816
ACPI in unprivileged domain disabled
Detected 2001.289 MHz processor.
Built 1 zonelists.  Total pages: 34544
Kernel command line: root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 1024 (order: 10, 4096 bytes)
Xen reported: 2000.198 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-f4ffe000, maxmem 2d7fe000
Memory: 118016k/139264k available (2071k kernel code, 12968k reserved,
1080k data, 188k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xf5315000 - 0xf57fe000   (5028 kB)
    pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
    vmalloc : 0xc9000000 - 0xf4ffe000   ( 703 MB)
    lowmem  : 0xc0000000 - 0xc8800000   ( 136 MB)
      .init : 0xc1319000 - 0xc1348000   ( 188 kB)
      .data : 0xc1205e5e - 0xc1313fd4   (1080 kB)
      .text : 0xc1000000 - 0xc1205e5e   (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4070.78 BogoMIPS (lpj=8141572)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking ''hlt'' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 98304 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 7064k freed
audit: initializing netlink socket (disabled)
audit(1194965135.393:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Event-channel device installed.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2049
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 188k freed
Write protecting the kernel read-only data: 795k
Red Hat nash version 6.0.19 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading ehci-hcd.ko module
Loading ohci-hcd.ko module
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
Loading mbcache.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading scsi_mod.ko module
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading ata_piix.ko module
Waiting for driver initialization.
Loading ata_generic.ko module
Loading BusLogic.ko module
Creating root device.
Mounting root filesystem.
mount: could not find filesystem ''/dev/root''
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.
---End of boot---
---begin of fstab (domU)---
# cat /mnt/etc/fstab
/dev/sda1                 /                       ext3    defaults        1 1
---end of file---
Try changing this line:
disk = [ ''phy:sda4,sda1,w'' ]
to this:
disk = [ ''phy:/dev/sda4,sda1,w'' ]
I had to do that for my domU''s when I was uing paravirtualization a few
versions ago.  I can''t remember if that was all I had to do, but you
might
also try this line (I think it would only be more appropriate in an HVM
environment where the partition had been fdisked as well):
disk = [ ''phy:/dev/sda4,hda,w'' ]
Dustin
-----Original Message-----
From: fedora-xen-bounces@redhat.com [mailto:fedora-xen-bounces@redhat.com]
On Behalf Of Guillaume
Sent: Tuesday, November 13, 2007 10:08
To: Fedora-xen@redhat.com
Subject: [Fedora-xen] Prb manualy creating new VM.
Hi,
after a previous thread I start & some feedback you gave to me, about
creating xen VM I ask you for your help.
Here is the problem : `mount`. It was unable to find the disk/device
to mount it as root (/). After the linux kernel bootup (domU)
I create the VM by theses steps:
i''m on fedora 8 with xen 3.1.0-13
a) #fdisk /dev/sda		create a new part (sda4) type linux
b)format it with
   #mkfs.ext3 /dev/sda4
c)Copy on it all files from my distrib with :
   #cp -a / /mnt/sda4
  Edit the /mnt/sda4/etc/fstab to meet the reqs for the VM.
d)Start the vm from config file (see below).
   #xm create testvm.conf -c
	Booom! failed :''(	
I check every thing i can, fstab, VM config file & test several
things... But i was unable to fix the problem.
Someone can help me, point out whats wrong ?
Thanks,
---
Guillaume
---begin of xenVM config file---
kernel = "/boot/vmlinuz-2.6.21-2950.fc8xen"
ramdisk = "/boot/initrd-2.6.21-2950.fc8xen.img"
root = "root=/dev/sda1 ro"
#extra = "1"
memory = "128"
name = "Fedora-8-Guest"
disk = [ ''phy:sda4,sda1,w'' ]
---EOF---
---begin of boot---
#xm create testvm.conf -c
Using config file "./testvm.conf".
Started domain Fedora-8-Guest
                             Linux version 2.6.21-2950.fc8xen
(kojibuilder@xenbuilder2.fedora.redhat.com) (gcc version 4.1.2
20070925 (Red Hat 4.1.2-32)) #1 SMP Tue Oct 23 12:24:34 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000008800000 end:
0000000008800000 type: 1
 Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
  DMA             0 ->    34816
  Normal      34816 ->    34816
  HighMem     34816 ->    34816
early_node_map[1] active PFN ranges
    0:        0 ->    34816
ACPI in unprivileged domain disabled
Detected 2001.289 MHz processor.
Built 1 zonelists.  Total pages: 34544
Kernel command line: root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 1024 (order: 10, 4096 bytes)
Xen reported: 2000.198 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-f4ffe000, maxmem 2d7fe000
Memory: 118016k/139264k available (2071k kernel code, 12968k reserved,
1080k data, 188k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xf5315000 - 0xf57fe000   (5028 kB)
    pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
    vmalloc : 0xc9000000 - 0xf4ffe000   ( 703 MB)
    lowmem  : 0xc0000000 - 0xc8800000   ( 136 MB)
      .init : 0xc1319000 - 0xc1348000   ( 188 kB)
      .data : 0xc1205e5e - 0xc1313fd4   (1080 kB)
      .text : 0xc1000000 - 0xc1205e5e   (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4070.78 BogoMIPS
(lpj=8141572)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking ''hlt'' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 98304 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 7064k freed
audit: initializing netlink socket (disabled)
audit(1194965135.393:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Linux version 2.6.21-2950.fc8xen
(kojibuilder@xenbuilder2.fedora.redhat.com) (gcc version 4.1.2
20070925 (Red Hat 4.1.2-32)) #1 SMP Tue Oct 23 12:24:34 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000008800000 end:
0000000008800000 type: 1
 Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
  DMA             0 ->    34816
  Normal      34816 ->    34816
  HighMem     34816 ->    34816
early_node_map[1] active PFN ranges
    0:        0 ->    34816
ACPI in unprivileged domain disabled
Detected 2001.289 MHz processor.
Built 1 zonelists.  Total pages: 34544
Kernel command line: root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 1024 (order: 10, 4096 bytes)
Xen reported: 2000.198 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-f4ffe000, maxmem 2d7fe000
Memory: 118016k/139264k available (2071k kernel code, 12968k reserved,
1080k data, 188k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xf5315000 - 0xf57fe000   (5028 kB)
    pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
    vmalloc : 0xc9000000 - 0xf4ffe000   ( 703 MB)
    lowmem  : 0xc0000000 - 0xc8800000   ( 136 MB)
      .init : 0xc1319000 - 0xc1348000   ( 188 kB)
      .data : 0xc1205e5e - 0xc1313fd4   (1080 kB)
      .text : 0xc1000000 - 0xc1205e5e   (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4070.78 BogoMIPS
(lpj=8141572)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking ''hlt'' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 98304 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 7064k freed
audit: initializing netlink socket (disabled)
audit(1194965135.393:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Event-channel device installed.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2049
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 188k freed
Write protecting the kernel read-only data: 795k
Red Hat nash version 6.0.19 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading ehci-hcd.ko module
Loading ohci-hcd.ko module
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
Loading mbcache.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading scsi_mod.ko module
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading ata_piix.ko module
Waiting for driver initialization.
Loading ata_generic.ko module
Loading BusLogic.ko module
Creating root device.
Mounting root filesystem.
mount: could not find filesystem ''/dev/root''
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.
---End of boot---
---begin of fstab (domU)---
# cat /mnt/etc/fstab
/dev/sda1                 /                       ext3    defaults        1
1
---end of file---
--
Fedora-xen mailing list
Fedora-xen@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen
2007/11/13, Dustin Henning <Dustin.Henning@prd-inc.com>:> Try changing this line: > disk = [ ''phy:/dev/sda4,sda1,w'' ]I change the line to "disk = [ ''phy:/dev/sda4,sda1,w'' ]" but that not working too.> disk = [ ''phy:/dev/sda4,hda,w'' ]I test this line previously in this day but same result. Is there a way to check if disk are detected by kernel while booting ? -- Guillaume
On Tue, Nov 13, 2007 at 05:39:27PM +0100, Guillaume wrote:> 2007/11/13, Dustin Henning <Dustin.Henning@prd-inc.com>: > > Try changing this line: > > disk = [ ''phy:/dev/sda4,sda1,w'' ] > I change the line to "disk = [ ''phy:/dev/sda4,sda1,w'' ]" but that not > working too.I missed the start of this thread, but ... I had problems attaching disks and resolved it by a line like: disk = [ ''phy:mapper/LaLvg0-MailDisk,xvda,w'', ''phy:mapper/LaLvg0-MailHome,xvdb,w'' ] The important thing was the change from sda or sda1 to xvda. After that things worked. -- Alain Williams Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Chairman of UKUUG: http://www.ukuug.org/ #include <std_disclaimer.h>
I thought about mentioning this possibility, but I wasn''t sure on the syntax. I am also not sure whether it is Fedora specific or whether the ability to use sda instead of xvda is XenSource specific (aside from in HVMs where you need "real" devices). Alain, in this case was mapper/LaLvg0-MailDisk partitioned with fdisk, or was it just a regularly formatted (i.e. ext3) lvm partition? Also, from your provided line, it looks like /dev/ isn''t necessary after the phy: in Fedora Xen where it was necessary in the XenSource version I last paravirtualized in. Is it accurate to assume that you copied that line from a working config on a Fedora Xen machine? Dustin -----Original Message----- From: fedora-xen-bounces@redhat.com [mailto:fedora-xen-bounces@redhat.com] On Behalf Of Alain Williams Sent: Tuesday, November 13, 2007 12:17 To: Guillaume Cc: fedora-xen@redhat.com Subject: Re: [Fedora-xen] Prb manualy creating new VM. On Tue, Nov 13, 2007 at 05:39:27PM +0100, Guillaume wrote:> 2007/11/13, Dustin Henning <Dustin.Henning@prd-inc.com>: > > Try changing this line: > > disk = [ ''phy:/dev/sda4,sda1,w'' ] > I change the line to "disk = [ ''phy:/dev/sda4,sda1,w'' ]" but that not > working too.I missed the start of this thread, but ... I had problems attaching disks and resolved it by a line like: disk = [ ''phy:mapper/LaLvg0-MailDisk,xvda,w'', ''phy:mapper/LaLvg0-MailHome,xvdb,w'' ] The important thing was the change from sda or sda1 to xvda. After that things worked. -- Alain Williams Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Chairman of UKUUG: http://www.ukuug.org/ #include <std_disclaimer.h> -- Fedora-xen mailing list Fedora-xen@redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen