[Voyage-linux] Fwd: Errors during boot of 0.9.1 on ALIX

Teco Boot (spam-protected)
Fri Dec 13 04:21:36 HKT 2013


4)
>> DEFCONSOLE=console=ttyS0,115200n8 nomfgpt
>> LIVE_GETTY=
>> AUTOINSTALL=
>> Setting Serial Port to ttyS0 115200
>> sed: can't create temp file '/root/etc/inittabSYqG9O': Read-only file system
> The code is to change the inittab serial console settings in initramfs stage.  The codes lies in /usr/share/initramfs-tools/scripts/init-bottom/25serial_inittab.  I didn't notice this error since serial console is working properly?


4a)
The nomfgpt kernel option shouldn't be displayed in DEFCONSOLE
Probably fix for upstream.


4b)
The /root is read-only, so can't be changed by sed.
Checked with mount command, just before the sed command:
   /dev/disk/by-label/VOYAGE_FS on /root type ext2 (ro,relatime,errors=continue)
   sed: can't create temp file '/root/etc/inittabEAqLo1': Read-only file system
Is this a Debian Live of Voyage bug?
If we don't want to update because /root is readonly, 25serial_inittab can terminate based on readonly flag. Also skip  autoinstall when taking that road?


Results after patches:
DEFCONSOLE=console=ttyS0,115200n8
LIVE_GETTY=
AUTOINSTALL=
Setting Serial Port to ttyS0 115200
done.


In /usr/share/initramfs-tools/scripts/init-bottom:

--- 25serial_inittab.org        2012-12-11 16:53:35.000000000 +0000
+++ 25serial_inittab    2013-12-12 20:05:13.000000000 +0000
@@ -34,7 +34,8 @@
                        export LIVE_GETTY=1 
                        ;;
                console=*)
-                       export DEFCONSOLE=$(sed -e 's%.*console=%console=%' /proc/cmdline)
+                       export DEFCONSOLE=$(sed -e 's%.*console=%console=%' /proc/cmdline | \
+                                                 cut -d " " -f 1 )
                        ;;
                autoinstall=*)
                        AUTOINSTALL=$(sed -e 's%.*autoinstall=%%' /proc/cmdline | \



In /usr/share/initramfs-tools:

--- init.org    2013-12-12 20:10:00.000000000 +0000
+++ init        2013-12-12 20:09:42.000000000 +0000
@@ -47,7 +47,7 @@
 export break=
 export init=/sbin/init
 export quiet=n
-export readonly=y
+export readonly=
 export rootmnt=/root
 export debug=
 export panic=






More information about the Voyage-linux mailing list