Persistently mount SD card?
#4
um, I think I need help. I was able to follow the mobian tweaks up until finding out the UUID:

Now that you have Mobian installed on the eMMC and a fresh sdcard inserted, power on the phone and launch the terminal. First, mount the sdcard by running
Code:
sudo mkdir /mnt/sdcard && sudo mount -t ext4 /dev/mmcblk0p1 /mnt/sdcard
. Then, copy the current contents of /home to it with
Code:
sudo cp -aR /home/* /mnt/sdcard/
. Then, unmount it from the temporary mountpoint with
Code:
sudo umount /mnt/sdcard
, and mount it at /home with
Code:
sudo mount -t ext4 /dev/mmcblk0p1 /home
. Finally, we will need to acquire the UUID of the sdcard and add an entry to fstab. Run
Code:
sudo blkid /dev/mmcblk0p1
to get the UUID, and then copy just the UUID (it will look like 1f255d6ae-1634-2aa4-172cfa15) and edit /etc/fstab with vim or nano (or whatever). Copy the first line, and paste it at the bottom of the file as a new third line. Then replace the UUID with what you copied from the output of blkid, and change the / to /home, and finally change the final 0 to a 2 (this will tell fsck to check it after the other entries). It should look like this:
Code:
UUID=a2c1f977-0405-4ae1-8169-639b8ae53e3b    /home    ext4    defaults    0    2


Here's where I got confused. Can I just add the third line by typing in the UUID I got from sudo blkid /dev/mmcblk0p1?
At the moment, it looks like the sd card is there. My storage Usage has a "Storage 1(the size of my 32G sd card) with a Home folder having 581 MB,, and Storage 2 (my internal memory) with Operating system of 5.1GB. 
I should not leave it as is, but I'm confused as to what the portions after each UUID should look like.
Please help!


Messages In This Thread
Persistently mount SD card? - by DarkManiels - 10-05-2020, 05:17 PM
RE: Persistently mount SD card? - by fernando_c_m - 10-06-2020, 04:00 AM
RE: Persistently mount SD card? - by DarkManiels - 11-08-2020, 01:45 PM
RE: Persistently mount SD card? - by HLing - 11-12-2020, 04:57 PM
RE: Persistently mount SD card? - by DarkManiels - 11-19-2020, 04:30 PM
RE: Persistently mount SD card? - by HLing - 11-21-2020, 08:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  APN settings not working with new operator SIM card user641 1 1,383 03-01-2023, 04:43 PM
Last Post: anonymous
  What does handle SD card automount? mdk 1 1,369 01-29-2023, 03:15 AM
Last Post: mdk
  New SD card won't auto-mount, will only mount as read-only 3x5co 3 2,333 07-16-2022, 02:28 PM
Last Post: dachalife
  Apps and SD Card biketool 2 2,349 03-06-2022, 09:47 AM
Last Post: biketool
  How to flash a µSD-Card with Balena Etcher walter1950 1 1,608 01-22-2022, 02:06 AM
Last Post: bcnaz
  How to insert a SIM-Card and/or a µSD-Card walter1950 0 1,152 01-21-2022, 02:46 PM
Last Post: walter1950
  When I set SD card as /home, PP can't complete boot nelstomlinson 4 3,505 12-27-2021, 03:06 PM
Last Post: nelstomlinson
  weird SIM card question RodneyMyers 4 5,521 10-16-2020, 01:47 PM
Last Post: ThrillGates
  Activating a sim card bcnaz 4 6,403 08-08-2020, 06:37 PM
Last Post: bcnaz
  Unable to mount exFAT file system jyc88 4 6,634 07-23-2020, 05:21 PM
Last Post: jyc88

Forum Jump:


Users browsing this thread: 1 Guest(s)