mvallim / live-custom-ubuntu-from-scratch

(Yes, the project is still alive 😃) This procedure shows how to create a bootable and installable Ubuntu Live (along with the automatic hardware detection and configuration) from scratch.
https://mvallim.github.io/live-custom-ubuntu-from-scratch/
GNU General Public License v3.0
397 stars 186 forks source link

Produced ISO fails to install in Virtualbox #19

Closed kgilmer closed 3 years ago

kgilmer commented 3 years ago

Steps to reproduce:

  1. create docker instance w/ Ubuntu 20.04
  2. run README steps in docker container to produce ubuntu-from-scratch.iso
  3. create new VM in VirtualBox, attach ubuntu-from-scratch.iso as secondary volume
  4. boot live environment, select "Install Ubuntu" from the GRUB menu
  5. Go through the installation steps, select minimal install and download packages while installing.

Expected behavior: Ubuntu installation process completes successfully

Actual behavior: After package install completes and cleanup scripts are run, the following error is shown:

VirtualBox_lbtest_05_04_2021_17_11_49

Note: Removing secondary image and rebooting the VirtualBox image results in booting into grub with just the prompt, no selectable boot configurations:

VirtualBox_lbtest_05_04_2021_17_17_30

mvallim commented 3 years ago

Hi @kgilmer,

I identified the problem, it was missing the installation of sudo as part of the "active system" and as a standard part of the OS installation.

You can see this in: "Install packages needed for Live System"

Let me know if you detect another problem.

Thank you for reporting a bug.

kgilmer commented 3 years ago

@mvallim , fix verified and THANK YOU SO MUCH! I have spent a long time trying to find a way to generate Ubuntu ISO installers in a simple, automated way.

If I end up using your project to make mine, how would you prefer to be credited? By your github alias, the repo name, or something else?

Thanks again!

mvallim commented 3 years ago

Hi @kgilmer,

Thank you for feedback.

Just referencing the repository is enough.

Thank you again. 😄