can't find init when using --bootappend-live persistence
Hi,
I tested this with live-build versions 3.0.5-1 and 4.0~a20-1 as well as with
the http://live-build-cgi.debian.net/ online service to make sure it's not my
local configuration. When enabling --bootappend-live persistence I get the
following messages after choosing to boot the live system in the menu:
Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module unknown not found in modules.dep
mount: can't read '/etc/fstab': No such file or directory
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
Here the the live-build log file when trying to build the gnome-desktop image
from git://live.debian.net/git/live-images.git
http://mister-muffin.de/p/oQUX.txt
My last email to this list had this file attached and was probably blocked
because of its resulting size. Sorry for that.
I made the following changes:
diff --git a/images/gnome-desktop/auto/build b/images/gnome-desktop/auto/build
index 03a7b57..e6e2504 100755
--- a/images/gnome-desktop/auto/build
+++ b/images/gnome-desktop/auto/build
@@ -2,4 +2,4 @@
set -e
-lb build noauto "${@}" && echo $? 2>&1 | tee build.log
+{ lb build noauto "${@}" && echo $?; } 2>&1 | tee build.log
diff --git a/images/gnome-desktop/auto/config b/images/gnome-desktop/auto/config
index e74ee52..36d2aae 100755
--- a/images/gnome-desktop/auto/config
+++ b/images/gnome-desktop/auto/config
@@ -17,6 +17,7 @@ esac
lb config noauto \
--clean \
--ignore-system-defaults \
+ --bootappend-live persistence \
--mode debian \
--debian-installer live \
--linux-flavours "${_LINUX_FLAVOURS}" \
The change to images/gnome-desktop/auto/build was necessary to store the full
log in the file build.log. Is it intentional to only save the exit status?
Version 4.0~a20-1 of the live-build package also doesnt seem to ship the man
pages that were found in the 3.0.5-1 version. Did they move somewhere else?
cheers, josch
Reply to: