[fli4l] fli4l-Dateisystem retten

Sebastian Klein fli4l at wysiwyng.de
Do Apr 20 08:19:54 CEST 2017


Moin moin,

Am 19.04.17 um 20:35 schrieb Matthias Taube:
> Am 18.04.2017 um 20:54 schrieb Matthias Taube:
> 
>> Gibt es noch eine Chance, den Fli im System zu retten oder hilft da nur
>> eine Neuinstallation?

kommt drauf an wie hinüber die Partition ist und ob es ein
physikalischer Fehler ist oder nur in den Daten...

> Ergänzende Information:
> 
> Nach einem reboot ist /data nicht gemountet.
> Allerdings kann ich /data nun von Hand r/w mounten, ob das dauerhaft
> hält glaube ich eher nicht.

aus der Ferne schlecht zu beurteilen...

> Ich wollte nun eine neue Installation vom USB-Stick auf eine neue
> SDHC-Karte vornehmen.
> 
> Nur wie bekomme ich einen USB-Stick bootfähig?
> 
>> ./mkfli4l.sh --hdinstallpath /media/mati/STICK3/ config-apu-boot
>> fli4l 4.0.0-r47703-testing - starting build process
> ...
>> --- trying to copy files to install
>> medium------------------------------------
>>    rc.cfg [OK]
>>    kernel [OK]
> ...
>> --- installing boot loader on
>> /dev/sdb----------------------------------------
>> If you really know what you're doing type YES
>> YES
>> 1+0 Datensätze ein
>> 1+0 Datensätze aus
>> 440 Bytes (440 B) kopiert, 0,00241266 s, 182 kB/s
>>
>> Welcome to fdisk (util-linux 2.25.2).
>> Changes will remain in memory only, until you decide to write them.
>> Be careful before using the write command.
>>
>>
>> Command (m for help): Selected partition 1
>> The bootable flag on partition 1 is disabled now.
>>
>> Command (m for help): 1: unknown command
>>
>> Command (m for help):
>> The partition table has been altered.
>> Calling ioctl() to re-read partition table.
>> Re-reading the partition table failed.: Das Gerät oder die Ressource
>> ist belegt
>>
>> The kernel still uses the old table. The new table will be used at the
>> next reboot or after you run partprobe(8) or kpartx(8).
> 
> Nach dieser Prozedur sind zwar die Daten auf dem Stick, aber die
> Partition ist nicht als bootfähig markiert und kein bootloader ist
> installiert.

richtig, denn beides hat er ja auch nicht kopiert/angelegt...

> Wenn ich den Stick von Hand als bootfähig markiere, erkennt die APU zwar
> den Stick, meckert aber das kein bootloader drauf ist.

siehe oben, das "von Hand" ist genau das was du noch machen mußt:

also Bootflag setzen (hast du ja bereits)
und nen bootloader drauf schieben im Fall von fli4l syslinux.
Siehe dazu auch die Doku:
http://www.fli4l.de/fileadmin/doc/deutsch/html/fli4l-3.10.9/node48.html

-- 
Grüße,
Sebastian
[fli4l-team]



Mehr Informationen über die Mailingliste Fli4L