5 Replies Latest reply on Feb 13, 2015 7:16 PM by mmi

    Edison won't boot after rsync-ing new rootfs

    Phil12345

      Hi all,

       

      I am attempting to integrate the Intel Edison into a software imaging process. The image is built from a debian debootstrap of jessie. I have chrooted in and installed /lib/modules/*, /lib/firmware/*, /etc/fstab, /etc/modules, and /etc/modprobe.d/* specific for the Edison (copies from a running Edison). The device has Ubilinux installed upgraded to jessie before the image. I am imaging by rsync-ing the rootfs across. I am not touching the boot partition.

       

      However when I reboot after rsync-ing I get this error: (mount: / not mounted or bad option)


      Does anyone know what might be the issue?

       

      Starting kernel ...

       

      [    1.636843] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk

      [    1.645239] pmic_ccsm pmic_ccsm: Battery Over heat exception

      [    1.645326] pmic_ccsm pmic_ccsm: Battery0 temperature inside boundary

      SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.29:  No such file or directory

      INIT: version 2.88 booting

      [info] Using makefile-style concurrent boot in runlevel S.

      [....] Starting the hotplug events dispatcher: udevd. ok

      [....] Synthesizing the initial hotplug events...done.

      [....] Waiting for /dev to be fully populated...done.

      [....] Activating swap...done.

      mount: / not mounted or bad option

      [....] Activating lvm and md swap...done.

      [....] Checking file systems...fsck from util-linux 2.20.1

      e2fsck 1.42.10 (18-May-2014)

      e2fsck 1.42.10 (18-May-2014)

      /dev/mmcblk0p10: recovering journal

      /dev/mmcblk1p1: recovering journal

      /dev/mmcblk1p1: clean, 15/1024 files, 1179/4096 blocks

      e2fsck 1.42.10 (18-May-2014)

      /dev/mmcblk0p10: clean, 35/103584 files, 15329/413691 blocks

      /dev/mmcblk1p2: recovering journal

      /dev/mmcblk1p2: clean, 417/131072 files, 113001/524288 blocks

      e2fsck 1.42.10 (18-May-2014)

      /dev/mmcblk1p3: recovering journal

      /dev/mmcblk1p3: clean, 10/128016 files, 26654/512000 blocks

      e2fsck 1.42.10 (18-May-2014)

      /dev/mmcblk1p4: recovering journal

      /dev/mmcblk1p4: clean, 19/321920 files, 55506/1286912 blocks

      done.

      rm: cannot remove '/tmp/.clean': Read-only file system

      [....] Cleaning up temporary files.... ok

      [....] Loading kernel modules...done.

      [....] Mounting local filesystems...done.

      [....] Activating swapfile swap...done.

      [....] Cleaning up temporary files.... ok

      [....] Setting kernel variables ...done.

      [....] Configuring network interfaces...Cannot find device "usb0"

      Failed to bring up usb0.

       

      SIOCSIFFLAGS: Operation not permitted

      Error for wireless request "Set Power Management" (8B2C) :

          SET failed on device wlan0 ; Input/output error.

      RTNETLINK answers: Operation not permitted

      Failed to bring up wlan0.

      done.

      [....] Cleaning up temporary files.... ok

      INIT: Entering runlevel: 2

      [info] Using makefile-style concurrent boot in runlevel 2.

      savelog: directory /var/log/ is not writable

      /etc/init.d/bootlogs: 23: /etc/init.d/bootlogs: cannot create /var/log/dmesg: Read-only file system

      chgrp: changing group of '/var/log/dmesg': Read-only file system

      [....] Starting enhanced syslogd: rsyslogd. ok

      [....] Starting NTP server: ntpd. ok

      [....] Starting periodic command scheduler: cron. ok

      [....] Starting anac(h)ronistic cron: anacronanacron: Can't chdir to /var/spool/anacron: No such file or directory

      . ok

      [....] Starting system message bus: dbus. ok

      [....] Starting OpenBSD Secure Shell server: sshd. ok