Tuesday, April 30, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4800  / 3 Years ago, sat, july 31, 2021, 11:11:18

Ubuntu 22.04 LTS (Jammy) for WSL has a new installer (called the "Out of Box Experience" by Canonical) that provides a graphical UI to walk users through the installation. However, it is substantially slower than the older text-based install that other WSL distributions (including 20.04) use. For comparison:



  • 22.04 Jammy: ~ 1 minute 30 seconds for all screens, even just accepting the defaults (other than username/password)

  • 20.04 Focal: ~ 20 seconds (9 seconds + however long it takes to type your username and password twice)


This probably isn't an issue for most people, but I like to "spin up" a 22.04 (or other distribution) quickly, try something out, then throw it away with wsl --unregister Ubuntu-22.04.


Jammy's installer goes through multiple steps, only some of which seem "useful" compared to the previous installer:



  • "Unpacking the distro" -- 11-12 seconds on my relatively fast NVMe drive.



  • "Almost done. The installer will require your attention soon." -- ~14 seconds



  • "We are almost done - Just a few steps to be completed in the main installer window. Can we quit this one and go there?"



  • A language selection screen



  • The username/password screen



  • "Advanced Setup" where mount options can be set



  • "Applying Changes" -- The biggest issue, since it takes more than 30 seconds, and says it may take longer if the network connection is slow.


    It's really not clear what's going on in this step since it shouldn't even need an internet connection to apply changes to a local WSL installation of Ubuntu.




By comparison, Focal needs only about 10 seconds to complete the first step (unpacking), at which point it is ready to accept the username/password, and then it's done.


Is there any way to speed up the Jammy OOBE/Installer, perhaps by skipping certain steps?


More From » system-installation

 Answers
3

Ubuntu and Ubuntu 22.04 now ship with the OOBE disabled by default so install time has gone down to be similar to Focal.


A newer OOBE was made for Ubuntu (Preview) that is much faster.


[#375] Sunday, August 1, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
damomnning

Total Points: 422
Total Questions: 90
Total Answers: 106

Location: Mali
Member since Thu, Aug 13, 2020
4 Years ago
;