I tried for a second time with a default configuration. The result is a failure to produce a .iso file! It seems Wheezy does not want me to have it portable.
This is the response of rerunning lb build:
Code:
work# lb build
[2012-05-13 23:01:56] lb_build
W: No config/ directory; using defaults for all options
[2012-05-13 23:01:56] lb_bootstrap
P: Setting up cleanup function
[2012-05-13 23:01:56] lb_bootstrap_cache restore
P: Restoring bootstrap stage from cache...
W: skipping bootstrap_cache.restore, already done
[2012-05-13 23:01:56] lb_bootstrap_copy
[2012-05-13 23:01:56] lb_bootstrap_cdebootstrap
[2012-05-13 23:01:56] lb_bootstrap_debootstrap
P: Begin bootstrapping system...
[2012-05-13 23:01:56] lb_testroot
W: skipping bootstrap, already done
[2012-05-13 23:01:56] lb_bootstrap_cache save
P: Saving bootstrap stage to cache...
W: skipping bootstrap_cache.save, already done
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done
[2012-05-13 23:01:57] lb_chroot
P: Setting up cleanup function
[2012-05-13 23:01:57] lb_chroot_cache restore
[2012-05-13 23:01:57] lb_chroot_devpts install
[2012-05-13 23:01:57] lb_testroot
P: Begin mounting /dev/pts...
[2012-05-13 23:01:57] lb_chroot_proc install
[2012-05-13 23:01:57] lb_testroot
P: Begin mounting /proc...
[2012-05-13 23:01:57] lb_chroot_selinuxfs install
[2012-05-13 23:01:57] lb_testroot
[2012-05-13 23:01:58] lb_chroot_sysfs install
[2012-05-13 23:01:58] lb_testroot
P: Begin mounting /sys...
[2012-05-13 23:01:58] lb_chroot_debianchroot install
P: Configuring file /etc/debian_chroot
W: skipping chroot_debianchroot, already done
[2012-05-13 23:01:58] lb_chroot_dpkg install
P: Configuring file /sbin/start-stop-daemon
W: skipping chroot_dpkg, already done
[2012-05-13 23:01:58] lb_chroot_tmpfs install
[2012-05-13 23:01:58] lb_chroot_sysv-rc install
P: Configuring file /usr/sbin/policy-rc.d
W: skipping chroot_sysv-rc, already done
[2012-05-13 23:01:58] lb_chroot_upstart install
P: Configuring file /sbin/initctl
W: skipping chroot_upstart, already done
[2012-05-13 23:01:58] lb_chroot_hosts install
P: Configuring file /etc/hosts
W: skipping chroot_hosts, already done
[2012-05-13 23:01:59] lb_chroot_resolv install
P: Configuring file /etc/resolv.conf
W: skipping chroot_resolv, already done
[2012-05-13 23:01:59] lb_chroot_hostname install
P: Configuring file /etc/hostname
W: skipping chroot_hostname, already done
[2012-05-13 23:01:59] lb_chroot_apt install
P: Configuring file /etc/apt/apt.conf
W: skipping chroot_apt, already done
[2012-05-13 23:01:59] lb_chroot_archives chroot install
P: Configuring file /etc/apt/sources.list
W: skipping chroot_archives, already done
[2012-05-13 23:01:59] lb_chroot_linux-image
W: skipping chroot_linux-image, already done
[2012-05-13 23:01:59] lb_chroot_preseed
P: Begin executing local preseeds...
W: skipping chroot_preseed, already done
[2012-05-13 23:01:59] lb_chroot_package-lists install
P: Begin queueing installation of package lists (install pass)...
W: skipping chroot_package-lists.install, already done
[2012-05-13 23:01:59] lb_chroot_install-packages install
P: Begin installing packages (install pass)...
[2012-05-13 23:02:00] lb_chroot_task-lists install
P: Begin installation of task lists (install pass)...
[2012-05-13 23:02:00] lb_chroot_package-lists live
P: Begin queueing installation of package lists (live pass)...
W: skipping chroot_package-lists.live, already done
[2012-05-13 23:02:00] lb_chroot_install-packages live
P: Begin installing packages (live pass)...
[2012-05-13 23:02:00] lb_chroot_task-lists live
P: Begin installation of task lists (live pass)...
[2012-05-13 23:02:00] lb_chroot_live-packages
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package auto
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done
work#
It is weird because without an iso it is impossible to make a LiveCD.
Post Scriptum:
Since this time I used the default settings, I am concluding the failure to create an iso is due to the error:
Code:
Building dependency tree... Done
E: Unable to locate package auto
In my previous posts, I said that I manually installed the kernel. I did this step because lb_build complained that there were no kernels installed in chroot/boot. Although, I knew kernels were not included in the compressed file system on live cds, I followed the intuition offered by that error. Moreover, the lb_build script appeared to behave inconsistently forcing me to try several
'bizarre' solutions.
Post Scriptum II:
Since I have a functioning Wheezy installation, is it possible that I use squashfs to compress it into an archive and create a Live CD from it? The problem is that I have no idea which configuration files I have to edit. Does it make sense to boot the compressed fs as read only to avoid the OS attempting to write to convfiguration files?
Thanks for trying to guide me.