Ubuntu Desktop ubiquity documentation is lacking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Now that we are starting to look at creating an 18.04 desktop image, we'd like to get some answers for https:/
Most of this will be copy/paste from that bug, as they still seem to be issues in 18.04.
#2 and #3 we've figured out. #8 I haven't tried on 18.04, so I'm not sure if it's still an issue.
+++++++
There is no good or up-to-date documentation regarding how to modify and debug the Ubuntu 16.04 Desktop preseed file. The wikis, such as wiki.ubuntu.
For example, some questions I have are:
1. What are the mappings of d-i keys used in the Ubuntu Server to ubiquity keys in the Ubuntu Desktop?
2. If I have both a ubiquity/
3. For OEM installs (oem-config/
4. Is it possible to use d-i directly instead of ubiquity for Ubuntu Desktop installs?
5. Please provide documentation for installing additional packages from the /cdrom/pool during install time. I don't want to have to unsquash the casper/
6. During oem-config, I see a "Error opening file..." error pop up after oem-config has finished asking questions, and starts installing. However, I can't tell what it failed to open from the oem-config.log (attached).
7. I am unable to disable the automatic upgrades during install time.
For instance, the kernel included with the 16.04.1 Desktop ISO is 4.4.0-31, while the latest in the Canonical repos (as of writing this comment) is 4.4.0-64. I've tried adding the following into my preseed file to try to prevent automatically upgrading the kernel during ubiquity install time:
d-i netcfg/enable boolean false
d-i pkgsel/
d-i pkgsel/upgrade select none
d-i base-installer/
d-i base-installer/
d-i mirror/http/proxy string
d-i apt-setup/
d-i mirror/protocol string
d-i ubiquity/
ubiquity ubiquity/
If there is a network connection, then ubiquity will automatically go and update the kernel to the latest version. Worse yet, if there is a network connection, but to one that can't reach the Canonical repos, it will take an awful amount of time trying to download packages and timing out. This is the case in the factory, where systems will be connected only to a private network for PXE.
I want the initial state of a freshly installed system, whether it is installed with or without a network connection, to be deterministic.
8) A PXE install where the PXE server and client are on a private network with no external internet access will fail with a "The 'grub-efi-
The PXE server initiates the install with the following grub boot menu entry:
title Software Install
set gfxpayload=keep
kernel (nd)/DevBoxSW/
initrd (nd)/DevBoxSW/
Where "(nd)/DevBoxSW/" is where the PXE server's TFTP server keeps a copy of the vmlinuz and initrd of the ISO I'm trying to install, "10.20.187.10" is the PXE server's NFS server, and "nvidia/
However, using the exact same ISO will work fine if I create a bootable USB stick with it, and directly install on the client system where its network cable is both plugged in and unplugged.
summary: |
- [NV DGX] Ubuntu Desktop ubiquity documentation is lacking + Ubuntu Desktop ubiquity documentation is lacking |
listed all the ubiquity wikis and a link to the 18.04 d-i page (https:/ /help.ubuntu. com/18. 04/installation -guide/ amd64/apb. html).
For instance, if you look at the apb.html to find d-i commands to disable the network, then you'll see there is a netcfg component to disable the network. However, the UbiquityAutomation wiki clearly says that the netcfg component is not used by ubiquity. This led to the hack in our 16.04 preseed file where we point the apt update server to a bogus address to prevent auto-upgrades from occurring at install time.