Comment 0 for bug 310950

Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote :

Binary package hint: ubuntu-vm-builder

Creating a Ubuntu hardy Xen domU image using:

    vmbuilder xen ubuntu --suite=hardy

The resulting ubuntu-xen/xen.conf have the following block devices defined:

root = '/dev/xvda1 ro'
disk = [
'tap:aio:/home/ubuntu/ubuntu-xen/root.img,xvda1,w',
'tap:aio:/home/ubuntu/ubuntu-xen/swap.img,xvda2,w'
]

However, in the resulting root filesystem, /etc/fstab contains the following:

# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda2 None swap defaults 0 0
/dev/sda1 / ext3 defaults 0 0

I presume /etc/fstab should really specify /dev/xvda1 for root and /dev/xvda2 for swap instead.