Failed to create gutsy live by using live helper

Reported by Steven Shiau on 2007-12-16
4
Affects Status Importance Assigned to Milestone
Ubuntu
Undecided
Unassigned

Bug Description

In gutsy,
1. Turn on universe in /etc/apt/sources.list
2. Run the following:
---------
mirror_url="http://free.nchc.org.tw/ubuntu"
mirror_security_url="http://free.nchc.org.tw/ubuntu"
lh_config --sections "main restricted universe multiverse"
lh_config --mirror-binary $mirror_url --mirror-binary-security $mirror_security_url --mirror-bootstrap $mirror_url --mirror-bootstrap-security $mirror_security_url
lh_config --distribution gutsy
lh_build
---------
3. The created binary.iso will boot, but without any login prompt or entering command prompt. Some errors shown as booting:
 init:/etc/event.d/tty1:15: Unknown stanza
 init:/etc/event.d/tty2:15: Unknown stanza
 init:/etc/event.d/tty3:15: Unknown stanza
 init:/etc/event.d/tty4:15: Unknown stanza
 init:/etc/event.d/tty5:15: Unknown stanza
 init:/etc/event.d/tty6:15: Unknown stanza

Steven Shiau (stevenshiau) wrote :

The contents of /etc/event.d/tty1 are:
------------------------------------
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /sbin/getty 38400 tty1
------------------------------------

Steven Shiau (stevenshiau) wrote :

OK, if the above script is configured using casper by:
lh_config --initramfs casper
then these errors "Unknown stanza" when running init:/etc/event.d/tty* were gone.
It's working now. The command prompt is ready when boot is finished.
Is that a must to use "casper" ?
From
/usr/share/live-helper/functions/defaults.sh, by default, LH_INITRAMFS is set as auto. Maybe it's not working.

Adam Niedling (krychek) wrote :

I'm not sure what this report is all about, please explain again. What is the expected behavior and what is the actual one? Since no one has commented on this I'm closing this report.

Steven Shiau (stevenshiau) wrote :

Yes. close it. It's been more than 8 months. "Live helper" from debian lenny has improved a lot. I filed this bug just to have a record that maybe someone also wants to create gutsy live CD based on live helper.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers