Jim Trainor
2009-Jan-15 03:22 UTC
[CentOS-virt] xen CentOS 5.2 domU install error: "Error mounting device xvda1 as /boot"
Hello CentOS Xen experts, I am attempting my first Xen installation. I have a Centos 5.2 server (dom0) and am attempting to install a Centos 5.2 guest (domU). The install goes fine with one exception. At the end it complains "error mounting /boot". My efforts googling around the net to dig up a solution have come up empty, although I've seen similar issues reported. Details below. Any suggests would be much appreciated. I've read this: http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU but have not yet tried it. However, I would expect the same result, since it describes a simple variation of a normal Anaconda install. Details: * Centos 5.2 installation command, installing Centos 5.2 as the guest OS using nfs mounted Centos 5.2 iso dvd image: virt-install --paravirt -name vm-1 --ram 512 --file /vm/1/vm-1.img --file-size -4 --nographcs --location:nfs:192.168.1.101:/mnt/iso I select a minimal server config during the install that I know fits in 4 GB. Not much more than the base packages. * Last install (Anaconda) screen: "Error mounting device xvda1 as /boot: Read-only file system" "This most likely means this partition has not been formated." * Error on reboot after install: virDomainCreate() failed POST operation failed: (xend.err "Error creating doamain: Boot loader didn't return any data!") The /etc/xen/vm-1 and /vm/1/vm-1.img files exist as expected after the install but will not boot. Thanks, Jim Trainor
Kai Schaetzl
2009-Jan-15 17:31 UTC
[CentOS-virt] xen CentOS 5.2 domU install error: "Error mounting device xvda1 as /boot"
Jim Trainor wrote on Wed, 14 Jan 2009 22:22:38 -0500:> virt-install --paravirt -name vm-1 --ram 512 --file /vm/1/vm-1.img > --file-size -4 --nographcs --location:nfs:192.168.1.101:/mnt/isodid you type this or did you copy this from the shell? There are several errors/typos in it. virt-install -p --location=ftp://...... --noautoconsole --nographics -- file=/home2/vm/d-minimal.img --file-size=1 --name=d-mini --ram=256 does work. Even if it's possible to omit the equals signs I would think that "-4" *means* "minus 4" .... And ":" for the "=" are surely not allowed I guess. Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com
Maybe Matching Threads
- mounting using "xm block-attach" does not work; "special device /dev/xvda1 does not exist." error
- rpm spec file for "fakejava"
- mkinitrd - dev/xvda1: Unknown root device
- CentOS Images on AWS with partitions on /dev/xvda1 are awkwared to resize
- xen-utils-4.1, pygrub, xvda1, "Boot loader didn't return any data!"