Ich bin ja grad dabei ein Linux from scratch für ein ARM9 board zu
compilieren. Das Problem ist nun das root fs. Mit ubifs wurde das rootfs
überhaupt nicht gemountet. (wahrscheinlich ein Problem beim Erstellen
des Image) Mit jffs2 scheint es teilweise zu gehen. Die fstab wird
offenbar gelesen aber es kommt der Fehler "mounting /dev/mtdblock5 on /
failed: No such file or directory". Die Ausgabe "VFS: Mounted root
(jffs2 filesystem) on device 31:5" deutet doch aber darauf hin, das das
rootfs gemounted wurde. Trotzdem steht in jeder fstab, die ich bis jetzt
gesehen habe, nochmal ein mount rootfs drin. Und das schlägt aber fehl.
(es geht mit rootfs statt /dev/mtdblock5 auch nicht) Muss das rootfs
nochmal in der fstab stehen?
1 | [ 7.380000] VFS: Mounted root (jffs2 filesystem) on device 31:5.<\r><\n>
|
2 | [ 7.390000] devtmpfs: mounted<\r><\n>
|
3 | [ 7.390000] Freeing init memory: 132K<\r><\n>
|
4 | mount: mounting /dev/mtdblock5 on / failed: No such file or directory<\r><\n>
|
5 | mount: mounting devpts on /dev/pts failed: No such file or directory<\r><\n>
|
6 | mount: mounting shm on /dev/shm failed: No such file or directory<\r><\n>
|
7 | mount: mounting usbfs on /proc/bus/usb failed: No such file or directory<\r><\n>
|
8 | mount: mounting tmpfs on /var/run failed: No such file or directory<\r><\n>
|
9 | mount: mounting tmpfs on /var/lock failed: No such file or directory<\r><\n>
|
10 | mount: mounting tmpfs on /var/log failed: No such file or directory<\r><\n>
|
11 | mount: mounting proc on /proc failed: Device or resource busy<\r><\n>
|
12 | mount: can't find /sys in /etc/fstab<\r><\n>
|
13 | mdev: /sys/class: No such file or directory<\r><\n>
|
14 | <\r>can't open /dev/tty1: No such file or directory<\r><\n>
|
15 | <\r>can't open /dev/tty2: No such file or directory<\r><\n>
|
/etc/fstab:
1 | /dev/mtdblock5 / auto defaults,noatime 1 1
|
2 |
|
3 | proc /proc proc defaults 0 0
|
4 | tmpfs /tmp tmpfs defaults,relatime,mode=0755 0 0
|
5 | tmpfs /var tmpfs defaults,relatime,mode=0755 0 0
|
6 | tmpfs /dev tmpfs defaults,relatime,mode=0755 0 0
|
7 |
|
8 | devpts /dev/pts devpts gid=4,mode=620 0 0
|
9 | shm /dev/shm tmpfs defaults 0 0
|
10 | usbfs /proc/bus/usb usbfs defaults 0 0
|
11 | tmpfs /var/run tmpfs defaults,relatime,mode=1777 0 0
|
12 | tmpfs /var/lock tmpfs defaults,relatime,mode=1777 0 0
|
13 | tmpfs /var/log tmpfs defaults,relatime,mode=1777 0 0
|