fail to Install Ubunto on a HVM

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

fail to Install Ubunto on a HVM

Minjun Hong
Hi.
I'm trying to install Ubuntu on a HVM guest, but having a trouble.
When I type 'xl create' and I proceed to install Ubuntu on the machine by using vncviewer,
I have a trouble after the partition setting.
The error message is "Failed to create a file system" - "The ext4 file system creation in partition #1 of Virtual disk 1, partition #1 (xvda1) failed".

The cfg file that I used is following:

name        = 'guest1'
kernel="/usr/lib/xen/boot/hvmloader"
builder='hvm'
vcpus       = '4'
memory      = '4096'
vif         = [ 'ip=192.0.10.4 ,mac=00:16:3E:42:E4:EC, bridge=xenbr0' ]
disk = [ 'file:/home/nickeys/hvmguest1/disk.img,xvda1,w', 'file:/home/nickeys/ubuntu-16.04.3-desktop-amd64.iso,hdc:cdrom,r' ]
device_model_version='qemu-xen'
device_model='/usr/lib/xen/bin/qemu-dm'
boot="dc"
serial='pty'
vnclisten=""
acpi = 1
apci = 1
vnc=1
sdl=0
usbdevice='tablet'

And I just made the image file (disk.img) as following:

dd if=/dev/zero of=/home/nickeys/hvmguest1/disk.img bs=4096 count=26214400

Is there other information (log) which I should check?
I already checked dmesg of the guest, but nothing was significant.

Sincerely,
Minjun Hong

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users