Etienne_Martel
May 31st, 2016, 09:28 PM
Hello,
I would like to install a x86_64 server with two independent Ubuntu root partitions side by side. This is a concept similar to networking equipment in which you can have co-resident firmware versions and choose which one to boot from when upgrading the system.
This way I could clone partitions (partimage), transfer them and restore them. While at the same time allowing to boot into each, one at a time.
The systems run UEFI.
My target partition schema is as follows:
Size
Type
Mount point
Comment
50MB
EFI
500MB
ext4
/boot
shared boot partition
20GB
ext4
/
first root partition
20GB
ext4
/
second root partition
16GB
swap
shared swap
rest
ext4
/var/lib/libvirt/images
shared Qemu/KVM images folder
I tried achieving this install numerous times with different options and a different process with both Ubuntu 14.04 and 16.04 without success.
I figured I would install once all the way through using the first 20GB partition as /, complete the install, then go through it again using the 2nd 20GB as / while remapping all the rest of the partitions (without formatting of course) in the partition manager.
It always ends the same, the system works perfectly after the 1st install but will not boot to a prompt after the 2nd install complaining it cannot find a partition.
Most dual boot resources are covering Windows (or sometimes Mac OS X) and Ubuntu coexistence.
Can you point me to a good reference for dual Ubuntu OS?
Please keep in mind that the install will start off with two root partitions containing the same Ubuntu version.
I also need Grub to automatically and gracefully detect both root partitions and update its configuration accordingly when updates are applied.
I would like to install a x86_64 server with two independent Ubuntu root partitions side by side. This is a concept similar to networking equipment in which you can have co-resident firmware versions and choose which one to boot from when upgrading the system.
This way I could clone partitions (partimage), transfer them and restore them. While at the same time allowing to boot into each, one at a time.
The systems run UEFI.
My target partition schema is as follows:
Size
Type
Mount point
Comment
50MB
EFI
500MB
ext4
/boot
shared boot partition
20GB
ext4
/
first root partition
20GB
ext4
/
second root partition
16GB
swap
shared swap
rest
ext4
/var/lib/libvirt/images
shared Qemu/KVM images folder
I tried achieving this install numerous times with different options and a different process with both Ubuntu 14.04 and 16.04 without success.
I figured I would install once all the way through using the first 20GB partition as /, complete the install, then go through it again using the 2nd 20GB as / while remapping all the rest of the partitions (without formatting of course) in the partition manager.
It always ends the same, the system works perfectly after the 1st install but will not boot to a prompt after the 2nd install complaining it cannot find a partition.
Most dual boot resources are covering Windows (or sometimes Mac OS X) and Ubuntu coexistence.
Can you point me to a good reference for dual Ubuntu OS?
Please keep in mind that the install will start off with two root partitions containing the same Ubuntu version.
I also need Grub to automatically and gracefully detect both root partitions and update its configuration accordingly when updates are applied.