[Bug 556732] Re: blkid not used in fstab
EAB
erwin at true.nl
Wed Apr 7 19:36:38 BST 2010
Snippet from menu.list:
title Ubuntu 9.10, kernel 2.6.31-20-server
uuid 618c7d1f-ef8c-423b-9f32-e8731d15daf2
kernel /boot/vmlinuz-2.6.31-20-server root=UUID=618c7d1f-ef8c-423b-9f32-e8731d15daf2 ro quiet splash
initrd /boot/initrd.img-2.6.31-20-server
/etc/fstab (after I fixed it):
UUID=618c7d1f-ef8c-423b-9f32-e8731d15daf2 / xfs defaults 0 0
UUID=409917ac-9244-4ae1-a5f8-d54b3b1665c6 swap swap defaults 0 0
The goal is to prevent issues when adding disks. When a new disk is
added and recognized before the current disk, the root and swap
partitions are not there (on the new added disk). /dev/sda is the new
disk and /dev/sdb1 is root and /dev/sdb2 is swap in this new situation.
UUIDs in fstab are used by default since 8.04.
I only asking to put this on a whislist.
plugins/ubuntu/dapper.py line 260 self.install_from_template('/etc/fstab', 'dapper_fstab', { 'parts' : disk.get_ordered_partitions(self.vm.disks), 'prefix' : self.disk_prefix })
And the template should use UUIDs.
--
blkid not used in fstab
https://bugs.launchpad.net/bugs/556732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
More information about the Ubuntu-server-bugs
mailing list