Is there a way to dedicate a whole disk to a filesystem, such as root?
I want to build a VM that has two virtual disks, one for swap and one for the root fs (everything else).
Is there a way in vmbuilder to do this? I can specify two --raw files as the two disks, but I can't see what to put into the
--part vmbuilder.partition file to make root use the whole virtual disk rather than a partition.
I would like to put in vmbuilder.partition
root
-----
swap
(with no sizes), or use root 0 to specify 'use the whole partition'
The reason for this is that I want to install a VM using a logical volume for / and a separate virtual disk for swap, then boot the image in the real physical hardware (with a different swap). if the LV looks like a disk with a partition table, I don't think grub will be able to mount the LV. Any suggestions please? I am trying to avoid installing to one place and copying to another, but that would be a possible solution I guess.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Simon Lambourn for more information if necessary.