Seite 1 von 1

Festplatte läßt sich nicht formatieren nach erstinstallation

Verfasst: Di 7. Feb 2017, 22:51
von prodb
erst mal ein Hallo.
Ich habe heute zum ersten mal versucht Neutrino auf meine UFS922 zu installieren (bin nach eurem HOWTO vorgegangen)
Benutzt habe ich [BP-NMP-BETA]_ufs922_BASE-rev6348_HAL-rev589-exp-next_NMP-rev7421-exp-next

Konnte mit dem Stick erfolgreich flashen, Neutrino startet und Sender sind da. Hurra

Aber: Ich kann nichts aufnehmen oder Timesift aktiveren.
Festplatte wird im Menu erkannt SDA1 500GB (ist die original Platte)

Ich kann diese Formatieren wie ich will, EX2 EX3 usw. Es kommt keine Fehlermeldung, dauert aber immer nur Sekunden
Ich habe unter \HDD keine möglichkeit Verzeichnise anzulegen oder anlegen zu lassen, auch nicht per FTP.

Ich bin leider kein Linux Befehl crack. Gibt es einen Befehl dies in Telnet zu machen und dann auch zu prüfen, das die Platte richtig formatiert (partitioniert) ist?

Die Suche hier im Forum und in der Wiki blieb erfolglos.

Ach ja Telnet zeigt:

Code: Alles auswählen

fs922:~# mount && blkid
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
/dev/mtdblock3 on /var type jffs2 (rw,noatime,nodiratime)
/dev/mtdblock3 on /etc type jffs2 (rw,noatime,nodiratime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /ram type tmpfs (rw,relatime)
/dev/root on /dev.static type squashfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/mtdblock2: TYPE="squashfs"
/dev/ramzswap0: TYPE="swap"
vielen dank für eure Tipps

cu Prodb

Re: Festplatte läßt sich nicht formatieren nach erstinstalla

Verfasst: Di 7. Feb 2017, 23:29
von TangoCash
Bei der UFS922 ist die HDD immer sda.

Im Original ist sie mehrmals partitioniert.
Anschauen mit:

Code: Alles auswählen

sfdisk -l -x /dev/sda
Wenn du sie nur noch mit Neutrino nutzen willst, Vorsicht alles wird gelöscht dadurch! - und bitte vorm enter drücken 2x kontrollieren

Partitionieren:

Code: Alles auswählen

echo ';' | sfdisk /dev/sda -uM -L
Formatieren:

Code: Alles auswählen

mkfs.ext3 -F -L RECORD /dev/sda1
Danach die Box neu starten:

Code: Alles auswählen

init 6

Re: Festplatte läßt sich nicht formatieren nach erstinstalla

Verfasst: Mi 8. Feb 2017, 01:03
von BPanther
Allerdings zeigt nicht mal blkid eine sda an. Ich schätze mal, daß die HDD garnicht erst richtig/vollständig erkannt wird. Oder sie ist instabil, wenn 2.5" USB-HDD ohne externes Netzteil. Ich weiß nicht, wie sensibel da die 922 und wie stabil die USB-Spannung und wie gut die Stromstärke da ist, bei der 910 war ein externes Netzteil immer ratsam.

Re: Festplatte läßt sich nicht formatieren nach erstinstalla

Verfasst: Mi 8. Feb 2017, 07:41
von prodb
Danke, ich werde das heute abend mal versuchen.

Die Platte ist fest in der ufs922 eingebaut. 3.5 zoll. Mit original Image lief Sie immer. Wenn alle Daten weg sind ist es nicht schlimm.

Re: Festplatte läßt sich nicht formatieren nach erstinstalla

Verfasst: Mi 8. Feb 2017, 19:20
von prodb
Hi,
das wird angezeigt.

sfdisk -l -x /dev/sda

Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Units: cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sda1 0+ 60800 60801- 488384032 83 Linux
/dev/sda2 0 - 0 0 0 Empty
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 0 - 0 0 0 Empty

aber jetzt denke ich auch wo das Problem liegen könnte:

gebe ich ein:
mkfs.ext3 -F -L RECORD /dev/sda1

kommt der Fehler: mkfs.ext3: applet not found

kann es sein, das das Image einen Bug hat? die Datei mkfs.ex3 fehlt und deshalb auch das formatieren nicht klappt?

(gibt es die möglichkeit die datei per FTP auf die UFS922 zu kopieren, wenn ja, wo bekomme ich die her?)

danke für eure hilfe

Re: Festplatte läßt sich nicht formatieren nach erstinstalla

Verfasst: Mi 8. Feb 2017, 22:08
von DboxOldie
Mhhmm..
mkfs.ext3 ist eigentlich ein Symlink und sollte in /sbin vorhanden sein.
Versuch mal in Telnet: ls -al /sbin/mkfs.ext3
Das sollte den Sym anzeigen, und mit was verlinkt ist.

Re: Festplatte läßt sich nicht formatieren nach erstinstalla

Verfasst: Mi 8. Feb 2017, 22:39
von BPanther
Ich habe den Fehler gefunden, die Busybox hat ne Macke und es wurden 2 Optionen dort aktiviert die die eigentlichen "echten" Befehle überschrieben haben. Ich teste das mal eben schnell und wenn es läuft lasse ich über Nacht ein Image bauen mit gefixter BusyBox... Sorry...

EDIT: Test bestanden, der Neubau läuft dann in kürze an. Da leider bei der 922 so wie bei der 910 /sbin schreibgeschützt ist, muß man das komplette Image flashen. Bei den anderen würde ein Tausch der mke2fs reichen.

Re: Festplatte läßt sich nicht formatieren nach erstinstalla

Verfasst: Do 9. Feb 2017, 07:35
von prodb
Super, ich flash dann mal neu

Gesendet von meinem SM-G930F mit Tapatalk

Re: Festplatte läßt sich nicht formatieren nach erstinstalla

Verfasst: Do 9. Feb 2017, 22:51
von prodb
Hallo,
ich kann nur eins sagen, klasse :)
:hicks:

Neues Image geflasht und schon gehts. Formatierung unter Neutrino inc. den gesetzten Pfaden funktioniert.

Code: Alles auswählen

ufs922:~# mount && blkid
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
/dev/mtdblock3 on /var type jffs2 (rw,noatime,nodiratime)
/dev/mtdblock3 on /etc type jffs2 (rw,noatime,nodiratime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /ram type tmpfs (rw,relatime)
/dev/root on /dev.static type squashfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/sdb1 on /tmp/mnt/NOLABEL-sdb1 type vfat (rw,noatime,nodiratime,fmask=0022,d
mask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda1 on /hdd type ext3 (rw,relatime,errors=continue,user_xattr,data=writeba
ck)
/dev/sda1: LABEL="RECORD" UUID="6b2390f2-e6b0-40e9-a6f6-85c556f4beae" TYPE="ext3
"
/dev/mtdblock2: TYPE="squashfs"
/dev/ramzswap0: TYPE="swap"
Dann werd ich die Kathrein mal ein bisschen quälen.

danke und Cu
ProDB

Re: Festplatte läßt sich nicht formatieren nach erstinstalla

Verfasst: Do 9. Feb 2017, 23:17
von BPanther
Danke für die Rückmeldung. :drinking: