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

    Changed the title of the thread from “Mount internal flash from external images ?!!” to “Mount internal flash from external images and flash new image ?!!”.
  • 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!

    Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.

  • 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 ....


    :/

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


    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.