http://www.igorpecovnik.com/2013/12/24/ ... ard-image/
Der Cubietruck hat einen internen Nand-speicher und zzgl noch eine SSD 60GB.
Auf dieser liegt mein Root Dateisystem. Es lief auch alles gut, bis ich etwas geändert habe:
Originalbeitrag aus Heimautomatisierungsforum (da es sich aber um ein Debian problem handelt, wende ich mich an euch)
http://forum.fhem.de/index.php/topic,30440.0.html
-------------------------
Hey FHEM-Forum,
Auch wenn es sich primär um ein Linuxproblem handelt, hoffe ich hier Hilfe zu bekommen.
Ich habe auf meinem Cubietruck mit erfolgreichem FHEM nach folgender Anleitung SmartVISU und smarthome.py (obwohl ich letzters wahrscheinlich nicht benötige) für ein fronthem BETA installiert: https://github.com/mknx/smarthome/wiki/ ... und-1-Wire .
smartVISU lief und lies sich aufrufen. Daraufhin habe ich den Cubietruck neu gestartet. FHEM und smartVISU starteten nicht und liesen sich auch nicht über /etc/init.d/fhem start oder /etc/init.d/smarthome start aufrufen. Es kam die Fehlermeldung
Code: Alles auswählen
Can't open ./log/fhem-2014-12.log: Read-only file system at fhem.pl line 2152.
Code: Alles auswählen
mount -o remount,rw /dev/sda1
Code: Alles auswählen
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab
Ich hoffe, ihr könnt mir weiterhelfen.
Zugriff über Putty und dem entsprechend auch pingen ist noch möglich.Es läuft das Igor-Image auf dem Cubietruck.Ein apt-get upgrade habe ich auch ausgeführt.
Hier der auszug aus fstab:
Code: Alles auswählen
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/nand2 / ext4 defaults,noatime,nodiratime,data=writeback,comm$k,commit=600,errors=remount-ro 0 0
/dev/nand1 /boot vfat defaults 0 0
und falls es weiter hilft hier auch noch:Disk /dev/nand: 7700 MB, 7700742144 bytes
255 heads, 63 sectors/track, 936 cylinders, total 15040512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/nand doesn't contain a valid partition table
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 60.0 GB, 60022480896 bytes
81 heads, 63 sectors/track, 22973 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 2048 117231407 58614680 83 Linux
-------------------------------root@cubietruck:/opt/fhem/contrib/dblog# mount
/dev/root on / type ext4 (ro,noatime,nodiratime,errors=remount-ro,commit=600)
devtmpfs on /dev type devtmpfs (rw,relatime,size=1023328k,nr_inodes=181936,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=131072k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=131072k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/nand1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=1048576k)
Ich hoffe, ihr könnt mir weiter helfen. Bei weiteren Fragen, hoffe ich schnellstmöglich zu antworten, da es sich um ein Problem handelt, was ich möglichst schnell gelöst haben möchte.
Beste Grüße
Fabian