1

do you know why i can't transfer some files downloaded in the Raspbian to Lakka (or another OS) instaled in a SD card with berryboot?

I tried to move some roms / files from a folder when i was logged in the Raspbian to another folder in the Lakka OS, but it does look that there are no folders in common.

I can't see why, because they are in the same partition.

What can i do to solve this?

Thank you in advance!

  • Welcome -- but since you have not said how you are trying to transfer them, no can say they are (not) surprised it doesn't work and explain the problem. Please edit the specifics into the question above. – goldilocks Mar 18 at 12:06
  • Thank you, goldilocks. Already edited – Charden Mar 18 at 16:56
1

I'm not a berryboot user, but if you have two root fs partitions on the card, probably only one of them will be mounted when that OS boots.

This may be a bit confusing because in a GUI environment, adding (=mounting) devices (such as a USB drive) is done automatically when those are plugged in, probably including when they are already plugged in at boot time. However, unless explicitly configured otherwise, partitions on the SD card will be ignored. For example, usually on the Pi the boot partition is configured to be mounted, even though it is not used except for updating the contents (kernel, firmware, etc).

To see what partitions are available on the card:

ls /dev | grep mmcblk0

You have (at least) three; mmcblk0p1 is the boot partition, the other two are root fs partitions (berryboot may also require a small one for its purposes). To see which are mounted:

mount | grep mmcblk0

To mount one that isn't:

sudo mkdir /mnt/whatever
sudo mount /dev/mmcblk0p2 /mnt/whatever

The /mnt/whatever directory (you don't have to use that path) should now contain the contents of the partition.

To make that happen automatically at boot, add a line to /etc/fstab:

/dev/mmcblk0p2   /mnt/whatever   ext4  defaults,noatime 0 3

The filesystem type (ext4) is a presumption; there should be oodles more stuff about fstab online.

| improve this answer | |
  • Thank you, goldilocks! It worked flawlessly! – Charden Apr 15 at 22:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.