We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2019-02-11 04:51:12 +0200

Mount Sailfish System and SD Card on Android

I would like to have a really nice file manager on Sailfish, but right now it's a waiting game. In the meantime, many things can be accomplished mounting Sailfish root system onto Android storage, so you can use some really good Android file manager, (like my favorite, Mixplorer), to browse, copy/paste, etc., your Sailfish system and sd card.

For Sailfish root directory, (assuming you made a new folder in /home/nemo/android_storage called 'Mnt', and you're using terminal with root): mount --bind / /home/nemo/android _storage/Mnt

For sd card, (assuming you made a new folder in /home/nemo/android_storage called 'sd', and you're using terminal with root, and your sd card is named '688E-0FE4', [which it won't be - you'll have to change that part to match the name of yours]): mount --bind /run/media/nemo/688E -0FE4 /home/nemo/android_storage/sd

Done. (You'll have to do it after each reboot, unless you know how to write a startup script for it, [I don't])

image description

[How-to] Mount Sailfish System and SD Card on Android

I would like to have a really nice file manager on Sailfish, but right now it's a waiting game. In the meantime, many things can be accomplished mounting Sailfish root system onto Android storage, so you can use some really good Android file manager, (like my favorite, Mixplorer), to browse, copy/paste, etc., your Sailfish system and sd card.

For Sailfish root directory, (assuming you made a new folder in /home/nemo/android_storage called 'Mnt', and you're using terminal with root): mount --bind / /home/nemo/android _storage/Mnt

For sd card, (assuming you made a new folder in /home/nemo/android_storage called 'sd', and you're using terminal with root, and your sd card is named '688E-0FE4', [which it won't be - you'll have to change that part to match the name of yours]): mount --bind /run/media/nemo/688E -0FE4 /home/nemo/android_storage/sd

Done. (You'll have to do it after each reboot, unless you know how to write a startup script for it, [I don't])

image description

[How-to] Mount Sailfish System and SD Card on Android

I would like to have a really nice file manager on Sailfish, but right now it's a waiting game. In the meantime, many things can be accomplished mounting Sailfish root system onto Android storage, so you can use some really good Android file manager, (like my favorite, Mixplorer), to browse, copy/paste, etc., your Sailfish system and sd card.

For Sailfish root directory, (assuming you made a new folder in /home/nemo/android_storage called 'Mnt', and you're using terminal with root): mount --bind / /home/nemo/android _storage/Mnt

For sd card, (assuming you made a new folder in /home/nemo/android_storage called 'sd', and you're using terminal with root, and your sd card is named '688E-0FE4', [which it won't be - you'll have to change that part to match the name of yours]): mount --bind /run/media/nemo/688E -0FE4 /home/nemo/android_storage/sd

Done. (You'll have to do it after each reboot, unless you know how to write a startup script for it, [I don't])

image description

[How-to] Mount Sailfish System and SD Card on Android

I would like to have a really nice file manager on Sailfish, but right now it's a waiting game. In the meantime, many things can be accomplished mounting Sailfish root system onto Android storage, so you can use some really good Android file manager, (like my favorite, Mixplorer), to browse, copy/paste, etc., your Sailfish system and sd card.

For Sailfish root directory, (assuming you made a new folder in /home/nemo/android_storage called 'Mnt', and you're using terminal with root): mount --bind / /home/nemo/android _storage/Mnt

For sd card, (assuming you made a new folder in /home/nemo/android_storage called 'sd', and you're using terminal with root, and your sd card is named '688E-0FE4', [which it won't be - you'll have to change that part to match the name of yours]): mount --bind /run/media/nemo/688E -0FE4 /home/nemo/android_storage/sd

Done. (You'll have to do it after each reboot, unless you know how to write a startup script for it, [I don't])

Update - I got mount-at-boot working with cron, thanks to help from @ade.

  • create a script with the commands above, and copy to /usr/local/bin, (or somewhere - that's just where I put it), and set permissions 0755
  • install vixie-cron from Openrepos, open yerminal with root, and type crontab -e A vim window will open with a blank documemt. type @reboot sleep 30;/usr/local/bin/(script).sh
  • save and quit. Folders will be mounted on reboot

image description