Home Wiki > openSUSE:Install to internal memory
Sign up | Login

openSUSE:Install to internal memory

tagline: From openSUSE

Some ARM boards have internal memory, such as eMMC for HCL:BeagleBone_Black. If your openSUSE image is compatible with your internal memory (supported by the bootloader (U-Boot) and Linux kernel) you can follow this HOW-TO (tested on a Beaglebone black).

The steps are the following:

  1. Boot the board from external storage (such as SD), or from network, or whatever
  2. Copy (dd) openSUSE *.raw image to the internal storage

Boot from external storage

The easiest way is to boot openSUSE image from SD card, as usual. Then test if your internal storage is working from u-boot and Linux.

Copy (dd) openSUSE *.raw image to the internal storage

Once booted, you can dd the openSUSE *.raw image file to your internal memory.

The openSUSE *.raw image file can be stored on the SD card or on a remote storage/computer.

For openSUSE-XXX.raw file stored on SD card

 dd if=openSUSE-XXX.raw of=/dev/XXX bs=8M
 sync

Replace:

  • openSUSE-XXX.raw by the full image name
  • /dev/XXX by your internal memory device (generally /dev/mmcblkX or /dev/sdaX)


For openSUSE-XXX.raw file stored on a remote storage: command executed from remote storage/computer

 dd if=openSUSE-XXX.raw | ssh root@192.168.0.10 dd of=/dev/XXX bs=8M
 sync

Replace:

  • openSUSE-XXX.raw by the full image name
  • /dev/XXX by your internal memory device (generally /dev/mmcblkX or /dev/sdaX)
  • 192.168.0.10 by IP address of the ARM board.


For openSUSE-XXX.raw file stored on a remote storage: command executed from ARM board

 ssh username@192.168.0.10 "dd if=openSUSE-XXX.raw" | dd of=/dev/XXX bs=8M
 sync

Replace:

  • openSUSE-XXX.raw by the full image name
  • /dev/XXX by your internal memory device (generally /dev/mmcblkX or /dev/sdaX)
  • username by the user name to use to connect to remote storage/computer
  • 192.168.0.10 by IP address of the remote storage/computer


Once done, just reboot your board to boot on internal memory. openSUSE will repartition the internal memory on 1st boot as done on SD cards.