Beginners Guide: Migrating to SSD
#19
hi rontant, does this just directly change the file system at boot similar to how you would do it with fstab, but than by directly doing so at the most early stages of boot?
and do I need to add a automaounting script or will this automount it. further I wondered if I need to manually unmout the micro sd card after boot by adding a command to some init script, or is there a more easy way to tell this config to auto unmount the micro sd, or to mount it as read only? this is because the micro sd cards tend to fry themselves whenever there is a power outage if they are mounted in read mode, in a ssd this tends to just result in some corrupted data which often is fixable, but I preffer to not constantly replace the micro sd, it was fast enough for my case, but not durable which is why I wanted to switch it to ssd.

also why cp instead of dd? is it just a preference or does it have a technical reason such as a speed difference or such?

and thanks for this post. on the Pine a64+ there doesn't seem to be any normal way of booting from USB/ssd. otherwise I would likely have dd'd the os to the ssd and then after boot mounted everything to the USB to unmount the ssd after that.

on the pine a64+ with armbian(latest stable releas as of now),
sudo nano  /boot/efi/extlinux/extlinux.conf
is
sudo nano /boot/armbianEnv.txt
for anyone seeking how to do it there. it is most easy and secure to use
sudo lsblk -f
to find the uuid of your drive this way you can just copy paste it.
The rest is just the same, you reboot and the drive you set the UUID of will be used to boot.

as extension on my question above this it: I didn't see a mountpoint for the microsd, neither was anything mounted in /mnt or /media, so it seems like I won't need to manually unmount it. it did however show 2 zmem drives, so I have to check if the micro sd is not secretly still being used for swap memory, have to figure out how to check and potentially fix that it it actually still uses it as swap. but if it doesn't  and the micro sd is really not mounted or used anywhere except for at boot, then I won't need to do anything anymore and this was a much simpler tourney than expected.
  Reply


Messages In This Thread
Beginners Guide: Migrating to SSD - by rontant - 08-19-2017, 12:59 AM
RE: Beginners Guide: Migrating to SSD - by rmbusy - 10-29-2017, 10:56 PM
RE: Beginners Guide: Migrating to SSD - by Luke - 10-30-2017, 02:58 AM
RE: Beginners Guide: Migrating to SSD - by GaryLa - 01-23-2018, 02:41 PM
RE: Beginners Guide: Migrating to SSD - by Luke - 01-23-2018, 03:30 PM
RE: Beginners Guide: Migrating to SSD - by GaryLa - 01-23-2018, 05:54 PM
RE: Beginners Guide: Migrating to SSD - by Luke - 01-24-2018, 05:37 PM
RE: Beginners Guide: Migrating to SSD - by svyt22 - 01-28-2018, 04:40 AM
RE: Beginners Guide: Migrating to SSD - by Ellesar Dragon - 01-19-2022, 09:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information Beginners Guide: Adding USB Storage, Linux Formatting and Permissions Ptheven 4 12,223 03-06-2021, 01:49 PM
Last Post: helpmerock
  Step by step guide PXE diskless configuration. burglar_ot 13 35,640 11-01-2020, 11:26 PM
Last Post: michael.gruner
Thumbs Up A guide for how I made RetroPie, RetroArch, and EmulationStation Work on the Rock64 Mrfixit2001 4 16,029 12-17-2018, 03:52 AM
Last Post: va88
  Guide - XRDP - Debian Stretch / Ubuntu Xenial / OMV S3phi40T 3 13,962 05-05-2018, 06:08 AM
Last Post: S3phi40T
Information Guide - Raid Array (Raid 0) Ptheven 0 4,810 10-07-2017, 09:22 AM
Last Post: Ptheven
Information Guide - Setting up a NFS Share Ptheven 0 5,463 09-26-2017, 04:44 AM
Last Post: Ptheven
  Guide - Setting up a SMB(Windows) file server Ptheven 0 12,571 08-21-2017, 08:54 AM
Last Post: Ptheven
Information Beginners Guide: Locating your board, connecting to it. Ptheven 5 15,847 08-21-2017, 04:12 AM
Last Post: Ptheven

Forum Jump:


Users browsing this thread: 1 Guest(s)