Mount internal flash from external images and flash new image ?!!

  • How can mount the internal flash from image on external flash by multiboot such as BarryAllen ?!

    Code
    root@dm920:~# cat /proc/cmdline | grep "root=" | awk -F "root=" '{print $2}' | cut -d " " -f1
    /dev/mmcblk0p2
    root@dm920:~# umount -l /dev/mmcblk0p2
    umount: can't unmount /dev/mmcblk0p2: Invalid argument
    root@dm920:~# mount -t ext4 -o rw /dev/mmcblk0p2 /mnt
    mount: mounting /dev/mmcblk0p2 on /mnt failed: Device or resource busy

    And Then .. Is this correct command to Flash new image by telnet command ?!!

    Code
    xz -d -c /media/hdd/backup/image.tar.xz > /mnt
    flash-kernel /mnt/boot/zImage*dm920
    
    sync
    umount -l /mnt
    
    reboot

    Thank you

  • fairbird

    Hat den Titel des Themas von „Mount internal flash from external images ?!!“ zu „Mount internal flash from external images and flash new image ?!!“ geändert.
  • If you would know how chroot booting works, you would NOT have such idiotic ideas.


    Sorry für the hard words, but there is a good reason why BA doesn't allow that way of flashing!

  • Really don't know what to say? !!!

    My question is very simple ... and it does not need this childish response ...


    From the etiquette of talking when a person has an answer for help. He should be to provides it, or else he remains silent ... Your answers are always mystres and a childish answers, and you want to monopolize everything for yourself ...


    Ok, you do not want to help, there is no problem .. Leave the topic to others and do not put useless response that only to reflects the state of your psyche ....


    :thinking_face:

  • Look, if you ask for advice on how to change the tyres of a car while the car ist driving:


    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.