PJ-Singh-001 / Cubic

The Official Web Site for Cubic (Custom Ubuntu ISO Creator) (https://github.com/PJ-Singh-001/Cubic)
825 stars 47 forks source link

ubuntu server 22.04.3 can not install by cubic #271

Closed jupyzhu closed 2 months ago

jupyzhu commented 1 year ago

Describe the question I also following the instruction in here , add user-data/meta-data , update grub/loopback.cfg and then make a iso file with ubuntu-22.04.3-live-server-amd64.iso https://github.com/PJ-Singh-001/Cubic/issues/101#issuecomment-1336728758

A clear and concise description of what the question is. i can't install custom ubuntu server 22.04.3, and the installation screen cannot be displayed.

What you have tried apt update&&apt upgrade -y apt -y remove --purge snap*&&apt autoremove apt install -y vim tree iftop net-tools netcat htop traceroute apt-file tree unzip p7zip jq apt-offline gdb iotop expect dos2unix sysstat apt install -y chrony firewalld supervisor echo "hello new-iso">hello.txt

creatre a user named jupy

useradd -m jupy -s /bin/bash usermod -aG sudo jupy

set the passwd 'jupy'

passwd jupy

Steps you already took.

Expected behavior 1) I hope the custom iso can get the system 2) I want the installed system to have users:jupy、user1、user2、user3、psingh. And the user saves the corresponding password. 3) The software I set was installed by default in the installed system. The installation failed at the first step. I can not install the custom-iso.

A clear and concise description of what you expected to happen.

OS Information (please complete the following information):

Cubic Information (please complete the following information):

Screenshots 图片 图片 图片 图片 图片 图片 图片 图片 图片 when run test, it's stuck in the picture below. After the output "[ OK ]finished casper-md5check verify live ISO checksum" , it does not continue. After a day of waiting, still the same. 图片

My guess is that test might fail, but the installation on an actual physical machine would not fail. But in fact, the result is the same, still stuck in the above startup screen.

UnstoppableDrew commented 11 months ago

Have you tried hitting enter in the qemu window? I have found on real systems it gets to this point and is done, and is actually ready to login, but hasn't printed out the prompt until you hit enter.

jupyzhu commented 11 months ago

Have you tried hitting enter in the qemu window? I have found on real systems it gets to this point and is done, and is actually ready to login, but hasn't printed out the prompt until you hit enter.

I've already pressed Enter, and nothing has changed

phillips321 commented 6 months ago

Have you tried hitting enter in the qemu window? I have found on real systems it gets to this point and is done, and is actually ready to login, but hasn't printed out the prompt until you hit enter.

I have the same problem on 24.04 when using multi-user (no gui). It never displays the logon prompt (however i have it working fine with 22.04). See my issue #313

PJ-Singh-001 commented 2 months ago

@jupyzhu, @phillips321,

The latest version of Cubic (currently 2024.09.89) should address your issues.

Instead of user-data/meta-data files, use an autoinstall.yaml file as described in Issue #338, How to remove all snaps from Ubuntu?. (Obviously you do not need to include the late-commands that remove all snaps, if you don't want to).

Update Cubic using:

sudo apt update
sudo apt install --no-install-recommends cubic

With the information provided, I will close this issue. If you experience problems with the new version of Cubic, please open a new issue.