norayr
|
2015-09-29
, 11:20
|
|
Posts: 148 |
Thanked: 216 times |
Joined on Jul 2010
@ Yerevan
|
#101
|
|
2015-10-23
, 21:26
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#102
|
[Unit] Description=Handle custom sdcard Before=aliendalvik.service Requires=local-fs.target After=local-fs.target RequiresMountsFor=/home [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/mount-sd.custom.sh add ExecStop=/usr/sbin/mount-sd.custom.sh remove [Install] WantedBy=local-fs.target aliendalvik.service
#!/bin/bash ACTION=$1 if [ "$ACTION" = "add" ]; then mount /dev/mmcblk1p1 /mnt/sd mount --rbind /mnt/sd/.home /home/nemo else umount /home/nemo umount /mnt/sd fi
[Unit] Description=mount android stuff to sdcard After=alien-service-manager.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/mount-android.custom.sh add %i ExecStop=/usr/sbin/mount-android.custom.sh remove %i [Install] WantedBy=graphical.target aliendalvik.service
#!/bin/bash ACTION=$1 if [ "$ACTION" = "add" ]; then mount -o bind /mnt/sd/.android/media /data/media mount -o bind /mnt/sd/.android/data/com.whatsapp /data/data/com.whatsapp mount -o bind /mnt/sd/.home /opt/alien/home/nemo else umount /opt/alien/home/nemo umount /data/data/com.whatsapp umount /data/media fi
The Following User Says Thank You to Leinad For This Useful Post: | ||
|
2016-02-14
, 20:40
|
Posts: 83 |
Thanked: 91 times |
Joined on Nov 2015
@ NIgeria
|
#103
|
|
2016-02-19
, 12:09
|
Posts: 83 |
Thanked: 91 times |
Joined on Nov 2015
@ NIgeria
|
#104
|
|
2016-02-19
, 12:17
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#105
|
|
2016-02-19
, 12:34
|
Posts: 83 |
Thanked: 91 times |
Joined on Nov 2015
@ NIgeria
|
#106
|
Hi!
Sorry you feel neglected, maybe people have just not noticed your question.
I'd suggest you format your sd card as ext4, btrfs works of course too but might be an overkill (and regarding the fact that some people have all kinds of problems with their root as btrfs mit might be better for stability to have it as ext4fs...)
As for your partitions, if you don't have mmcblk1p1 what does your card show up as?
The Following User Says Thank You to dameceno For This Useful Post: | ||
|
2016-02-19
, 13:40
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#107
|
|
2016-02-19
, 14:06
|
Posts: 83 |
Thanked: 91 times |
Joined on Nov 2015
@ NIgeria
|
#108
|
OK, so I think you have managed to partition the sdcard so that it is not recognized correctly.
What does the command "sfdisk --json /dev/mmcblk1" output?
(you need to run it as devel-su)
The Following User Says Thank You to dameceno For This Useful Post: | ||
|
2016-02-19
, 16:30
|
Posts: 83 |
Thanked: 91 times |
Joined on Nov 2015
@ NIgeria
|
#109
|
The Following User Says Thank You to dameceno For This Useful Post: | ||
|
2016-02-19
, 17:04
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#110
|
[root@Jolla nemo]# sfdisk /dev/mmcblk1
Checking that no-one is using this disk right now ...
BLKRRPART: Succès
OK
Disk /dev/mmcblk1: 3902128 cylinders, 4 heads, 16 sectors/t
rack
sfdisk: /dev/mmcblk1: unrecognized partition table type
Old situation:
sfdisk: No partitions found