/etc/fstab and xen.conf block device name mismatch in xen hardy image created using vmbuilder

Bug #310950 reported by Etienne Goyer
2
Affects Status Importance Assigned to Milestone
ubuntu-vm-builder (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

vmbuilder version 0.9-0ubuntu3 on Ubuntu 8.10.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.