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
  weird SIM card question RodneyMyers 4 1,633 10-16-2020, 01:47 PM
Last Post: ThrillGates
  Activating a sim card bcnaz 4 2,064 08-08-2020, 06:37 PM
Last Post: bcnaz
  Unable to mount exFAT file system jyc88 4 2,192 07-23-2020, 05:21 PM
Last Post: jyc88
  How to mount an SD card? gizmuth 4 1,943 07-15-2020, 06:41 AM
Last Post: a-wai

Forum Jump:


Users browsing this thread: 1 Guest(s)