-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Live iso (Xubuntu 32 bit 18.10) asks for password #200
Comments
Right, that stuff is generally controlled at early boot from casper, before systemd loads -- you might have removed a package casper depends on. Look around in /usr/share/initramfs-tools/ I think it's /usr/share/initramfs-tools/scripts/casper-bottom/25adduser I had to muck around with things for my own customized ISOs. Don't forget to run 'update-initramfs -u' in your chroot if you make any changes to casper hooks or scripts. Try the username 'ubuntu' with the password 'ubuntu' or blank. I recall that seems to work on many rebuilt ISOs. Generally I rebuild Lubuntu, so I'm afraid I don't know as much about what the defaults Xubuntu's ISO uses during seed generation. |
In the chroot I don't have any user named xubutu or ubuntu. Only root and other system user exists in /etc/passwd. Is thia normal? What will happen if I create a user manually inside chroot with add user command ? At least that user should be available during live boot. No? update-intramfs run multiple times during kernel update. But it did not solve my problem. Xubuntu iso is built I same way lubuntu does. |
There is no user in the ubuntu squashfs. Casper creates one early in boot. If you create a user inside the chroot; you'll break the live boot scripts that create user 999 when the ISO boots and general havok will ensue. You'll also end up with an 'extra' user with the specified username as used on the ISO, post-installation. (After you run ubiquity.) Until you run the ubiquity installer, there is no user other than root. |
No I have Which package installs those? May be I can try reinstalling those packages. In your customized I don't see those files, so your recommendation is to remove |
I am setting live username from the gui like this But even then it doesn't work, during iso rebuild I noticed this log:
Notice shouldn't there be other system groups present like sudo or cdrom? When I try with bodhibuilder system groups are present in the iso and it cleans passorwd, shadow and then set autologin. May be this issue has something to do with that? |
Hm, yeah, looks like something is certainly amiss there. I honestly recall the username setting code to be somewhat rickety at best -- keep in mind that this Customizer is more or less a QT/Python rewrite of the original GAMBAS application in a graphical dialect of BASIC. The last time username changes from the GUI was really tested was before I took over maintainership. At this point, I use the customizer CLI to do almost all of my ISO builds, but I rarely invoke the GUI myself. It's also possible that ubuntu's scripts have changed over the years too. I've been paying less attention to them now that systemd has replaced upstart (which was always a thorn in my side; I had supplemented upstart with supervisord, which is now also deprecated... sigh) and I really need to convert some of my own ISO mods away from shell scripts and into systemd units. |
:(
Can you show how to do that for any Ubuntu iso. I can always help testing.
Which scripts ? |
I built a iso from Xubuntu 32 bit (18.10) iso. All I did was removing few packages, making it more slim. Everything went well. But then when I boot it asks for username and password. For official xubuntu iso, it was xubuntu and the password is blank. But it did not work for me. I did not create any user while in chroot mode.
Any idea what's happening here ?
The text was updated successfully, but these errors were encountered: