You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ubuntu 20.04 uses a logical partition and can't be resized #1
Yes, starting with Ubuntu 20 they removed their installer in favor of some newer one with cooler features but completely incompatible .. anyways the point is it doesn't support preseed files
there is a way to do it though still.. the Ubuntu netboot image still uses the installer that supports preseed files, so basically you use the kernel image and initrd from the netboot image to start it instead ..
use sha512sum on the image to get the hash and once the index file is created, you will need to sign it. if you have not prevoiusly used gpg to create your own key you should run gpg --gen-key to create a new key pair, afterwords you can (re)sign your index file like
gpg --sign index
gpg --detach-sign -o index.gpg index
gpg --clearsign -o index.asc index
rm index.gpg
after that when you run virt-builder to install ubuntu-20.04 it will use the base template you built which includes gpt and such.
sorry ive been u for like 5 days and my vision and thought processes are getting a bit wonky , but i think thats everything..
Activity
rwmjones commentedon Mar 22, 2021
Is there a particular change?
thomwiggers commentedon Mar 22, 2021
I'm not exactly clear on what would work (I'm also having some trouble figuring out how to use the
builder/dir to make images).The recipe that's selected (
atomic) seems to be (from thepartman-auto-134ubuntu13package tarball, filerecipes/atomic):We could use this recipe, but add
$primary { }to the$default_filesystemrecipe, and ignoring the$defaultignoreones:detain commentedon Dec 25, 2021
Yes, starting with Ubuntu 20 they removed their installer in favor of some newer one with cooler features but completely incompatible .. anyways the point is it doesn't support preseed files
there is a way to do it though still.. the Ubuntu netboot image still uses the installer that supports preseed files, so basically you use the kernel image and initrd from the netboot image to start it instead ..
Here is an article about the change in the installer starting with 20.04 Understanding the Ubuntu 20.04 LTS Server Autoinstaller
you need to build a new base template like (
apt install virtinstif you dont have virt-install)my preseed file i setup which included creating a gpt partition
After you build the image you need to put it up on a web accessible dir and setup a /etc/virt-builder/repos.d/ubuntu20.conf file like
the index.asc file will need an entry like
use
sha512sumon the image to get the hash and once the index file is created, you will need to sign it. if you have not prevoiusly used gpg to create your own key you should rungpg --gen-keyto create a new key pair, afterwords you can (re)sign your index file likeafter that when you run virt-builder to install ubuntu-20.04 it will use the base template you built which includes gpt and such.
sorry ive been u for like 5 days and my vision and thought processes are getting a bit wonky , but i think thats everything..