[Bug 310950] [NEW] /etc/fstab and xen.conf block device name mismatch in xen hardy image created using vmbuilder

Etienne Goyer etienne.goyer at canonical.com
Tue Dec 23 17:13:07 UTC 2008


Public bug reported:

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.

** Affects: ubuntu-vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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.

-- 
/etc/fstab and xen.conf block device name mismatch in xen hardy image created using vmbuilder
https://bugs.launchpad.net/bugs/310950
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list